madsbk / distnumpy

Automatically exported from code.google.com/p/distnumpy
http://www.bh107.org
0 stars 1 forks source link

Using the MPI-2 library: OpenMPI #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiling NumPy with OpenMPI 1.3.3.
2. import numpy (distnumpy).

Results in the following error:
{{{
python: symbol lookup error: /usr/local/lib/openmpi/mca_paffinity_linux.so:
undefined symbol: mca_base_param_reg_int
}}}

It can be fixed by importing the shared library manually in Python like:
{{{
import ctypes
ctypes.CDLL('libmpi.so.0', ctypes.RTLD_GLOBAL)
}}}

OpenMPI has a thread about the issue her:
http://www.open-mpi.org/community/lists/devel/2005/09/0359.php

Original issue reported on code.google.com by madsbk on 21 Sep 2009 at 4:19

GoogleCodeExporter commented 9 years ago
The fix this problem compile OpenMPI with dlopen disabled: 
./configure --disable-dlopen
make all install

Original comment by madsbk on 27 Aug 2010 at 1:11