-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AT does not compile with OpenMP=1 #592
Comments
In fact adding rng to the shared variables allows to compile correctly, I have not tested if it runs... |
The I'm looking at that. |
Update: the test is done looking at the energy loss over one turn of S28F, with 1000 particles and The results are in excellent agreement without OpenMP and differ by ~10% with OpenMP |
Results without OpenMPHere is the notebook used for the test (remove the .txt extension): |
Results with OpenMP:I do not understand what may happen with the random generator… It would be interesting to do the same test with MPI. For the time being, it seems necessary to disable OpenMP for the 2 passmethods |
Yes I agree, it has to be disabled. I will check that results are correct with MPI |
The C code including random number (QuantdiffPass, *QuantPass, etc...) generation does not compile anymore if OpenMP is activate below the error:
It looks like the random generator has to be added to the shared variables. @lfarv do you confirm?
The text was updated successfully, but these errors were encountered: