You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before submitting a bug report, read the error messages in MATLAB. Some errors are there to inform you about inconsistent inputs for certain settings.
Describe the bug
When using jobs to run multiple simulations simultaneously, it can happen that two simulations start at approximately the same time which leads to a non-unique name for the saved files.
To Reproduce
Steps to reproduce the behavior:
The risk of this happening is present when running any simulations in parallel using the PredSim code (last commit d294d85)
Log file
The log files will tell us what the error is, and where it occurred.
When running main.m, you can find a log file of each simulation in the folder S.subject.save_folder. The name of this file ends with _log.txt. If there is no log file, copy the MATLAB command window to a .txt file and attach that instead.
If you run main.m and encountered an error before seeing "...PreProcessing done. Time elapsed ** s" in the MATLAB command window, we need more detailed logs. Set S.OpenSimADOptions.verbose_mode = true; and run again. This will not solve your problem, but the new log file will give us more information.
Software versions
Windows 10
MATLAB ...
OpenSim ...
CasADi ...
Microsoft Visual Studio ...
CMake ...
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
It seems that even though jobs have a different CreateDateTime and SubmitDateTime the StartDateTime - and therefore the datetime filename - can be the same.
I was able to trigger this 'bug' by starting 2 predsims right after each other on two workers. I could also trigger it by having two jobs queued and then canceling the two previous jobs right after each other. Triggering the bug did not always work.
No clear idea yet why this happens and why this does not always happens.
Before submitting a bug report, read the error messages in MATLAB. Some errors are there to inform you about inconsistent inputs for certain settings.
Describe the bug
When using jobs to run multiple simulations simultaneously, it can happen that two simulations start at approximately the same time which leads to a non-unique name for the saved files.
To Reproduce
Steps to reproduce the behavior:
The risk of this happening is present when running any simulations in parallel using the PredSim code (last commit d294d85)
Log file
The log files will tell us what the error is, and where it occurred.
When running main.m, you can find a log file of each simulation in the folder
S.subject.save_folder
. The name of this file ends with_log.txt
. If there is no log file, copy the MATLAB command window to a .txt file and attach that instead.If you run main.m and encountered an error before seeing "...PreProcessing done. Time elapsed ** s" in the MATLAB command window, we need more detailed logs. Set
S.OpenSimADOptions.verbose_mode = true;
and run again. This will not solve your problem, but the new log file will give us more information.Software versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: