sa2c / thirring-rhmc

For Simon Hands' 3D Thirring Model LFT simulation code.
0 stars 1 forks source link

Creation of `comms.mod` is non-deterministic? #3

Open chillenzer opened 1 year ago

chillenzer commented 1 year ago

Hi, I'm playing around with the code again and found that quite regularly compilation via make fails due to

Fatal Error: Cannot open module file 'comms.mod' for reading at (1): No such file or directory

which -- when I look this up -- is correct, i.e. the file is indeed missing. Retrying again usually fails but retrying a few times (maybe sprinkling in some make cleans here and there) seems to do the trick and sooner or later it seems to work out just fine. What's going on there? And more importantly: Any ideas how to fix this?

edbennett commented 1 year ago

Looks like an oversight in MkRulesdirac.F90 depends on comms.mod (i.e. it contains use comms), but this dependency is missing in MkRules at line 132.

chillenzer commented 1 year ago

Thanks for the hint. Should've spotted that myself but in a new code base... BTW, I found a few more of these. Now, it's compiling like a charm except for #4 .