<?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 Re: Link to MKL  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859789#M7380</link>
    <description>&lt;DIV style="margin:0px;"&gt;wjiang123,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;try to change your command line to following:&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;ifort -i8 -o prog prog.f -L/MKL path/ -I/INCLUDE path -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_solver_ilp64 -lmkl_lapack -lmkl_core -Wl,--end-group -lguide -lpthread -lm&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;in this case dynamic MKL libraries will be used.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Andrey&lt;/DIV&gt;</description>
    <pubDate>Mon, 27 Oct 2008 06:50:04 GMT</pubDate>
    <dc:creator>Andrey_G_Intel2</dc:creator>
    <dc:date>2008-10-27T06:50:04Z</dc:date>
    <item>
      <title>Link to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859788#M7379</link>
      <description>&lt;P&gt;Hi MKL users,&lt;/P&gt;
&lt;P&gt;I don't know how to link my program to MKL package. I want to use two libraries, lapack and pardiso, in MKL and try to link it to my program with the following command:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ifort -i8 -o prog prog.f -L /MKL path/ -I /INCLUDE path -Wl,--start-group -lmkl_intel_ilp64.a -lmkl_intel_thread.a -lmkl_solver_ilp64.a -lmkl_lapack.a -Wl&lt;BR /&gt;,--end-group -lguide -lpthread -lm&amp;amp;&lt;/P&gt;
&lt;P&gt;But obtain the following error:&lt;/P&gt;
&lt;P&gt;ld: cannot find -lmkl_intel_ilp64.a&lt;/P&gt;
&lt;P&gt;I also set environment variables in ./bashrc, .bash_profile and .profile files, such as PATH, LIB, INCLUDE.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Could someone tell me what is wrong in detail? I am not very familiar with those stuffs. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Wen&lt;/P&gt;</description>
      <pubDate>Sun, 26 Oct 2008 04:02:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859788#M7379</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-10-26T04:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Link to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859789#M7380</link>
      <description>&lt;DIV style="margin:0px;"&gt;wjiang123,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;try to change your command line to following:&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;ifort -i8 -o prog prog.f -L/MKL path/ -I/INCLUDE path -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_solver_ilp64 -lmkl_lapack -lmkl_core -Wl,--end-group -lguide -lpthread -lm&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;in this case dynamic MKL libraries will be used.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Andrey&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Oct 2008 06:50:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859789#M7380</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-10-27T06:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Link to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859790#M7381</link>
      <description>&lt;DIV style="margin:0px;"&gt;I tried that but still got the same problem:  ld: cannot find -lmkl_intel_ilp64.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I also tried to compile the pardiso_unsym_f.f file under the 'examples/solver/source' directory and got the same thing.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 17:46:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859790#M7381</guid>
      <dc:creator>wjiang123</dc:creator>
      <dc:date>2008-10-27T17:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Link to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859791#M7382</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/405971"&gt;wjiang123&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;DIV style="margin:0px;"&gt;I tried that but still got the same problem:  ld: cannot find -lmkl_intel_ilp64.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I also tried to compile the pardiso_unsym_f.f file under the 'examples/solver/source' directory and got the same thing.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Wen,&lt;/P&gt;
&lt;P&gt;Please make sure the path /MKL path/ you are using in the link line does contain the required libraries (e.g. libmkl_intel_ilp64.a or libmkl_intel_ilp64.so). Usually such paths look like this:&lt;/P&gt;
&lt;P&gt;/opt/mkl100/lib/em64t&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;-Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 05:17:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-to-MKL/m-p/859791#M7382</guid>
      <dc:creator>Vladimir_Petrov__Int</dc:creator>
      <dc:date>2008-10-28T05:17:50Z</dc:date>
    </item>
  </channel>
</rss>

