Closed daringli closed 15 hours ago
I just had exactly this same issue with a separate project, so can comment. mpi4py recently released version 4.0, and the problem started then. Forcing mpi4py<4 when pip-installing mpi4py in the Dockerfile resolves the problem. I notified NERSC of the issue.
Resolved by #456
Possibly related to issue #395.
On 'latest', when importing mpi4py, I get the following fatal error
This occurs in optimization scripts, but also in a minimal working example consisting solely of
from mpi4py import MPI
when called from a job script:where 'test.py' just contains
from mpi4py import MPI
. I've attached the needed files in a zip (although you'd need to edit the 'account' field in the job script to run it).The error does not occur with
image=hiddensymmetries/simsopt:v1.6.4
.Zip with minimal example: test_MPI_shifter.zip