<?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: How to use MKL in MSVC 2005(Intel Fortran) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869399#M8339</link>
    <description>&lt;BR /&gt;Hi Tim, &lt;BR /&gt;&lt;BR /&gt;Thank you for the message. Right, the recent MKLversion have provided a "build" menu in MSVC environment.Click &lt;STRONG&gt;one button&lt;/STRONG&gt;, all of environment setting and required library are ready in your project.(as below image). &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;But unfortuntely, the feature is not avaiable in current Intel Fortran Compiler. You may add/claim library path; add/claim header pathmanually. &lt;BR /&gt;&lt;BR /&gt;For use LAPACK95,BLAS95 interface,the newMKL version 10.2(you can upgrade the latestintel compiler to see it also ) contains the precompiled interface libraries and the corresponding precompiled interface modules for BLAS95 and LAPACK95 precompiled interface modules for BLAS95 and LAPACK95 in install package.&lt;BR /&gt;See &amp;lt;&lt;A href="http://software.intel.com/en-us/articles/blas-and-lapack-fortran95-mod-files/&amp;gt;"&gt;http://software.intel.com/en-us/articles/blas-and-lapack-fortran95-mod-files/&amp;gt;&lt;/A&gt;&lt;BR /&gt;So we don't trouble to build them byourselves. &lt;BR /&gt;&lt;BR /&gt;Please note: as the interface libraries are not MKL standard library, so the "one button" integration don't support it. You may add themmanually if you are using the interface, &lt;BR /&gt;in details, &lt;BR /&gt;1. &lt;STRONG&gt;&lt;PROJECT name=""&gt; &lt;/PROJECT&gt;&lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;Properties &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;Configuration Properties &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;C++ &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;General &lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Additional Include Directories &lt;/STRONG&gt;property is appended with &lt;MKL directory=""&gt;include &lt;BR /&gt;add C:Program FilesIntelMKL10.2.0.014includeia32,&lt;BR /&gt;Pleasekeep existing path, i.e: C:Program FilesIntelMKL10.2.0.014include&lt;BR /&gt;&lt;BR /&gt;2. The&lt;STRONG&gt;&lt;PROJECT name=""&gt; &amp;gt; Properties &amp;gt; Configuration Properties &amp;gt; Linker &amp;gt;Input&amp;gt; Additional Dependencies&lt;/PROJECT&gt;&lt;/STRONG&gt; &lt;BR /&gt;add mkl_lapack95.lib|mkl_blas95.lib &lt;BR /&gt;Please keep existing library, i.e mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib mkl_solver.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/MKL&gt;</description>
    <pubDate>Wed, 01 Jul 2009 02:44:59 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2009-07-01T02:44:59Z</dc:date>
    <item>
      <title>How to use MKL in MSVC 2005(Intel Fortran)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869397#M8337</link>
      <description>Dear ALL, &lt;BR /&gt;&lt;BR /&gt;I noticed some users have probelms when use MKL in MSVC 2005(Intel Fortran). I upload a MSVC 2005 project (Intel fortran 11.0.0.074 IA32)for your reference. &lt;BR /&gt;&lt;BR /&gt;Some notable things:&lt;BR /&gt;&lt;BR /&gt;1) which kind of application: ia32, em64t or ia64 application. &lt;BR /&gt;you may make sure which target machine you need your application run on? &lt;BR /&gt;ia32: 32 bit application.&lt;BR /&gt;em64t: Intel 64 bit application&lt;BR /&gt;IA64: Intel Itanium 64bit application. &lt;BR /&gt;&lt;BR /&gt;For example, most ofus may build ia32or em64t application on a xeon machine with windows*. Then in MSVC environment,Check the project configuration manager=&amp;gt; active platform. &lt;BR /&gt;They are "ia32" or "X64" (which is corresponding to em64t). &lt;BR /&gt;&lt;BR /&gt;2. Which MKLlibrary you need link into. &lt;BR /&gt;&lt;BR /&gt;Here is FAQ about &lt;A href="http://software.intel.com/en-us/articles/integrating-a-microsoft-visual-studio-ide-project-with-intel-mkl/"&gt;how to use MKL in MSVC&lt;/A&gt;. You may add the include path, library path as the article show. &lt;BR /&gt;&lt;BR /&gt;But about library path, as above, you need enter rigth directory:&lt;BR /&gt;they &lt;BR /&gt;&lt;MKL install="" dir=""&gt;\ia32, for ia32 application&lt;BR /&gt;&lt;MKL install="" dir=""&gt;\em64t, for X64 application&lt;BR /&gt;&lt;MKL install="" dir=""&gt;\em64t, for IA64 application&lt;BR /&gt;they can't be mixed &lt;BR /&gt;&lt;BR /&gt;Aboub the library you need. There are many libraries under MKL lib directory. Which one you needs? &lt;BR /&gt;
