Opened 13 years ago
Closed 13 years ago
#31675 closed defect (fixed)
Problems finding symbols in mpi4py
Reported by: | ask@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | py27-mpi4py |
Description
I have problems getting mpi4py to work in macports
$ port installed | grep -i mpi mpich2 @1.4.1p1_0 (active) py27-mpi4py @1.2.2_1 (active)
I get the following error when importing
$ /opt/local/bin/mpirun -n 1 python test.py Traceback (most recent call last): File "test.py", line 72, in <module> from mpi4py import MPI ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py/MPI.so, 2): Symbol not found: _MPI_Type_create_f90_complex Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py/MPI.so Expected in: flat namespace in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py/MPI.so
Change History (2)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to adfernandes@… |
---|---|
Port: | py27-mpi4py added |
comment:2 Changed 13 years ago by adfernandes (Andrew Fernandes)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I cannot install nor test
mpich2
because all my tools areopenmpi
-related.My understanding is that
mpich2
is deprecated these days in favour ofopenmpi
.Can you uninstall
mpich2
and upgrade yourmpi4py
? It should useopenmpi
by default now.r86243 and r86244