Closed mancellin closed 1 year ago
The same seems to hold in your CI tests : https://github.com/mancellin/HAMS/pull/1 The code compiles and runs fine but the output does not seem right when the number of threads is higher than 1.
Dear Matthieu,
Really sorry that I haven't responded promptly to your request. And I do appreciate your contribution to finding the error and solving the issue. Your commits are all accepted. Thank you.
Best regards, Yingyi
I'm having issues compiling and testing HAMS on my machine (Ubuntu 20.04 with gfortran 9.4).
When I download, compile and run the code as follow
I get different results on each run of
../../SourceCode/hams
.For instance in
Output/Hams_format/OAMASS1.txt
, I haveon one run and then
on the next.
It might be a multi-threading issue: when I fix the number of threads to 1 in the
ControlFile.ini
, then I get repeatable results that match the reference data.