<?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 [SOLVED] http://debugjournal in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949142#M15119</link>
    <description>&lt;P&gt;[SOLVED] &lt;A href="http://debugjournal.tumblr.com/post/98401758462/intel-mkl-dynamic-link-library-error" target="_blank"&gt;http://debugjournal.tumblr.com/post/98401758462/intel-mkl-dynamic-link-library-error&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jan 2017 00:15:40 GMT</pubDate>
    <dc:creator>SvanS</dc:creator>
    <dc:date>2017-01-28T00:15:40Z</dc:date>
    <item>
      <title>Error running NumPy example: MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949138#M15115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I built NumPy and SciPy according to the instructions posted at &lt;A href="http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl" target="_blank"&gt;http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl&lt;/A&gt;. I'm using the free version of Composer XE 2013 for Linux. I have added the appropriate directories to LD_LIBRARY_PATH and updated ldconfig. NumPy and SciPy both seem to build and install just fine, but when I run the example program at the end of the page, it fails at the first matrix multiplication line C = A*B (just before start = time.time() ) with the error MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so.&lt;/P&gt;
&lt;P&gt;I've tried everything I can think of, but I still can't get rid of the error. I recently applied the MKL patch here &lt;A href="http://software.intel.com/en-us/articles/svd-multithreading-bug-in-mkl" target="_blank"&gt;http://software.intel.com/en-us/articles/svd-multithreading-bug-in-mkl&lt;/A&gt; could this have something to do with it?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 20:40:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949138#M15115</guid>
      <dc:creator>MattDMo</dc:creator>
      <dc:date>2013-05-04T20:40:55Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...it fails at the first</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949139#M15116</link>
      <description>&amp;gt;&amp;gt;...it fails at the first matrix multiplication line C = A*B (just before start = time.time() ) with the error
&amp;gt;&amp;gt;MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so...

It is possible that search path to these modules is Not set properly and you need to review LD_LIBRARY_PATH environment variable. By the way, I could easily reproduce that problem on a Windows platform when &lt;STRONG&gt;mkl_avx.dll&lt;/STRONG&gt; or &lt;STRONG&gt;mkl_def.dll&lt;/STRONG&gt; can not be found.

Also, please verify that 32-bit test application uses 32-bit MKL modules, or 64-bit test application uses 64-bit MKL modules.</description>
      <pubDate>Sat, 04 May 2013 23:38:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949139#M15116</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-04T23:38:00Z</dc:date>
    </item>
    <item>
      <title>Hi Sergey,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949140#M15117</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;I think I solved the problem. My NumPy 'site.cfg' file simply had the line "mkl_libs = mkl_rt", but when I explicitly added mkl_avx and mkl_def and recompiled, it worked fine. I guess there was some issue in libmkl_rt.so. I only have the 64-bit MKL installed, so that's not an issue.&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2013 00:59:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949140#M15117</guid>
      <dc:creator>MattDMo</dc:creator>
      <dc:date>2013-05-07T00:59:05Z</dc:date>
    </item>
    <item>
      <title>Thanks for the update, Matt.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949141#M15118</link>
      <description>Thanks for the update, Matt.

&amp;gt;&amp;gt;...I think I &lt;STRONG&gt;solved the problem&lt;/STRONG&gt;... ...I only have the &lt;STRONG&gt;64-bit MKL&lt;/STRONG&gt; installed...

This is what I've expected because, as far as I know, the pair of modules &lt;STRONG&gt;mkl_avx&lt;/STRONG&gt;.* and &lt;STRONG&gt;mkl_def&lt;/STRONG&gt;.* is for 64-bit platforms only. On 32-bit platforms the the pair of modules should be &lt;STRONG&gt;mkl_avx&lt;/STRONG&gt;.* and &lt;STRONG&gt;mkl_p4&lt;/STRONG&gt;.*.</description>
      <pubDate>Tue, 07 May 2013 04:42:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949141#M15118</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-07T04:42:44Z</dc:date>
    </item>
    <item>
      <title>[SOLVED] http://debugjournal</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949142#M15119</link>
      <description>&lt;P&gt;[SOLVED] &lt;A href="http://debugjournal.tumblr.com/post/98401758462/intel-mkl-dynamic-link-library-error" target="_blank"&gt;http://debugjournal.tumblr.com/post/98401758462/intel-mkl-dynamic-link-library-error&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 00:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-running-NumPy-example-MKL-FATAL-ERROR-Cannot-load-libmkl/m-p/949142#M15119</guid>
      <dc:creator>SvanS</dc:creator>
      <dc:date>2017-01-28T00:15:40Z</dc:date>
    </item>
  </channel>
</rss>

