<?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 cannot find -lmkl_lapack in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764637#M153</link>
    <description>Hi everyone,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am not expert, but i do my best effort.&lt;/DIV&gt;&lt;DIV&gt;I have recently installFortran Composer XE 2011 for Linux 64-bits, which camewith Math Kernel Library (MKL).&lt;/DIV&gt;&lt;DIV&gt;I am trying to compile a program with the following instruction:&lt;/DIV&gt;&lt;DIV&gt;-----------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;ifort -O2 -DOPTIMIZE test test.o -L. -L/usr/local/lib -lcfitsio -L/opt/intel/composerxe-2011.5.220/mkl/lib/intel64 -lmkl_lapack -lmkl -lguide -lpthread -lpthread -lpthread&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;but ifort complains and gives:&lt;/DIV&gt;&lt;DIV&gt;---------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ld: cannot find -lmkl_lapack&lt;/DIV&gt;&lt;DIV&gt;ld: cannot find -lmkl&lt;/DIV&gt;&lt;DIV&gt;ld: cannot find -lguide&lt;/DIV&gt;&lt;DIV&gt;make: *** [test] Error 1&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;I have read thatBLAS/LAPACK routines are now internal to the MKL core library, so there is no separate MKL Lapack library and the customary flag '-lmkl_lapack' is now obsolete and should be removed.&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;* So I have tried without the '-lmkl_lapack' flag but doesn't found -lmkl and -lguide&lt;/DIV&gt;&lt;DIV&gt;* I tried without any-lmkl_lapack,-lmkl,-lguide but gives: undefined reference to `dpotrf_'&lt;/DIV&gt;&lt;DIV&gt;* I change the flags:&lt;/DIV&gt;&lt;DIV&gt;   -lmkl_lapack -&amp;gt; -lmkl_intel_lp64 but gives same errors.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, my final question is: How can i change the 'obsolete' flags in order to be compatibleFortran Composer XE and MKL???&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance, any suggestion is really appreciate it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Jorge&lt;/DIV&gt;</description>
    <pubDate>Sun, 28 Aug 2011 19:45:18 GMT</pubDate>
    <dc:creator>ridox</dc:creator>
    <dc:date>2011-08-28T19:45:18Z</dc:date>
    <item>
      <title>cannot find -lmkl_lapack</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764637#M153</link>
      <description>Hi everyone,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am not expert, but i do my best effort.&lt;/DIV&gt;&lt;DIV&gt;I have recently installFortran Composer XE 2011 for Linux 64-bits, which camewith Math Kernel Library (MKL).&lt;/DIV&gt;&lt;DIV&gt;I am trying to compile a program with the following instruction:&lt;/DIV&gt;&lt;DIV&gt;-----------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;ifort -O2 -DOPTIMIZE test test.o -L. -L/usr/local/lib -lcfitsio -L/opt/intel/composerxe-2011.5.220/mkl/lib/intel64 -lmkl_lapack -lmkl -lguide -lpthread -lpthread -lpthread&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;but ifort complains and gives:&lt;/DIV&gt;&lt;DIV&gt;---------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;ld: cannot find -lmkl_lapack&lt;/DIV&gt;&lt;DIV&gt;ld: cannot find -lmkl&lt;/DIV&gt;&lt;DIV&gt;ld: cannot find -lguide&lt;/DIV&gt;&lt;DIV&gt;make: *** [test] Error 1&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;I have read thatBLAS/LAPACK routines are now internal to the MKL core library, so there is no separate MKL Lapack library and the customary flag '-lmkl_lapack' is now obsolete and should be removed.&lt;/DIV&gt;&lt;DIV&gt;\\n&lt;/DIV&gt;&lt;DIV&gt;* So I have tried without the '-lmkl_lapack' flag but doesn't found -lmkl and -lguide&lt;/DIV&gt;&lt;DIV&gt;* I tried without any-lmkl_lapack,-lmkl,-lguide but gives: undefined reference to `dpotrf_'&lt;/DIV&gt;&lt;DIV&gt;* I change the flags:&lt;/DIV&gt;&lt;DIV&gt;   -lmkl_lapack -&amp;gt; -lmkl_intel_lp64 but gives same errors.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, my final question is: How can i change the 'obsolete' flags in order to be compatibleFortran Composer XE and MKL???&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance, any suggestion is really appreciate it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Jorge&lt;/DIV&gt;</description>
      <pubDate>Sun, 28 Aug 2011 19:45:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764637#M153</guid>
      <dc:creator>ridox</dc:creator>
      <dc:date>2011-08-28T19:45:18Z</dc:date>
    </item>
    <item>
      <title>cannot find -lmkl_lapack</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764638#M154</link>
      <description>Was the user library /usr/local/lib/libcfitiso.a compiled for X64 with the same integer/pointer model as was used for producing the object file test.o?&lt;BR /&gt;&lt;BR /&gt;Try the simpler -mkl option instead of specifying which MKL libraries to use. If that does not work, you may consult the MKL Link Line Advisor, to which a link is provided on the MKL forum.</description>
      <pubDate>Mon, 29 Aug 2011 01:30:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764638#M154</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-08-29T01:30:39Z</dc:date>
    </item>
    <item>
      <title>cannot find -lmkl_lapack</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764639#M155</link>
      <description>this is the link to &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Linker Adviser&lt;/A&gt;</description>
      <pubDate>Mon, 29 Aug 2011 05:40:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764639#M155</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-08-29T05:40:29Z</dc:date>
    </item>
    <item>
      <title>cannot find -lmkl_lapack</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764640#M156</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Thanks everyone,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;cfitsio wasn't the problem.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I used the MKL link line advisor and told me to use:-lmkl_lapack95_lp64&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;But the same error appears.&lt;/DIV&gt;&lt;DIV&gt;At the end I use both flags, the -mkl and the one for the-lmkl_lapack95_lp64&lt;/DIV&gt;&lt;DIV&gt;and the problem is gone.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Sep 2011 00:01:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/cannot-find-lmkl-lapack/m-p/764640#M156</guid>
      <dc:creator>ridox</dc:creator>
      <dc:date>2011-09-01T00:01:57Z</dc:date>
    </item>
  </channel>
</rss>

