Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Moritz_S_
Beginner
80 Views

NumPy problem

Hello everyone,

after following the "official" guide to compiling numpy with mkl: Numpy user note
I still cannot use numpy. When I run:

[bash]python2.6 -c "import numpy;numpy.test()"
[/bash]
I get:
[python]Traceback (most recent call last):
File "", line 1, in
File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/__init__.py", line 137, in
import add_newdocs
File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in
from numpy.lib import add_newdoc
File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in
from type_check import *
File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in
import numpy.core.numeric as _nx
File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/__init__.py", line 5, in
import multiarray
ImportError: /usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/multiarray.so: undefined symbol: __intel_sse2_strlen[/python]
LD_LIBRARY_PATH and LD_RUN_PATH are set to the directories that contain composerxe-2011 compiler and mkl libraries (intel64).

What am I missing, what am I doing wrong?

Thanks in advance
Moritz
0 Kudos
1 Reply
barragan_villanueva_
Valued Contributor I
80 Views

Hi,

While using ICC it needs to link additionally with libirc where __intel_* symbols are located. As an alternative there exists special compiler option (depending on compiler version) to not use such optimized functions.
Reply