Periodic anomalies occur when using MPI for optimization within the Simsopt framework. #117
-
Using an M1 MacBookpro with the Conda-managed vmecpp environment, I modified the QH optimization script from the examples in Simsopt-1.8.3.dev8+g4f263c82to perform a two-period QA optimization and added an iota target (which does not fundamentally alter the structure).
Then I modified the script (e.g., changing the iota target value). When running the script again immediately after modification, I encountered the following error: (Error message follows…)
After that, I started writing this issue to report the above error, which took about four minutes.
This issue does not occur if the script is not launched using mpirun. Has this issue occurred in other tests, or is it due to a problem with the local system environment? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @DMCXE , thank you for reaching out! this is not a known issue. If I had to guess it's a race condition between the different processes which apparently try to remove the same file. I'm creating an issue to track this and we'll take a look as soon as possible. |
Beta Was this translation helpful? Give feedback.
@DMCXE the patch is in. please try out VMEC++ with the latest main branch and let us know whether you still encounter similar problems!