<?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 Jared, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933739#M13926</link>
    <description>&lt;P&gt;Jared,&lt;/P&gt;

&lt;P&gt;The article you referenced has recently been updated for the latest NumPy and MKL releases. But it only covers the situation of using Intel tool chain (Intel compiler and Intel OpenMP threading). You are using GNU compilers and GNU OpenMP. So we need some more investigation.&lt;/P&gt;

&lt;P&gt;Please post your 'site.cfg', as well as your compiler configuration files (the relevant ones found under the distutil directory of the NumPy source).&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2014 00:35:48 GMT</pubDate>
    <dc:creator>Zhang_Z_Intel</dc:creator>
    <dc:date>2014-03-07T00:35:48Z</dc:date>
    <item>
      <title>NumPy ImportError: libmkl_avx.so: undefined symbol: ownLastTriangle_64fc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933737#M13924</link>
      <description>&lt;P&gt;I'm running Ubuntu 13.04, and have the latest versions of the MKL, icc, and ifort. I'm trying to build NumPy 1.8.0beta2 and have been running into an unusual error. The package builds and installs just fine, but when I run "import numpy as np" in the Python 3.3.2 (gcc-built) interpreter, I get the following traceback:&lt;/P&gt;
&lt;P&gt;[python]&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; import numpy as np&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/__init__.py", line 153, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from . import add_newdocs&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/add_newdocs.py", line 13, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from numpy.lib import add_newdoc&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/lib/__init__.py", line 18, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from .polynomial import *&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/lib/polynomial.py", line 19, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from numpy.linalg import eigvals, lstsq, inv&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/linalg/__init__.py", line 50, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from .linalg import *&lt;BR /&gt;&amp;nbsp; File "/usr/local/lib/python3.3/site-packages/numpy/linalg/linalg.py", line 29, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from numpy.linalg import lapack_lite, _umath_linalg&lt;BR /&gt;ImportError: /opt/intel/mkl/lib/intel64/libmkl_avx.so: undefined symbol: ownLastTriangle_64fc&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;[/python]&lt;/P&gt;
&lt;P&gt;My site.cfg is as follows:&lt;/P&gt;
&lt;P&gt;[plain]&lt;/P&gt;
&lt;P&gt;[DEFAULT]&lt;BR /&gt;library_dirs = /opt/intel/lib:/opt/intel/lib/intel64:/opt/intel/mkl/lib:/opt/intel/mkl/lib/intel64:/usr/local/lib/python3.3&lt;BR /&gt;include_dirs = /opt/intel/include/intel64:/opt/intel/include:/opt/intel/mkl/include:/opt/intel/mkl/include/intel64/lp64:/usr/local/include/python3.3m&lt;BR /&gt;&lt;BR /&gt;[mkl]&lt;BR /&gt;library_dirs = /opt/intel/lib:/opt/intel/lib/intel64:/opt/intel/mkl/lib:/opt/intel/mkl/lib/intel64&lt;BR /&gt;include_dirs = /opt/intel/include/intel64:/opt/intel/include:/opt/intel/mkl/include:/opt/intel/mkl/include/intel64/lp64&lt;BR /&gt;mkl_libs = mkl_rt,mkl_intel_lp64,mkl_intel_thread,mkl_core,mkl_def,mkl_avx,mkl_vml_def,mkl_lapack95_lp64,mkl_blas95_lp64&lt;BR /&gt;lapack_libs = mkl_lapack95_lp64&lt;BR /&gt;blas_libs = mkl_blas95_lp64&lt;BR /&gt;&lt;BR /&gt;[blas]&lt;BR /&gt;library_dirs = /opt/intel/lib:/opt/intel/lib/intel64:/opt/intel/mkl/lib:/opt/intel/mkl/lib/intel64&lt;BR /&gt;include_dirs = /opt/intel/include/intel64:/opt/intel/include:/opt/intel/mkl/include:/opt/intel/mkl/include/intel64/lp64&lt;BR /&gt;blas_libs = mkl_blas95_lp64&lt;BR /&gt;&lt;BR /&gt;[lapack]&lt;BR /&gt;library_dirs = /opt/intel/lib:/opt/intel/lib/intel64:/opt/intel/mkl/lib:/opt/intel/mkl/lib/intel64&lt;BR /&gt;include_dirs = /opt/intel/include/intel64:/opt/intel/include:/opt/intel/mkl/include:/opt/intel/mkl/include/intel64/lp64&lt;BR /&gt;lapack_libs = mkl_lapack95_lp64&lt;BR /&gt;[/plain]&lt;/P&gt;
&lt;P&gt;If I just use mkl_libs = mkl_rt I get an error complaining that libmkl_avx and libmkl_def can't be found, and if I just have those three I get the same error as I'm getting now.&lt;/P&gt;
&lt;P&gt;I changed numpy/distutils/intelccompiler.py to have the following:&lt;/P&gt;
&lt;P&gt;[python]&lt;/P&gt;
&lt;P&gt;self.cc_exe = 'icc -O3 -g -fPIC -fp-model strict -fomit-frame-pointer -openmp -xhost -mkl -m64 -DMKL_LP64 -L/opt/intel/lib -L/opt/intel/lib/intel64 -L/opt/intel/mkl/lib -L/opt/intel/mkl/lib/intel64 -L/usr/local/lib/python3.3 -I/opt/intel/include/intel64 -I/opt/intel/include -I/opt/intel/mkl/include -I/opt/intel/mkl/include/intel64/lp64 -I/usr/local/include/python3.3m'&lt;/P&gt;
&lt;P&gt;[/python]&lt;/P&gt;
&lt;P&gt;and I changed numpy/distutils/fcompiler/intel.py in similar fashion:&lt;/P&gt;
&lt;P&gt;[python]&lt;/P&gt;
&lt;P&gt;def get_flags_opt(self):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return [' -O3 -mkl -xhost -openmp -fp-model strict -fPIC -m64 -DMKL_LP64 -L/opt/intel/lib -L/opt/intel/lib/intel64 -L/opt/intel/mkl/lib -L/opt/intel/mkl/lib/intel64 -L/usr/local/lib/python3.3 -I/opt/intel/include/intel64 -I/opt/intel/include -I/opt/intel/mkl/include -I/opt/intel/mkl/include/intel64/lp64 -I/usr/local/include/python3.3m']&lt;/P&gt;
&lt;P&gt;[/python]&lt;/P&gt;
&lt;P&gt;Finally, I commented out lines 953-956 in numpy/distutils/system_info.py where the pthread library is automatically added, as I want to use Intel's threading library included in the MKL.&lt;/P&gt;
&lt;P&gt;I googled the error I'm getting, and there were literally zero hits. I'm not sure where this symbol is defined, so I don't know how to link to the required library. Can anyone offer any assistance?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 02:15:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933737#M13924</guid>
      <dc:creator>MattDMo</dc:creator>
      <dc:date>2013-09-19T02:15:32Z</dc:date>
    </item>
    <item>
      <title>Hi, have you taken a look at</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933738#M13925</link>
      <description>&lt;P&gt;Hi, have you taken a look at this article? &lt;A href="http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl"&gt;http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This article walks through everything and will probably anticipate future issues as well. Another good link to bookmark is the link line advisor which is always a good tool for general build and run: &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Take a look at the NumPy article, go through all those steps and let me know how it shakes out. From there we will have a baseline to rule out many different issues.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2013 23:47:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933738#M13925</guid>
      <dc:creator>Noah_C_Intel</dc:creator>
      <dc:date>2013-09-20T23:47:46Z</dc:date>
    </item>
    <item>
      <title>Jared,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933739#M13926</link>
      <description>&lt;P&gt;Jared,&lt;/P&gt;

