Note that there are some explanatory texts on larger screens.

plurals
  1. POboost mpi python: undefined symbol: _ZN5boost3mpi5timer14time_is_globalEv
    primarykey
    data
    text
    <p>I inherited a large python system that uses the boost mpi for python. So I've built boost 1.52 from source, including both the mpi and python components.</p> <p>And I've built the boost mpi for python 1.38.0.1 from <a href="http://mathema.tician.de/software/boostmpi" rel="nofollow">http://mathema.tician.de/software/boostmpi</a>. I realize there are newer libraries (mpi4py), but the software I inherited uses boost mpi.</p> <p>When I attempt to use it I get ...</p> <pre><code>$ python Python 2.7.3 (default, Jan 4 2013, 14:54:17) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import boostmpi Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/projects/nrel/cid/lada.2013/pkgi/lib/python2.7/site-packages/boostmpi-1.38.0.1-py2.7-linux-x86_64.egg/boostmpi/__init__.py", line 7, in &lt;module&gt; from boostmpi._internal import * ImportError: /projects/nrel/cid/lada.2013/pkgi/lib/python2.7/site-packages/boostmpi-1.38.0.1-py2.7-linux-x86_64.egg/boostmpi/_internal.so: undefined symbol: _ZN5boost3mpi5timer14time_is_globalEv &gt;&gt;&gt; from boostmpi._internal import * Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/projects/nrel/cid/lada.2013/pkgi/lib/python2.7/site-packages/boostmpi-1.38.0.1-py2.7-linux-x86_64.egg/boostmpi/__init__.py", line 7, in &lt;module&gt; from boostmpi._internal import * ImportError: /projects/nrel/cid/lada.2013/pkgi/lib/python2.7/site-packages/boostmpi-1.38.0.1-py2.7-linux-x86_64.egg/boostmpi/_internal.so: undefined symbol: _ZN5boost3mpi5timer14time_is_globalEv </code></pre> <p>How can I fix this?</p> <p>Testing with ldd:</p> <pre><code>$ ldd /projects/nrel/cid/lada.2013/pkgi/lib/python2.7/site-packages/boostmpi-1.38.0.1-py2.7-linux-x86_64.egg/boostmpi/_internal.so libboost_python.so.1.52.0 =&gt; /projects/nrel/cid/lada.2013/pkgi/lib/libboost_python.so.1.52.0 (0x00002b0e45542000) libmpi_cxx.so.0 =&gt; /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libmpi_cxx.so.0 (0x00002b0e45795000) libmpi.so.0 =&gt; /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libmpi.so.0 (0x00002b0e459bb000) libopen-rte.so.0 =&gt; /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libopen-rte.so.0 (0x00002b0e45e94000) libopen-pal.so.0 =&gt; /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libopen-pal.so.0 (0x00002b0e46162000) librdmacm.so.1 =&gt; /usr/lib64/librdmacm.so.1 (0x00002b0e463ef000) libibverbs.so.1 =&gt; /usr/lib64/libibverbs.so.1 (0x00002b0e465f5000) libpsm_infinipath.so.1 =&gt; /usr/lib64/libpsm_infinipath.so.1 (0x00002b0e46802000) libnuma.so.1 =&gt; /usr/lib64/libnuma.so.1 (0x00002b0e46a4c000) libdl.so.2 =&gt; /lib64/libdl.so.2 (0x00002b0e46c6a000) libnsl.so.1 =&gt; /lib64/libnsl.so.1 (0x00002b0e46e6e000) libutil.so.1 =&gt; /lib64/libutil.so.1 (0x00002b0e47086000) libmpi_f77.so.0 =&gt; /apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr/lib/libmpi_f77.so.0 (0x00002b0e4728a000) libimf.so =&gt; /projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/lib/intel64/libimf.so (0x00002b0e474cb000) libm.so.6 =&gt; /lib64/libm.so.6 (0x00002b0e4785d000) libsvml.so =&gt; /projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/lib/intel64/libsvml.so (0x00002b0e47ae1000) libstdc++.so.6 =&gt; /usr/lib64/libstdc++.so.6 (0x00002b0e47cf7000) libgcc_s.so.1 =&gt; /lib64/libgcc_s.so.1 (0x00002b0e47ff7000) libintlc.so.5 =&gt; /projects/global/x86_64/compilers/intel/intel-11.1-cproc-064/lib/intel64/libintlc.so.5 (0x00002b0e48206000) libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00002b0e48343000) libc.so.6 =&gt; /lib64/libc.so.6 (0x00002b0e4855e000) librt.so.1 =&gt; /lib64/librt.so.1 (0x00002b0e488b7000) libinfinipath.so.4 =&gt; /usr/lib64/libinfinipath.so.4 (0x00002b0e48ac0000) /lib64/ld-linux-x86-64.so.2 (0x00002b0e45021000) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload