Let me preface this by saying that I have successfully used mpi4py on another cluster.
I am trying to get all my packages to work properly, but mpi4py seems to hate me. The C compiler is packaged into cc and the C++ compiler is CC. The system has an implementation of MPI called MPT, and I can get MPI programs successfully running in C using the cc compiler.
When I install mpi4py from source, I change mpicc = cc and mpixx = CC. I then do:
The install seems to be fine, but there are a number of failures, mostly in not finding mpe and vt-* libraries. I think this is OK, however, since most of the other checks are successful. I have attached a log of the build.
After installing, When I try to do
Additionally, when I try to run a MPI program as a job from the compute nodes, I get this:
aprun -n 12 python testmpi.py
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
Traceback (most recent call last):
File "testmpi.py", line 1, in <module>
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
I am positive that libgfortran is in LD_LIBRARY_PATH as I have included the dir where it is to that variable, as well as copied and symlinked properly in a directory which I know works.
I have been tearing out my hair all day trying to figure this out. Can anyone help me?