&lt;P&gt;The article you referenced has recently been updated for the latest NumPy and MKL releases. But it only covers the situation of using Intel tool chain (Intel compiler and Intel OpenMP threading). You are using GNU compilers and GNU OpenMP. So we need some more investigation.&lt;/P&gt;

&lt;P&gt;Please post your 'site.cfg', as well as your compiler configuration files (the relevant ones found under the distutil directory of the NumPy source).&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 00:35:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933739#M13926</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2014-03-07T00:35:48Z</dc:date>
    </item>
    <item>
      <title>Noah,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933740#M13927</link>
      <description>&lt;P&gt;Noah,&lt;/P&gt;

&lt;P&gt;That article is quite a bit dated for Intel MKL and even NumPy. I just ran into the same issue above where Intel MKL is having undefined references to the ownLastTriagle_64fc. Confirming against the shared library:&lt;/P&gt;

&lt;P&gt;[bash]&lt;/P&gt;

&lt;P&gt;$ nm libmkl_avx.so | grep ownLastTriangle_64fc&lt;/P&gt;

&lt;P&gt;U ownLastTriangle_64fc&lt;/P&gt;

&lt;P&gt;[/bash]&lt;/P&gt;

&lt;P&gt;Although I am using the GNU compilers (gcc,g++,gfortran) for this particular build of NumPy. The line to compile essentially looks as:&lt;/P&gt;

