<?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: MKL and Intel Fortran - Newbee Question in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916283#M12630</link>
    <description>The libguide provided with MKL is intended mainly for use with compilers which don't provide such a library. When using MKL with an up to date ICL or ifort, it's generally preferable to use the libguide provided by the compiler (e.g. implied by linking with -Qopenmp or -Qparallel). At least, this is my understanding, after getting tangled up several times, and consulting with Intel experts.&lt;BR /&gt;As recent responses pointed out, you would normally use only cdecl with compilers which support it. mkl_s is provided for compatibility with 32-bit compilers which used that interface, but are no longer maintained.&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Jul 2006 01:02:07 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2006-07-28T01:02:07Z</dc:date>
    <item>
      <title>MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916278#M12625</link>
      <description>&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;Hi all,&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;I inherited responsibility for a fortran (IVF) dynamic link project that is part of my Visual Studio solution.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I dont know fortran very well.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;I have been asked to look at getting MKL to work with this program.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;MKL is installed.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I added the path for the include, library, and executable files.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I was not sure which additional dependences were needed in the linker &amp;gt; input section so I left that blank.&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;Now what do I do?&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I search the site for an example but could not find anything.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I am not sure how I tell the fortran source files to use this new library.&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;I would appreciate any help to get started.&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;Thank you,&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;P&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;Eric&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:11:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916278#M12625</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2006-07-19T06:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916279#M12626</link>
      <description>&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;Hi Eric,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;You can refer the following documents: &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;1. The follow page talk to how to set the compiler environment: &lt;BR /&gt;&lt;/FONT&gt;&lt;A href="http://support.intel.com/support/performancetools/libraries/mkl/win/sb/cs-017282.htm"&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://support.intel.com/support/performancetools/libraries/mkl/win/sb/cs-017282.htm" target="_blank"&gt;http://support.intel.com/support/performancetools/libraries/mkl/win/sb/cs-017282.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;2. MKL get stated document: MKLDIRGetting_Started.htm&lt;BR /&gt;Section "Linking Your Application with Intel MKL" talks about which library you need to link with your application.&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;Chao&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2006 15:02:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916279#M12626</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2006-07-24T15:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916280#M12627</link>
      <description>&lt;P&gt;In addition, &lt;/P&gt;
&lt;P&gt;There is example source in the examples directory of MKL. This might be helpful for seeing how to include MKL headers and modules (depending on what functionality you are using).&lt;/P&gt;
&lt;P&gt;-Todd&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2006 00:09:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916280#M12627</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2006-07-27T00:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916281#M12628</link>
      <description>&lt;P&gt;Hi Chao,&lt;/P&gt;
&lt;P&gt;Thanks for the response. I believe I have installed and set the appropiate variables in both the shell and Visual Studio. &lt;/P&gt;
&lt;P&gt;The documentation shows command line parameters on how to link the libraries to the program. Since I am using Visual Studio to compile I think I need to add the libraries to the project properties page. I am unsure where or how to do that. Can someone help?&lt;/P&gt;
&lt;P&gt;I have found the examples Todd mentioned. I tried to add them as a project in Visual Studio but had no success. Can that be done? Is there any VS/ Fortran examples anywhere?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2006 01:21:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916281#M12628</guid>
      <dc:creator>aggiedad</dc:creator>
      <dc:date>2006-07-27T01:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916282#M12629</link>
      <description>Eric,&lt;BR /&gt;&lt;BR /&gt;clicking in Studio (from main menu) Project/Properties brings up the Project Property pages. Select Linker/Input and in Additional Dependencies add the libraries you need, using the guidelines in Getting Started (as Chao already mentioned). For example, for cdecl interface for static linking&lt;CODE&gt;&lt;/CODE&gt;, LAPACK, and kernel add:&lt;CODE&gt;&lt;B&gt; mkl_c.lib libguide.lib&lt;/B&gt; in it.&lt;BR /&gt;As far as LAPACK-95 interfaces go, read carefully notes, as you need to include in your project provided interfaces to F77 routines. After building project you will get warning LNK4078: multiple '_RDATA' sections found with different attributes (40301040), but this is harmless, so just ignore it.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/CODE&gt;</description>
      <pubDate>Thu, 27 Jul 2006 16:41:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916282#M12629</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2006-07-27T16:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: MKL and Intel Fortran - Newbee Question</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916283#M12630</link>
      <description>The libguide provided with MKL is intended mainly for use with compilers which don't provide such a library. When using MKL with an up to date ICL or ifort, it's generally preferable to use the libguide provided by the compiler (e.g. implied by linking with -Qopenmp or -Qparallel). At least, this is my understanding, after getting tangled up several times, and consulting with Intel experts.&lt;BR /&gt;As recent responses pointed out, you would normally use only cdecl with compilers which support it. mkl_s is provided for compatibility with 32-bit compilers which used that interface, but are no longer maintained.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jul 2006 01:02:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-and-Intel-Fortran-Newbee-Question/m-p/916283#M12630</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2006-07-28T01:02:07Z</dc:date>
    </item>
  </channel>
</rss>