&lt;P&gt;We have on-line KB article &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" title="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;&lt;B&gt;Intel Math Kernel Library Link Line Advisor&lt;/B&gt;&lt;/A&gt; After choose it, you can get which libraries you need to list.&lt;/P&gt;
&lt;P&gt;In general, mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.libare enough for any ia32 windows application.&lt;BR /&gt;&lt;BR /&gt;3. About CVF support,&lt;BR /&gt;CVF and Intel Fortran compiler use different call convention by default:&lt;BR /&gt;CVF: stdcall &lt;BR /&gt;Intel Fortran,C Compiler: cdecl (default interface of the Microsoft Visual C* application) &lt;BR /&gt;&lt;BR /&gt;MKL support both of them on ia32 platform, but if you areportingfrom CVF to intel Fortran,you may take care the required library:mkl_intel_s or mkl_intel_c.lib&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Using the CVF compiler&lt;BR /&gt;the CVF compiler will link with mkl_intel_s[_dll].lib if routines are&lt;BR /&gt;compiled with the default interface. However, if you compile with the option&lt;BR /&gt;/iface=(cref,nomixed_str_len_arg), the compiler will link with&lt;BR /&gt;mkl_intel_c[_dll].lib .&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt; Using the Intel Fortran compiler&lt;BR /&gt;&lt;BR /&gt;The Intel Fortran compiler will link with mkl_intel_c[_dll].lib by default. If the&lt;BR /&gt;/Gm option is used, call mkl_intel_s[_dll].lib (/Gm enables CVF and Powerstation&lt;BR /&gt;calling convention compatibility, so does /iface:cvf).&lt;BR /&gt;&lt;BR /&gt;Additionally, if you are porting CVF applicationto X64 or IA64 platform with Intel Fortran compiler and MKL. Please note, MKL don't provide em64t and IA64 CVF interface support. So you must to link mkl_intel_lp64|ilp64, mkl_intel_thread, mkl_core. and remove the compiler option /Gm or /iface:cvf. &lt;BR /&gt;&lt;BR /&gt;4. Regarding Lapack95, blas95 interface library usage,we may discuss it laterif you have interest. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/P&gt;&lt;/MKL&gt;&lt;/MKL&gt;&lt;/MKL&gt;</description>
      <pubDate>Mon, 29 Jun 2009 06:22:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869397#M8337</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-06-29T06:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MKL in MSVC 2005(Intel Fortran)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869398#M8338</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
You might point out, since Intel 11.0 compilers (and ifort 10 professional), there is an integrated MKL installation option. This avoids the necessity for separate settings of MKL path, and ensures that the MKL architecture choice matches the compiler. It implies also that MKL updates are distributed in compiler updates.&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jun 2009 13:43:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869398#M8338</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-29T13:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use MKL in MSVC 2005(Intel Fortran)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869399#M8339</link>
      <description>&lt;BR /&gt;Hi Tim, &lt;BR /&gt;&lt;BR /&gt;Thank you for the message. Right, the recent MKLversion have provided a "build" menu in MSVC environment.Click &lt;STRONG&gt;one button&lt;/STRONG&gt;, all of environment setting and required library are ready in your project.(as below image). &lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.intel.com/skins/images/7B13F55A7CE623EF42E69096FA81A3A1/2021_redesign/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;But unfortuntely, the feature is not avaiable in current Intel Fortran Compiler. You may add/claim library path; add/claim header pathmanually. &lt;BR /&gt;&lt;BR /&gt;For use LAPACK95,BLAS95 interface,the newMKL version 10.2(you can upgrade the latestintel compiler to see it also ) contains the precompiled interface libraries and the corresponding precompiled interface modules for BLAS95 and LAPACK95 precompiled interface modules for BLAS95 and LAPACK95 in install package.&lt;BR /&gt;See &amp;lt;&lt;A href="http://software.intel.com/en-us/articles/blas-and-lapack-fortran95-mod-files/&amp;gt;"&gt;http://software.intel.com/en-us/articles/blas-and-lapack-fortran95-mod-files/&amp;gt;&lt;/A&gt;&lt;BR /&gt;So we don't trouble to build them byourselves. &lt;BR /&gt;&lt;BR /&gt;Please note: as the interface libraries are not MKL standard library, so the "one button" integration don't support it. You may add themmanually if you are using the interface, &lt;BR /&gt;in details, &lt;BR /&gt;1. &lt;STRONG&gt;&lt;PROJECT name=""&gt; &lt;/PROJECT&gt;&lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;Properties &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;Configuration Properties &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;C++ &lt;/STRONG&gt;&amp;gt; &lt;STRONG&gt;General &lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Additional Include Directories &lt;/STRONG&gt;property is appended with &lt;MKL directory=""&gt;include &lt;BR /&gt;add C:Program FilesIntelMKL10.2.0.014includeia32,&lt;BR /&gt;Pleasekeep existing path, i.e: C:Program FilesIntelMKL10.2.0.014include&lt;BR /&gt;&lt;BR /&gt;2. The&lt;STRONG&gt;&lt;PROJECT name=""&gt; &amp;gt; Properties &amp;gt; Configuration Properties &amp;gt; Linker &amp;gt;Input&amp;gt; Additional Dependencies&lt;/PROJECT&gt;&lt;/STRONG&gt; &lt;BR /&gt;add mkl_lapack95.lib|mkl_blas95.lib &lt;BR /&gt;Please keep existing library, i.e mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib mkl_solver.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying&lt;/MKL&gt;</description>
      <pubDate>Wed, 01 Jul 2009 02:44:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-use-MKL-in-MSVC-2005-Intel-Fortran/m-p/869399#M8339</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2009-07-01T02:44:59Z</dc:date>
    </item>
  </channel>
</rss>

