<?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  using MKL 10.1.1.019. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856844#M7070</link>
    <description>Coming from MKL 9.0 I am trying to use MKL 10.1.1.019 on a pentium 4 laptop in a static version&lt;BR /&gt;The compile line/options are :&lt;BR /&gt; /opt/intel/Compiler/11.0/081/bin/ia32/ifort -O -c -check -mtune=pentium4 -warn -align all -static-intel -openmp&lt;BR /&gt;&lt;BR /&gt;the link options are :&lt;BR /&gt; -L/opt/intel/mkl/10.1.1.019/lib/32/ -lmkl_lapack -lmkl_ia32 -lguide -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;the link fails with the comments :&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_fun'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_thread_fun'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_dll'&lt;BR /&gt;&lt;BR /&gt;Where is my error ?</description>
    <pubDate>Fri, 17 Apr 2009 08:34:33 GMT</pubDate>
    <dc:creator>daeliii</dc:creator>
    <dc:date>2009-04-17T08:34:33Z</dc:date>
    <item>
      <title>using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856844#M7070</link>
      <description>Coming from MKL 9.0 I am trying to use MKL 10.1.1.019 on a pentium 4 laptop in a static version&lt;BR /&gt;The compile line/options are :&lt;BR /&gt; /opt/intel/Compiler/11.0/081/bin/ia32/ifort -O -c -check -mtune=pentium4 -warn -align all -static-intel -openmp&lt;BR /&gt;&lt;BR /&gt;the link options are :&lt;BR /&gt; -L/opt/intel/mkl/10.1.1.019/lib/32/ -lmkl_lapack -lmkl_ia32 -lguide -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;the link fails with the comments :&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_fun'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_thread_fun'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32//libmkl_lapack.so: undefined reference to `mkl_serv_load_dll'&lt;BR /&gt;&lt;BR /&gt;Where is my error ?</description>
      <pubDate>Fri, 17 Apr 2009 08:34:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856844#M7070</guid>
      <dc:creator>daeliii</dc:creator>
      <dc:date>2009-04-17T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856845#M7071</link>
      <description>&lt;BR /&gt;
&lt;P&gt;The reason of this problem is re-architected Intel MKL since MKL 10.0 and therefore the linking mode was changed.&lt;BR /&gt;Please see the KB article "For easily migrating from Intel MKL 9.x to 10.x"&lt;BR /&gt;_http://software.intel.com/en-us/articles/performance-tools-for-software-developers-for-easily-migrating-from-mkl-9x-to-10x/&lt;BR /&gt;It should help you to undersand how to resolve the problem.&lt;BR /&gt;For more information you need to write userguide, especially chapter 5 - How to link your application with Intel MKL&lt;BR /&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2009 09:19:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856845#M7071</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-04-17T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856846#M7072</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Dear Mr Fedorov&lt;BR /&gt;&lt;BR /&gt;Many thanks for the informations and docs.&lt;BR /&gt;I red as cleverly as I can the KB article and the chapter 5 of the user guide, and tried to translate these informations into compile and link command as follow.&lt;BR /&gt;&lt;BR /&gt;Compile step :&lt;BR /&gt;/opt/intel/Compiler/11.0/081/bin/ia32/ifort -O -c -check -mtune=pentium4 -warn -align all -static-intel -L/opt/intel/mkl/10.1.1.019/lib/32 -I/opt/intel/mkl/10.1.1.019/include aires_de_couples.f&lt;BR /&gt;&lt;BR /&gt;link step :&lt;BR /&gt;/opt/intel/Compiler/11.0/081/bin/ia32/ifort -o coqpol aires_de_couples.o ......(a lot of local objects) ..... tri.o -L/opt/intel/mkl/10.1.1.019/lib/32 -I/opt/intel/mkl/10.1.1.019/include -Wl,--start-group /opt/intel/mkl/10.1.1.019/lib/32/libmkl_intel.a /opt/intel/mkl/10.1.1.019/lib/32/libmkl_intel_thread.a /opt/intel/mkl/10.1.1.019/lib/32/libmkl_core.a -Wl,--end-group /opt/intel/mkl/10.1.1.019/lib/32/libiomp5md.a -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the result at the link has been 171 lines akin the few below :&lt;BR /&gt;__tmp_dgetrf_omp.f:(.text+0x3f): undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32/libmkl_intel_thread.a(dgetrf_omp.o): In function `L_mkl_lapack_dgetrf_338__par_loop1':&lt;BR /&gt;__tmp_dgetrf_omp.f:(.text+0x39a): undefined reference to `__kmpc_dispatch_init_4'&lt;BR /&gt;__tmp_dgetrf_omp.f:(.text+0x3f3): undefined reference to `__kmpc_dispatch_next_4'&lt;BR /&gt;/opt/intel/mkl/10.1.1.019/lib/32/libmkl_intel_thread.a(dgetrf_omp.o): In function `L_mkl_lapack_dgetrf_241__par_region0':&lt;BR /&gt;__tmp_dgetrf_omp.f:(.text+0x555): undefined reference to `omp_get_thread_num'&lt;BR /&gt;__tmp_dgetrf_omp.f:(.text+0x57f): undefined reference to `__kmpc_barrier'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I know that static linking isn't encouraged and is a bit more complex, but I must build a static executable code for portability reason.&lt;BR /&gt;I certainly missinterpreted some details but what should I improve, what is wrong above ?&lt;BR /&gt;&lt;BR /&gt;Many thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Sincerely yours.&lt;BR /&gt;&lt;BR /&gt; DAELIII&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Apr 2009 20:15:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856846#M7072</guid>
      <dc:creator>daeliii</dc:creator>
      <dc:date>2009-04-26T20:15:45Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856847#M7073</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Please read the ifort documentation as well. According to your description, it seems you should be setting '-openmp openmp-link static' in order to link the OpenMP static and pthread libraries, rather than attempting to specify those individually. Your -L appears to be superfluous, but perhaps you should start with the simpler task of getting a dynamic link working. It would be simpler yet if you would use the MKL which comes with your compiler.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2009 05:40:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856847#M7073</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-04-27T05:40:40Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856848#M7074</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
