<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NumPy problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-problem/m-p/796053#M2684</link>
    <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;after following the "official" guide to compiling numpy with mkl: &lt;A href="http://software.intel.com/en-us/articles/numpy-user-note/"&gt;Numpy user note&lt;/A&gt;&lt;BR /&gt;I still cannot use numpy. When I run:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]python2.6 -c "import numpy;numpy.test()"&lt;BR /&gt;[/bash]&lt;/PRE&gt;
I get: &lt;BR /&gt;
&lt;PRE&gt;[python]Traceback (most recent call last):&lt;BR /&gt;  File "&lt;STRING&gt;", line 1, in &lt;MODULE&gt;&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/__init__.py", line 137, in &lt;MODULE&gt;&lt;BR /&gt;    import add_newdocs&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in &lt;MODULE&gt;&lt;BR /&gt;    from numpy.lib import add_newdoc&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in &lt;MODULE&gt;&lt;BR /&gt;    from type_check import *&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in &lt;MODULE&gt;&lt;BR /&gt;    import numpy.core.numeric as _nx&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/__init__.py", line 5, in &lt;MODULE&gt;&lt;BR /&gt;    import multiarray&lt;BR /&gt;ImportError: /usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/multiarray.so: undefined symbol: __intel_sse2_strlen[/python]&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/STRING&gt;&lt;/PRE&gt; LD_LIBRARY_PATH and LD_RUN_PATH are set to the directories that contain composerxe-2011 compiler and mkl libraries (intel64).&lt;BR /&gt;&lt;BR /&gt;What am I missing, what am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Moritz&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Nov 2011 10:41:50 GMT</pubDate>
    <dc:creator>Moritz_S_</dc:creator>
    <dc:date>2011-11-09T10:41:50Z</dc:date>
    <item>
      <title>NumPy problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-problem/m-p/796053#M2684</link>
      <description>Hello everyone,&lt;BR /&gt;&lt;BR /&gt;after following the "official" guide to compiling numpy with mkl: &lt;A href="http://software.intel.com/en-us/articles/numpy-user-note/"&gt;Numpy user note&lt;/A&gt;&lt;BR /&gt;I still cannot use numpy. When I run:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]python2.6 -c "import numpy;numpy.test()"&lt;BR /&gt;[/bash]&lt;/PRE&gt;
I get: &lt;BR /&gt;
&lt;PRE&gt;[python]Traceback (most recent call last):&lt;BR /&gt;  File "&lt;STRING&gt;", line 1, in &lt;MODULE&gt;&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/__init__.py", line 137, in &lt;MODULE&gt;&lt;BR /&gt;    import add_newdocs&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in &lt;MODULE&gt;&lt;BR /&gt;    from numpy.lib import add_newdoc&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/__init__.py", line 4, in &lt;MODULE&gt;&lt;BR /&gt;    from type_check import *&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/lib/type_check.py", line 8, in &lt;MODULE&gt;&lt;BR /&gt;    import numpy.core.numeric as _nx&lt;BR /&gt;  File "/usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/__init__.py", line 5, in &lt;MODULE&gt;&lt;BR /&gt;    import multiarray&lt;BR /&gt;ImportError: /usr/local/cluster/scipy/mkl/lib/python2.6/site-packages/numpy/core/multiarray.so: undefined symbol: __intel_sse2_strlen[/python]&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/STRING&gt;&lt;/PRE&gt; LD_LIBRARY_PATH and LD_RUN_PATH are set to the directories that contain composerxe-2011 compiler and mkl libraries (intel64).&lt;BR /&gt;&lt;BR /&gt;What am I missing, what am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Moritz&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Nov 2011 10:41:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-problem/m-p/796053#M2684</guid>
      <dc:creator>Moritz_S_</dc:creator>
      <dc:date>2011-11-09T10:41:50Z</dc:date>
    </item>
    <item>
      <title>NumPy problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-problem/m-p/796054#M2685</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Wed, 09 Nov 2011 12:53:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-problem/m-p/796054#M2685</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-11-09T12:53:32Z</dc:date>
    </item>
  </channel>
</rss>

