This is with regards to using some modules of python which were compiled with icc but python itself was compiled with gcc 4.8.2. When I tried to import this module into python I get this linking error below. Do I need to rebuild python with icc if I have python modules built with icc ?
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pygrib.pyx", line 212, in init pygrib (pygrib.c:29700)
ctypedef extern class numpy.ndarray [object PyArrayObject]:
from . import add_newdocs
from numpy.lib import add_newdoc
from .type_check import *
import numpy.core.numeric as _nx
from . import multiarray
__intel_sse2_strrchr is defined in libirc.so. Please check if multiarray.so has a dependency on libirc.so with the following command.
$ ldd /usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so
When I run that command ldd I get this output. Please help me to interpret what that means.
linux-vdso.so.1 => (0x00007fff331fe000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc5a9186000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc5a8dbf000)