I am not trying to do anything except to get a working excutable. &lt;BR /&gt;I dowloaded simultanneously the latest version (at the day of downloading) of both compiler and math kernel library, as I am doing for a lot of years. Moreover the options and command line for compiling and linking I am using now, are mere copies of the official Intel doc "migrating from the 9.x MKL to the 10.x" as well as of the "user's guide" from the same source, as suggested by the last information I received. &lt;BR /&gt;Something is clearly missing, probably the "openmp-link static" youy ask for. I will try it now&lt;BR /&gt;Hope it work.&lt;BR /&gt;Does it mean that the use of OpenMP parallelization is mandatory ?&lt;BR /&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2009 18:55:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856848#M7074</guid>
      <dc:creator>daeliii</dc:creator>
      <dc:date>2009-04-27T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856849#M7075</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/424313"&gt;daeliii&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Does it mean that the use of OpenMP parallelization is mandatory ?&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
No, setting the OpenMP options in the link step doesn't enable OpenMP in your object files; it only asks the compiler to link in the OpenMP support which you require for the mkl_intel_thread library. If you have been using MKL 10.x for the same OS previously, there is no reason for anything to have changed, but it looks like somehow you failed to link the libiomp5, or didn't consistently use 32-bit compilers and libraries.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2009 22:52:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856849#M7075</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-04-27T22:52:45Z</dc:date>
    </item>
    <item>
      <title>Re:  using MKL 10.1.1.019.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856850#M7076</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;
&lt;P&gt;The reason of this problem is re-architected Intel MKL since MKL 10.0 and therefore the linking mode was changed.&lt;BR /&gt;Please see the KB article "For easily migrating from Intel MKL 9.x to 10.x"&lt;BR /&gt;_http://software.intel.com/en-us/articles/performance-tools-for-software-developers-for-easily-migrating-from-mkl-9x-to-10x/&lt;BR /&gt;It should help you to undersand how to resolve the problem.&lt;BR /&gt;For more information you need to write userguide, especially chapter 5 - How to link your application with Intel MKL&lt;BR /&gt;--Gennady&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;In addition to this, please also use our MKL link line advisor tool from the MKL KB which is located at&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--Vipin&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 17:33:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/using-MKL-10-1-1-019/m-p/856850#M7076</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2009-05-25T17:33:40Z</dc:date>
    </item>
  </channel>
</rss>

