NumPy problem

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:

python2.6 -c "import numpy;numpy.test()"

I get:

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/", line 137, in 
    import add_newdocs
  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/", line 9, in 
    from numpy.lib import add_newdoc
  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/", line 4, in 
    from type_check import *
  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/", line 8, in 
    import numpy.core.numeric as _nx
  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/", line 5, in 
    import multiarray
ImportError: /usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/ undefined symbol: __intel_sse2_strlen

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.


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.

-- Victor

Leave a Comment

Please sign in to add a comment. Not a member? Join today