<?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 Using BLAS &amp; LAPACK in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825262#M5090</link>
    <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1294900324170="63" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=458147" href="https://community.intel.com/en-us/profile/458147/" class="basic"&gt;Frank_M&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;The libs mkl95_lapack and mkl95_blas live in C:\Program Files\Intel\Compiler\11.1\070\mkl\include\ia32&lt;BR /&gt;and are pre compiled.&lt;BR /&gt;&lt;BR /&gt;I don't know how to link the above mkl libs without using the INCLUDE statement. If I delete or comment out the INCLUDE statement -&amp;gt; no link. Could you point me at an example or article showing how do such a thing?&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Yes, you can use precompiled mod-files and add the following option for compiler&lt;BR /&gt;&lt;STRONG&gt;in case of LP64&lt;BR /&gt;&lt;/STRONG&gt; -I$(MKL_INC)/intel64/lp64&lt;BR /&gt;&lt;STRONG&gt;in case of ILP64&lt;/STRONG&gt; (then use ilp64 version of MKL librariesbelow)&lt;BR /&gt; -I$(MKL_INC)/intel64/ilp64&lt;BR /&gt;&lt;BR /&gt;Also it needs to link with the following additional (for recommended by&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Link Line Advisor&lt;/A&gt;) MKL libraries:&lt;BR /&gt;&lt;STRONG&gt;in case of MKL Dynamic libs for LP64&lt;BR /&gt;&lt;/STRONG&gt; -lmkl_blas95_lp64 -lmkl_lapack95_lp64 &lt;BR /&gt;&lt;STRONG&gt;in case of MKL Static libs for LP64&lt;BR /&gt;&lt;/STRONG&gt; -lmkl_blas95_lp64 -lmkl_lapack95_lp64 &lt;BR /&gt;&lt;BR /&gt;N.B. &lt;BR /&gt;MKL_INC = $(MKLROOT)/include&lt;BR /&gt;MKLPATH = $(MKLROOT)/lib/ia32&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2011 06:40:23 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2011-01-13T06:40:23Z</dc:date>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825258#M5086</link>
      <description>When using BLAS &amp;amp; LAPACK, with MKL and fortran 11.1.070&lt;BR /&gt;Windows XP Professional 32&lt;BR /&gt;&lt;BR /&gt;I get: &lt;BR /&gt;&lt;BR /&gt;Error3 error LNK2005: _F95_PRECISION. already defined in FLIB.lib(GET_SARMA.obj)C:\\Documents and Settings\\fm\\My Documents\\Visual Studio 2008\\Projects\\TSEx\\TSEx\\FLIB.lib(POLYMULT.obj)&lt;BR /&gt;&lt;BR /&gt;when&lt;BR /&gt;&lt;BR /&gt;INCLUDE 'blas.f90'&lt;BR /&gt;INCLUDE 'lapack.f90' &lt;BR /&gt;&lt;BR /&gt;are in the same project. &lt;BR /&gt;&lt;BR /&gt;What do I need to config/declare to get BLAS &amp;amp; LAPACK to work together in the same project without stumbling over _F95_PRECISION?&lt;BR /&gt;&lt;SPAN style="color: #800000; font-size: x-small;"&gt;&lt;SPAN style="color: #800000; font-size: x-small;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #800000; font-size: x-small;"&gt;&lt;SPAN style="color: #800000; font-size: x-small;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;</description>
      <pubDate>Wed, 12 Jan 2011 09:14:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825258#M5086</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2011-01-12T09:14:33Z</dc:date>
    </item>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825259#M5087</link>
      <description>Well, this is incorrect using of Fortran UNCLUDEs of BLAS and LAPACK in current MKL.&lt;BR /&gt;Please compile these files separeltly and add&lt;BR /&gt; use blas95&lt;BR /&gt; use lapack95&lt;BR /&gt;statements in your file&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2011 09:33:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825259#M5087</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-01-12T09:33:30Z</dc:date>
    </item>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825260#M5088</link>
      <description>First: Thank You&lt;BR /&gt;&lt;BR /&gt;Second: More info.&lt;BR /&gt;&lt;BR /&gt;The statements &lt;BR /&gt;&lt;BR /&gt;USE mkl95_lapack, ONLY: HSEQR&lt;BR /&gt;&lt;BR /&gt;USE mkl95_blas, ONLY: GEMV&lt;BR /&gt;&lt;BR /&gt;are the first statements following the SUBROUTINE statement.&lt;BR /&gt;&lt;BR /&gt;The libs mkl95_lapack and mkl95_blas live in C:\Program Files\Intel\Compiler\11.1\070\mkl\include\ia32&lt;BR /&gt;and are pre compiled.&lt;BR /&gt;&lt;BR /&gt;I don't know how to link the above mkl libs without using the INCLUDE statement. If I delete or comment out the INCLUDE statement -&amp;gt; no link. Could you point me at an example or article showing how do such a thing?&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2011 13:40:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825260#M5088</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2011-01-12T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825261#M5089</link>
      <description>Your description shows that you have some misunderstandings about include files, modules and libraries. These entities are related but not identical.&lt;BR /&gt;&lt;BR /&gt;Using an INCLUDE statement does not, by itself, cause any library to be be included at link time. An INCLUDE statement causes the contents of the INCLUDEd file to be inserted at that point. The included text can be Fortran code, comments, or directives. The source code, after INCLUDE statements have been acted upon, must be valid Fortran source code.&lt;BR /&gt;&lt;BR /&gt;USE statements cause the compiler to read .mod files to obtain information about module data and argument type information that is not available otherwise but is necessary for correctly compiling the source code.&lt;BR /&gt;&lt;BR /&gt;Unless the source code (after the INCLUDEd text is inserted) contains appropriate OBJCOMMENT directives, you will need to specify the MKL libraries to be linked in using compiler options or using the linker options that the MKL Link Line Advisor provides you.</description>
      <pubDate>Thu, 13 Jan 2011 03:10:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825261#M5089</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-01-13T03:10:53Z</dc:date>
    </item>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825262#M5090</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1294900324170="63" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=458147" href="https://community.intel.com/en-us/profile/458147/" class="basic"&gt;Frank_M&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;The libs mkl95_lapack and mkl95_blas live in C:\Program Files\Intel\Compiler\11.1\070\mkl\include\ia32&lt;BR /&gt;and are pre compiled.&lt;BR /&gt;&lt;BR /&gt;I don't know how to link the above mkl libs without using the INCLUDE statement. If I delete or comment out the INCLUDE statement -&amp;gt; no link. Could you point me at an example or article showing how do such a thing?&lt;BR /&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Yes, you can use precompiled mod-files and add the following option for compiler&lt;BR /&gt;&lt;STRONG&gt;in case of LP64&lt;BR /&gt;&lt;/STRONG&gt; -I$(MKL_INC)/intel64/lp64&lt;BR /&gt;&lt;STRONG&gt;in case of ILP64&lt;/STRONG&gt; (then use ilp64 version of MKL librariesbelow)&lt;BR /&gt; -I$(MKL_INC)/intel64/ilp64&lt;BR /&gt;&lt;BR /&gt;Also it needs to link with the following additional (for recommended by&lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Link Line Advisor&lt;/A&gt;) MKL libraries:&lt;BR /&gt;&lt;STRONG&gt;in case of MKL Dynamic libs for LP64&lt;BR /&gt;&lt;/STRONG&gt; -lmkl_blas95_lp64 -lmkl_lapack95_lp64 &lt;BR /&gt;&lt;STRONG&gt;in case of MKL Static libs for LP64&lt;BR /&gt;&lt;/STRONG&gt; -lmkl_blas95_lp64 -lmkl_lapack95_lp64 &lt;BR /&gt;&lt;BR /&gt;N.B. &lt;BR /&gt;MKL_INC = $(MKLROOT)/include&lt;BR /&gt;MKLPATH = $(MKLROOT)/lib/ia32&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 06:40:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825262#M5090</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-01-13T06:40:23Z</dc:date>
    </item>
    <item>
      <title>Using BLAS &amp; LAPACK</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825263#M5091</link>
      <description>Thanks, that got it.</description>
      <pubDate>Thu, 13 Jan 2011 12:14:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-BLAS-LAPACK/m-p/825263#M5091</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2011-01-13T12:14:38Z</dc:date>
    </item>
  </channel>
</rss>

