<?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 To the compile command add  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922467#M13151</link>
    <description>&lt;P&gt;To the compile command add -l&lt;EM&gt;the_name_of_the_blas95_library&lt;/EM&gt;. For example, -lmkl_blas95 for IA32 targets.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Apr 2013 21:04:33 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2013-04-06T21:04:33Z</dc:date>
    <item>
      <title>Using blas95/lapack95</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922466#M13150</link>
      <description>&lt;P&gt;I'm new to using ifort for Mac, and am attempting to use the Fortran95 interfaces to blas but I can't get it to work.&lt;/P&gt;
&lt;P&gt;I'm trying to use dot(x,y) but when I compile I get an error.&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;program test&lt;BR /&gt; use mkl95_blas&lt;BR /&gt; use mkl95_precision&lt;BR /&gt;implicit none&lt;BR /&gt; &lt;BR /&gt; real,dimension(2) :: x,y&lt;/P&gt;
&lt;P&gt;real res&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; x = (/1,1/)&lt;BR /&gt; y = (/2,2/)&lt;BR /&gt; res = dot(x,y)&lt;BR /&gt; print *,res&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;end program&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;When I compile I do:&lt;/P&gt;
&lt;P&gt;ifort test.f90 -o test -mkl&lt;/P&gt;
&lt;P&gt;and get the error:&lt;/P&gt;
&lt;P&gt;Undefined symbols for architecture x86_64:&lt;BR /&gt; "_sdot_mkl95_", referenced from:&lt;BR /&gt; _MAIN__ in ifortSsxXlV.o&lt;BR /&gt;ld: symbol(s) not found for architecture x86_64&lt;/P&gt;
&lt;P&gt;I think I'm missing someting in the compile options, but I don't know what.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2013 19:51:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922466#M13150</guid>
      <dc:creator>nousername</dc:creator>
      <dc:date>2013-04-06T19:51:57Z</dc:date>
    </item>
    <item>
      <title>To the compile command add</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922467#M13151</link>
      <description>&lt;P&gt;To the compile command add -l&lt;EM&gt;the_name_of_the_blas95_library&lt;/EM&gt;. For example, -lmkl_blas95 for IA32 targets.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2013 21:04:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922467#M13151</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-04-06T21:04:33Z</dc:date>
    </item>
    <item>
      <title>If compiler reports</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922468#M13152</link>
      <description>&lt;P&gt;If compiler reports unresolved symbols/references: &amp;nbsp;_*_mkl95, then you may add&amp;nbsp;these libraries:&amp;nbsp;mkl_blas95.lib mkl_blas95_lp64.lib mkl_lapack95.lib&amp;nbsp;manually. see the KB article as an example from here:&amp;nbsp;&lt;A href="http://software.intel.com/en-us/articles/using-mkl-in-intel-compiler-mkl-qmkl-options"&gt;http://software.intel.com/en-us/articles/using-mkl-in-intel-compiler-mkl-qmkl-options&lt;/A&gt;&amp;nbsp;or there are many linking examples into User's Guide.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2013 21:06:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922468#M13152</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2013-04-06T21:06:27Z</dc:date>
    </item>
    <item>
      <title>Thanks for the help, it</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922469#M13153</link>
      <description>&lt;P&gt;Thanks for the help, it compiles fine now&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2013 23:27:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-blas95-lapack95/m-p/922469#M13153</guid>
      <dc:creator>nousername</dc:creator>
      <dc:date>2013-04-06T23:27:00Z</dc:date>
    </item>
  </channel>
</rss>

