<?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 linking with MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834671#M5968</link>
    <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I guess this question has been asked a zillion times, but still I can't make heads or tails out of what's available online and my only hope is to ask a question here.&lt;BR /&gt;&lt;BR /&gt;Here's my problem: I have a Fortran 90 code which uses BLAS and LAPACK routines, and I'm trying to compile it with ifort and link it with MKL. I really don't need anything else --- it's a single-thread sequential code, nothing fancy here, just a couple of calls to dgemv and its relatives. The code itself compiles fine gfortran and PGI, so there's not problem there. The only problem is how to link the darn thing with MKL's blas and lapack. &lt;BR /&gt;&lt;BR /&gt;I tried the suggestions from here: &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;but this plain doesn't work for me, neither for static nor dynamic link.&lt;BR /&gt;The compiler keeps complaing along the lines of:&lt;BR /&gt;det_n2___.f:(.text+0xb00): undefined reference to `dcopy_'&lt;BR /&gt;det_n2___.f:(.text+0xb4b): undefined reference to `dgemm_'&lt;BR /&gt;&lt;BR /&gt;I'm using ifort version 11.1 on a 32-bit machine under ubuntu 10.04 if that matters.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Zhenya</description>
    <pubDate>Sat, 25 Dec 2010 17:34:59 GMT</pubDate>
    <dc:creator>burovski</dc:creator>
    <dc:date>2010-12-25T17:34:59Z</dc:date>
    <item>
      <title>linking with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834671#M5968</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I guess this question has been asked a zillion times, but still I can't make heads or tails out of what's available online and my only hope is to ask a question here.&lt;BR /&gt;&lt;BR /&gt;Here's my problem: I have a Fortran 90 code which uses BLAS and LAPACK routines, and I'm trying to compile it with ifort and link it with MKL. I really don't need anything else --- it's a single-thread sequential code, nothing fancy here, just a couple of calls to dgemv and its relatives. The code itself compiles fine gfortran and PGI, so there's not problem there. The only problem is how to link the darn thing with MKL's blas and lapack. &lt;BR /&gt;&lt;BR /&gt;I tried the suggestions from here: &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;but this plain doesn't work for me, neither for static nor dynamic link.&lt;BR /&gt;The compiler keeps complaing along the lines of:&lt;BR /&gt;det_n2___.f:(.text+0xb00): undefined reference to `dcopy_'&lt;BR /&gt;det_n2___.f:(.text+0xb4b): undefined reference to `dgemm_'&lt;BR /&gt;&lt;BR /&gt;I'm using ifort version 11.1 on a 32-bit machine under ubuntu 10.04 if that matters.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Zhenya</description>
      <pubDate>Sat, 25 Dec 2010 17:34:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834671#M5968</guid>
      <dc:creator>burovski</dc:creator>
      <dc:date>2010-12-25T17:34:59Z</dc:date>
    </item>
    <item>
      <title>linking with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834672#M5969</link>
      <description>It can be as simple as &lt;BR /&gt;&lt;BR /&gt; $ ifort -mkl &lt;MYSOURCE1.F&gt; &lt;MYSOURCE2.F&gt;&lt;BR /&gt;&lt;BR /&gt;"but this plain doesn't work for me" does not convey any sense of what went wrong. Please post the actual command line used, and the error messages issued. You may add the -V option to produce more informative messages.&lt;BR /&gt;&lt;BR /&gt;&lt;/MYSOURCE2.F&gt;&lt;/MYSOURCE1.F&gt;</description>
      <pubDate>Sat, 25 Dec 2010 23:54:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834672#M5969</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-12-25T23:54:12Z</dc:date>
    </item>
    <item>
      <title>linking with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834673#M5970</link>
      <description>Zhenya,&lt;DIV&gt;may be the Linking Examples ( see into User's Guide) will help you or please see this &lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-linux-linking-applications-with-intel-mkl-version-100/"&gt;KB article&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV&gt;Don't forget to use the grouping symbols&lt;/DIV&gt;&lt;DIV&gt;-Wl,--start-group -...........-Wl,--end-group&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 Dec 2010 18:19:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834673#M5970</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-12-26T18:19:35Z</dc:date>
    </item>
    <item>
      <title>linking with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834674#M5971</link>
      <description>Thank you Gennady for the link to the KB article!</description>
      <pubDate>Sat, 08 Jan 2011 14:07:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/linking-with-MKL/m-p/834674#M5971</guid>
      <dc:creator>burovski</dc:creator>
      <dc:date>2011-01-08T14:07:43Z</dc:date>
    </item>
  </channel>
</rss>

