JavaFMI in multithreaded environment: identical names for temporal folders

Issue #111 resolved
Mathieu Schumann created an issue

Hi! We identified an issue when using JavaFMI in an HPC environment.

When using JavaFMI in a multithreaded environment, two different processes will try to generate a folder of the same name, as it is suffixed with the current time. This will cause errors and prevent the HPC simulation to be initiated.

Best,

  • Mathieu

Comments (5)

  1. Jose Evora

    Hi Mathieu,

    Find attached an ad-hoc version which generates folder names using an UUID random generator. Let’s us know if it works for your problem. We can release a new version with this fix.

    Best,

  2. Jose Evora

    That is great news. We will prepare a release including this change. In the meantime, you can operate with the RC version given to you. Thanks for the testing

  3. Log in to comment