<?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 The USE MKL95_LAPACK in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978109#M17240</link>
    <description>&lt;P&gt;The USE MKL95_LAPACK statement is needed because the generic subroutine name SYGST is called from your code, and the subroutine has optional arguments. The information in the module USEd is needed by the compiler to select the specific subroutine and to pass the arguments properly.&lt;/P&gt;
&lt;P&gt;From a console window, with the Intel compiler and MKL environment properly set, you use the command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ ifort &amp;lt;&lt;EM&gt;myprog.f90&lt;/EM&gt;&amp;gt; &amp;lt;&lt;EM&gt;list of libraries given by link-line-adviser&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Note the blank space between the command and the first argument (the source file name) and another between the latter and the list of libraries.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2013 21:59:56 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2013-03-22T21:59:56Z</dc:date>
    <item>
      <title>Using mkl with linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978106#M17237</link>
      <description>&lt;P&gt;When i write&amp;nbsp;ifort -mkl -c &amp;nbsp;%fname% there's an error:&lt;/P&gt;
&lt;P&gt;/tmp/ifortkyko2F.o: In function `MAIN__':&lt;BR /&gt;%fname%:(.text+0x1233): undefined reference to `sygst_'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;mkl is installed and i used mklvars&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 19:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978106#M17237</guid>
      <dc:creator>Dmitriy_F_</dc:creator>
      <dc:date>2013-03-22T19:27:11Z</dc:date>
    </item>
    <item>
      <title>You did not show any code, so</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978107#M17238</link>
      <description>&lt;P&gt;You did not show any code, so this is a guess: you probably forgot to add USE MKL95_LAPACK in the subprogram/main program from which sygst() is called, and did not tell the linker to search the appropriate Lapack95 library (depends on target architecture; see the MKL Link Line Adviser).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 20:45:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978107#M17238</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-03-22T20:45:09Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978108#M17239</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;you probably forgot to add USE MKL95_LAPACK&lt;/P&gt;
&lt;P&gt;and did not tell the linker to search the appropriate Lapack95 library (depends on target architecture; see the MKL Link Line Adviser).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;i didn't know about use, ty&lt;/P&gt;
&lt;P&gt;MKL Link Line Adviser offers me use this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;$(MKLROOT)/lib/ia32/libmkl_lapack95.a -Wl,--start-group &amp;nbsp;$(MKLROOT)/lib/ia32/libmkl_intel.a $(MKLROOT)/lib/ia32/libmkl_sequential.a $(MKLROOT)/lib/ia32/libmkl_core.a -Wl,--end-group -lpthread -lm&lt;/P&gt;
&lt;P&gt;and i don't know how to use it( what should i run in terminal? sorry, i'm new in fortran and linux&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 21:06:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978108#M17239</guid>
      <dc:creator>Dmitriy_F_</dc:creator>
      <dc:date>2013-03-22T21:06:32Z</dc:date>
    </item>
    <item>
      <title>The USE MKL95_LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978109#M17240</link>
      <description>&lt;P&gt;The USE MKL95_LAPACK statement is needed because the generic subroutine name SYGST is called from your code, and the subroutine has optional arguments. The information in the module USEd is needed by the compiler to select the specific subroutine and to pass the arguments properly.&lt;/P&gt;
&lt;P&gt;From a console window, with the Intel compiler and MKL environment properly set, you use the command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ ifort &amp;lt;&lt;EM&gt;myprog.f90&lt;/EM&gt;&amp;gt; &amp;lt;&lt;EM&gt;list of libraries given by link-line-adviser&lt;/EM&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Note the blank space between the command and the first argument (the source file name) and another between the latter and the list of libraries.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 21:59:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978109#M17240</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-03-22T21:59:56Z</dc:date>
    </item>
    <item>
      <title>i've tried </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978110#M17241</link>
      <description>&lt;P&gt;i've tried&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifort curs1.f90 /opt/intel/composer_xe_2013.2.146/mkl/lib/ia32/libmkl_lapack95.a -Wl,--start-group /opt/intel/composer_xe_2013.2.146/mkl/lib/ia32/libmkl_intel.a /opt/intel/composer_xe_2013.2.146/mkl/lib/ia32/libmkl_sequential.a /opt/intel/composer_xe_2013.2.146/mkl/lib/ia32/libmkl_core.a -Wl,--end-group -lpthread -lm&lt;/P&gt;
&lt;P&gt;with&amp;nbsp;USE MKL95_LAPACK and got&amp;nbsp;&lt;/P&gt;
&lt;P&gt;error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL95_LAPACK]&lt;BR /&gt;USE MKL95_LAPACK&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for curs1.f90 (code 1)&lt;/P&gt;
&lt;P&gt;and then&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifort curs1.f90 -I /opt/intel/composer_xe_2013.2.146/mkl/include/ia32&lt;/P&gt;
&lt;P&gt;with&amp;nbsp;USE MKL95_LAPACK&amp;nbsp;and got&lt;/P&gt;
&lt;P&gt;/tmp/ifortNJbKDO.o: In function `MAIN__':&lt;BR /&gt;curs1.f90:(.text+0x270d): undefined reference to `dsygst_mkl95_'&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 22:17:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978110#M17241</guid>
      <dc:creator>Dmitriy_F_</dc:creator>
      <dc:date>2013-03-22T22:17:00Z</dc:date>
    </item>
    <item>
      <title>Your first command line did</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978111#M17242</link>
      <description>&lt;P&gt;Your first command line did not work because the -I option was not given; the second failed since you did not specify the MKL libraries. Both are needed for the compilation and linking to succeed. We do not know which version of IFort and which version of MKL you have.&lt;/P&gt;
&lt;P&gt;Try the following two alternatives:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, To your first command line, add the -mkl option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, To your second command line, add the list of libraries given by the MKL link adviser.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2013 23:29:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978111#M17242</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-03-22T23:29:29Z</dc:date>
    </item>
    <item>
      <title>the first alternative is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978112#M17243</link>
      <description>&lt;P&gt;the first alternative is working! thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2013 13:01:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-mkl-with-linux/m-p/978112#M17243</guid>
      <dc:creator>Dmitriy_F_</dc:creator>
      <dc:date>2013-03-23T13:01:03Z</dc:date>
    </item>
  </channel>
</rss>

