<?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 Thank you for your answer, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061656#M21702</link>
    <description>&lt;P&gt;Thank you for your answer, Roman!&lt;/P&gt;

&lt;P&gt;Unfortunatelly, use "-Wl,-rpath,/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64" did not have any effect... I could not compile Bonmin just using "-rpath,/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64"... :(&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2015 20:09:21 GMT</pubDate>
    <dc:creator>Wendel_M_</dc:creator>
    <dc:date>2015-11-11T20:09:21Z</dc:date>
    <item>
      <title>Intel MKL FATAL ERROR: Error on loading function mkl_blas_avx_xdcopy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061654#M21700</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi experts&lt;/P&gt;

&lt;P&gt;I am trying compile Bonmin (An mathematical programming software) using icc, icpc and&amp;nbsp; mkl from Intel System Studio 2016 (on Opensuse Linux 13.1). Bonmin requires lapack and blas functions. So, I am compiling Bonmin using:&lt;/P&gt;

&lt;P&gt;-L/opt/intel/lib/intel64/ -L/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/&amp;nbsp; -lmkl_intel_lp64&amp;nbsp; -lmkl_sequential&amp;nbsp;&amp;nbsp; -lmkl_core&amp;nbsp; -liomp5&amp;nbsp; -lpthread -lm&lt;/P&gt;

&lt;P&gt;The compilation seems work fine. I got an executable called Bonmin. However, when I try run Bonmin, I get the following error message:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Intel MKL FATAL ERROR: Error on loading function mkl_blas_avx_xdcopy&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Directories &lt;EM&gt;/opt/intel/lib/intel64/ &lt;/EM&gt;and &lt;EM&gt;/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/&lt;/EM&gt; are already in my LD_LIBRARY_PATH. I checked file libmkl_avx is&amp;nbsp;/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/ , so I do not have any idea about what is wrong.&lt;/P&gt;

&lt;P&gt;If I compile Bonmin using&lt;/P&gt;

&lt;P&gt;-lmkl_avx -lmkl_intel_lp64&amp;nbsp; -lmkl_sequential&amp;nbsp;&amp;nbsp; -lmkl_core&amp;nbsp; -liomp5&amp;nbsp; -lpthread -lm&lt;/P&gt;

&lt;P&gt;I get the same error...&lt;/P&gt;

&lt;P&gt;Does anyone have some idea or tip to help me?&lt;/P&gt;

&lt;P&gt;Thanks in Advanced&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 05:37:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061654#M21700</guid>
      <dc:creator>Wendel_M_</dc:creator>
      <dc:date>2015-11-11T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Hi, can you please try adding</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061655#M21701</link>
      <description>&lt;P&gt;Hi, can you please try adding '-Wl,-rpath,/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64' to your link line if Bonmin build system uses a compiler to link the final executable. If it uses just ld, then can you please try adding '-rpath /opt/intel/compilers_and_libraries/linux/mkl/lib/intel64'?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 05:51:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061655#M21701</guid>
      <dc:creator>Roman_D_Intel1</dc:creator>
      <dc:date>2015-11-11T05:51:33Z</dc:date>
    </item>
    <item>
      <title>Thank you for your answer,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061656#M21702</link>
      <description>&lt;P&gt;Thank you for your answer, Roman!&lt;/P&gt;

&lt;P&gt;Unfortunatelly, use "-Wl,-rpath,/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64" did not have any effect... I could not compile Bonmin just using "-rpath,/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64"... :(&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 20:09:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061656#M21702</guid>
      <dc:creator>Wendel_M_</dc:creator>
      <dc:date>2015-11-11T20:09:21Z</dc:date>
    </item>
    <item>
      <title>Hi Wendel,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061657#M21703</link>
      <description>&lt;P&gt;Hi Wendel,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;mkl_blas_avx_xdcopy is in lib&lt;/STRONG&gt;mkl_avx.so or libmkl_core.a&lt;/P&gt;

&lt;P&gt;[yhu5@prc-mic01 intel64]$ nm -Ag *.* |grep mkl_blas_avx_xdcopy&lt;BR /&gt;
	libmkl_avx.so:00000000008b98a0 T mkl_blas_avx_xdcopy&lt;BR /&gt;
	libmkl_core.a:_xdcopy_fb.o:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U mkl_blas_avx_xdcopy&lt;BR /&gt;
	libmkl_core.a:_avx_xdcopy.o:0000000000000000 T mkl_blas_avx_xdcopy&lt;BR /&gt;
	libmkl_core.a:_avx_xzcopy.o:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U mkl_blas_avx_xdcopy&lt;BR /&gt;
	[yhu5@prc-mic01 intel64]$ pwd&lt;BR /&gt;
	/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64&lt;/P&gt;

&lt;P&gt;is it possible&amp;nbsp;for you&amp;nbsp;to link static mkl , for example,&lt;/P&gt;

&lt;P&gt;1)&lt;/P&gt;

&lt;P&gt;/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_intel_lp64.a&amp;nbsp;&amp;nbsp; /opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_sequential.a&amp;nbsp;&amp;nbsp; /opt/intel/compilers_and_libraries/linux/mkl/lib/intel64/libmkl_core.a&amp;nbsp; -liomp5 -lpthread&lt;/P&gt;

&lt;P&gt;or 2) use &amp;nbsp;&lt;STRONG&gt;--no-as-needed &lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin: 0px 0px 1.5em; padding: 0px; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-wrap: break-word; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;I&amp;nbsp;&amp;nbsp;found&amp;nbsp;one&amp;nbsp;post in the forum, may be help.&lt;BR /&gt;
	&lt;A style="margin: 0px; padding: 0px; color: rgb(8, 109, 182); font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-weight: normal; text-decoration: none;" href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/351714"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/...&lt;/A&gt;&lt;/P&gt;

&lt;P style="margin: 0px 0px 1.5em; padding: 0px; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-wrap: break-word; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;If the symbol are coming from MKL, then either rebuild the&amp;nbsp;software &amp;nbsp;with --no-as-needed option (you mentioned, the build is other person)&lt;/P&gt;

&lt;P style="margin: 0px 0px 1.5em; padding: 0px; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-wrap: break-word; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;or 3) use &lt;STRONG&gt;LD_PRELOAD&lt;/STRONG&gt;=opt/intel/mkl/lib/intel64/libmkl_avx.so, then run your application.&lt;/P&gt;

&lt;P style="margin: 0px 0px 1.5em; padding: 0px; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-wrap: break-word; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Please let us know if any result.&lt;/P&gt;

&lt;P style="margin: 0px 0px 1.5em; padding: 0px; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-wrap: break-word; widows: 1; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;Best Regards,&lt;BR /&gt;
	Ying&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 07:27:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-FATAL-ERROR-Error-on-loading-function-mkl-blas-avx/m-p/1061657#M21703</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-16T07:27:34Z</dc:date>
    </item>
  </channel>
</rss>