&lt;P&gt;[bash]gcc -m64 -mavx -march=native -mtune=native -fopenmp -I${MKLROOT}/include ...[/bash]&lt;/P&gt;

&lt;P&gt;The link like would look something like the following:&lt;/P&gt;

&lt;P&gt;[bash]gcc -L${MKLROOT}/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_avx -lmkl_def -ldl -lpthread -lm -Wl,-rpath,${MKLROOT}/lib/intel64 ...[/bash]&lt;/P&gt;

&lt;P&gt;The previous link line which I recieved the error earlier was like:&lt;/P&gt;

&lt;P&gt;[bash] gcc -L${MKLROOT}/lib/intel -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -ldl -lpthread -lm -Wl,-rpath,${MKLROOT}/lib/intel64 ...[\bash]&lt;/P&gt;

&lt;P&gt;works during the import, but then actually starting a test with NumPy, MKL issues a fatal error:&lt;/P&gt;

&lt;P&gt;Python 2.7.6 (default, Mar 6 2014, 09:13:15)&lt;/P&gt;

&lt;PRE class="brush:python;"&gt;
&amp;gt;&amp;gt;&amp;gt;import numpy 
&amp;gt;&amp;gt;&amp;gt; numpy.test() 
Running unit tests for numpy NumPy version 1.8.0 NumPy is installed in /apps/python/gnu/2.7.6/lib/python2.7/site-packages/numpy Python version 2.7.6 (default, Mar 6 2014, 09:13:15) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] nose version 1.3.0 ................. 
Intel MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so.&lt;/PRE&gt;

&lt;P&gt;Which is why I lead to the method of adding libmkl_avx.so and libmkl_def.so to the link line and then get the undefined reference. I didn't have this problem when I was using MKL 10.3, only when I started moving code to MKL 11 It appears that the string can be located in the files following:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
$ grep ownLastTriangle_64fc *

Binary file libmkl_avx2.so matches 
Binary file libmkl_avx.so matches 
Binary file libmkl_core.a matches 
Binary file libmkl_def.so matches 
Binary file libmkl_mc3.so matches 
Binary file libmkl_mc.so matches 
Binary file libmkl_p4n.so matches&lt;/PRE&gt;

&lt;P&gt;Changing the link line to use the single runtime library (libmkl_rt.so) issues the same MKL FATAL ERROR.&lt;/P&gt;

&lt;P&gt;Have any ideas where to go from here?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 01:03:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933740#M13927</guid>
      <dc:creator>Jared_B_</dc:creator>
      <dc:date>2014-03-07T01:03:38Z</dc:date>
    </item>
    <item>
      <title>site.cfg:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933741#M13928</link>
      <description>&lt;P&gt;site.cfg:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;
[DEFAULT]
library_dirs = /lib64:/usr/lib64:/usr/local/lib
include_dirs = /usr/include:/usr/local/include
libraries = dl, pthread, m

[mkl]
library_dirs = /apps/INTEL/2013/mkl/lib/intel64
include_dirs = /apps/INTEL/2013/mkl/include
mkl_libs = mkl_gf_lp64, mkl_gnu_thread, mkl_core
lapack_libs = &lt;/PRE&gt;

&lt;P&gt;The compiler happens as the following, I don't necessarily modify the files under distutil directory. I just append certain flags using the environment variables here. The compiler files under distutils are unchanged. I prefer this method rather than editing the *.py files.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;
export CPPFLAGS="-I$MKLROOT/include"
export CFLAGS="-mavx -m64 -fopenmp -march=native -mtune=native -O3 -fPIC -fomit-frame-pointer"
export CXXFLAGS="-mavx -m64 -fopenmp -march=native -mtune=native -O3 -fPIC -fomit-frame-pointer"
export FFLAGS="-mavx -m64 -fopenmp -march=native -mtune=native -O3 -fPIC -fomit-frame-pointer"
export LDFLAGS="-fopenmp -L$MKLROOT/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -ldl -lpthread -lm -Wl,-rpath,$MKLROOT/lib/intel64"

python setup.py config
python setup.py build
python setup.py install
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Then when I try to run the numpy test after the build:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;
Python 2.7.6 (default, Mar  6 2014, 09:13:15) 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&amp;gt;&amp;gt;&amp;gt; import numpy
&amp;gt;&amp;gt;&amp;gt; numpy.test()
Running unit tests for numpy
NumPy version 1.8.0
NumPy is installed in /apps/python/gnu/2.7.6/lib/python2.7/site-packages/numpy
Python version 2.7.6 (default, Mar  6 2014, 09:13:15) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
nose version 1.3.0
.................
Intel MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so.
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I make sure I sanitize the NumPy build each time a make a change as well.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 01:36:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933741#M13928</guid>
      <dc:creator>Jared_B_</dc:creator>
      <dc:date>2014-03-07T01:36:41Z</dc:date>
    </item>
    <item>
      <title>Jared, I don't think that :</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933742#M13929</link>
      <description>&lt;P&gt;Jared, I don't think that :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 1em; line-height: 14.30880069732666px;"&gt;gcc -L${MKLROOT}/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lmkl_avx -lmkl_def -ldl -lpthread -lm -Wl,-rpath,${MKLROOT}/lib/intel64 ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;is correct, but this should be ok:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.30880069732666px;"&gt;gcc -L${MKLROOT}/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -ldl -lpthread -lm -Wl,-rpath,${MKLROOT}/lib/intel64 ...&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.30880069732666px;"&gt;And, as far as I know, the issue at runtime with numpy is still not solved with Mkl-11.1.2.144...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.30880069732666px;"&gt;Any progress from Intel side ?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.30880069732666px;"&gt;Eloi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2014 18:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933742#M13929</guid>
      <dc:creator>Eloi_Gaudry</dc:creator>
      <dc:date>2014-04-09T18:48:52Z</dc:date>
    </item>
    <item>
      <title>The page https://software</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933743#M13930</link>
      <description>&lt;P&gt;The page&amp;nbsp;https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl now has a section "Building with GNU Compiler chain" at the bottom that says to&amp;nbsp;&lt;STRONG&gt;only&lt;/STRONG&gt;&amp;nbsp;specify mkl_rt for mkl_libs in site.cfg.&lt;/P&gt;

&lt;P&gt;I tried this after running into the same problem being reported here, and it resolved the issue for me (using GCC 4.8.3, imkl 11.1.2.144 and numpy 1.8.0).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:43:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933743#M13930</guid>
      <dc:creator>Hoste__Kenneth</dc:creator>
      <dc:date>2014-10-07T09:43:42Z</dc:date>
    </item>
    <item>
      <title>I encountered the same error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933744#M13931</link>
      <description>&lt;P&gt;I encountered the same error after I removed a remaining .so file from a previous installation of numpy (/usr/local/lib/python3.7/site-packages/numpy/.libs/libopenblasp-r0-34a18dc3.3.7.so). Similar to the suggestion at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/733207" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/733207&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I added&amp;nbsp;mkl_def in site.cfg of numpy.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Apr 2020 18:06:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/NumPy-ImportError-libmkl-avx-so-undefined-symbol-ownLastTriangle/m-p/933744#M13931</guid>
      <dc:creator>Bicici__Ergun</dc:creator>
      <dc:date>2020-04-05T18:06:06Z</dc:date>
    </item>
  </channel>
</rss>

