[mpich-discuss] mpich2 installation problem

Dave Goodell goodell at mcs.anl.gov
Tue Jul 20 13:16:38 CDT 2010


On Jul 19, 2010, at 7:48 PM CDT, Ann Irvine wrote:

> I further think there is a problem with the MPI installation because
> upon installing mpi4py, I am having problems importing MPI in a python
> script. There, I receive the error in 3 (below).
[...]
> ***************3****************
>  File "demo/helloworld.py", line 6, in <module>
>    from mpi4py import MPI
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so,
> 2): Symbol not found: _MPI_Dist_graph_create
>  Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so
>  Expected in: flat namespace
> in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpi4py-1.2.1-py2.7-macosx-10.5-fat3.egg/mpi4py/MPI.so

I'm not sure what is causing this issue.  I would contact the mpi4py developers and see if they have any suggestions.  It's some sort of dynamic linking issue, but it's hard to say from this output whether it's on the python side or the MPICH2 side of the equation.

-Dave




More information about the mpich-discuss mailing list