<?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 visual studio 2008(Fortran) ? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871576#M8560</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
thx~&lt;BR /&gt; I find the correct static MKL libs &lt;BR /&gt;Sincerely&lt;BR /&gt;&lt;BR /&gt;Jiang&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;More or less. I mean, follow Tim's reply and:&lt;BR /&gt;&lt;BR /&gt;(1) set Multithreaded in Runtime libraries (I think it's default in IVF in VS)&lt;BR /&gt;(2) specify static MKL libs (in linking line in VS) but use libiomp5md.lib and other non-static threading libs, as MKL suggests. This will save you from many problems with OpenMP and other threading problems&lt;BR /&gt;(3) get VC run-time redistributable package.&lt;BR /&gt;(4) check with Dependency Walker whether you need anything else.&lt;BR /&gt;&lt;BR /&gt;Equipped with that you should easily redistribute your exe. Obviously you need to provide only what you need. Redist.txt lists all libraries which you're allowed to distribute within license you purchased with compiler. Once VC is installed, you usually copy .exe libmmd.lib and libiomp5md.dll with new version(s) of your program. Nothing more.&lt;BR /&gt;&lt;BR /&gt;The procedure was quite the same for Compaq. The difference was that the redistributable Fortran package was provided (which copied VC and core libs, so you didn't see/copy dlls) and there was less libs regarding multi-threading and OpenMP support.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Jul 2009 19:55:54 GMT</pubDate>
    <dc:creator>jiang_2009</dc:creator>
    <dc:date>2009-07-02T19:55:54Z</dc:date>
    <item>
      <title>how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871568#M8552</link>
      <description>hi&lt;BR /&gt;I updated my fortran compiler from compaq 6.0 to intel visual fortran 2008 11.0 recently. &lt;BR /&gt;and I encountered a problem using mkl in visual studio 2008. Those test codes which worked well in compaq 6.0 , however, couldn't find the .lib in 2008. I have alreay installed the mkl part to fortran folder, and added the directry.&lt;BR /&gt;tools--&amp;gt;option--&amp;gt;intel fortran-&amp;gt;compiler--&amp;gt;include&lt;BR /&gt;$(IFortInstallDir)mkl\include&lt;BR /&gt;tools--&amp;gt;option--&amp;gt;intel fortran-&amp;gt;compiler--&amp;gt;library&lt;BR /&gt;$(IFortInstallDir)mkl\ia64\lib&lt;BR /&gt;tools--&amp;gt;option--&amp;gt;intel fortran-&amp;gt;compiler--&amp;gt;executables&lt;BR /&gt;$(IFortInstallDir)mkl\ia64\bin&lt;BR /&gt;&lt;BR /&gt;is there anything else I'm missing?&lt;BR /&gt;even if I use the example files in the folder, it still can not find the link&lt;BR /&gt;&lt;BR /&gt;here is the sample file:&lt;BR /&gt;&lt;BR /&gt;* CGETRF (F07ARE) Example Program Text&lt;BR /&gt;* Mark 15 Release. NAG Copyright 1991.&lt;BR /&gt;* .. Parameters ..&lt;BR /&gt;INTEGER NIN, NOUT&lt;BR /&gt;PARAMETER (NIN=5,NOUT=6)&lt;BR /&gt;! INTEGER MMAX, NMAX, LDA&lt;BR /&gt;PARAMETER (MMAX=8,NMAX=8,LDA=MMAX)&lt;BR /&gt;* .. Local Scalars ..&lt;BR /&gt;INTEGER I, IFAIL, INFO, J, M, N&lt;BR /&gt;* .. Local Arrays ..&lt;BR /&gt;COMPLEX A(LDA,NMAX)&lt;BR /&gt;INTEGER IPIV(NMAX)&lt;BR /&gt;CHARACTER CLABS(1), RLABS(1)&lt;BR /&gt;* .. External Subroutines ..&lt;BR /&gt;EXTERNAL CGETRF, X04DBE&lt;BR /&gt;* .. Intrinsic Functions ..&lt;BR /&gt;INTRINSIC MIN&lt;BR /&gt;* .. Executable Statements ..&lt;BR /&gt;WRITE (NOUT,*) 'CGETRF Example Program Results'&lt;BR /&gt;* Skip heading in data file&lt;BR /&gt;READ (NIN,*)&lt;BR /&gt;READ (NIN,*) M, N&lt;BR /&gt;IF (M.LE.MMAX .AND. N.LE.NMAX) THEN&lt;BR /&gt;*&lt;BR /&gt;* Read A from data file&lt;BR /&gt;*&lt;BR /&gt;READ (NIN,*) ((A(I,J),J=1,N),I=1,M)&lt;BR /&gt;*&lt;BR /&gt;* Factorize A&lt;BR /&gt;*&lt;BR /&gt;CALL CGETRF(M,N,A,LDA,IPIV,INFO)&lt;BR /&gt;*&lt;BR /&gt;* Print details of factorization&lt;BR /&gt;*&lt;BR /&gt;WRITE (NOUT,*)&lt;BR /&gt;IFAIL = 0&lt;BR /&gt;CALL X04DBE('General',' ',M,N,A,LDA,'Bracketed','F7.4',&lt;BR /&gt;+ 'Details of factorization','Integer',RLABS,&lt;BR /&gt;+ 'Integer',CLABS,80,0,IFAIL)&lt;BR /&gt;*&lt;BR /&gt;* Print pivot indices&lt;BR /&gt;*&lt;BR /&gt;WRITE (NOUT,*)&lt;BR /&gt;WRITE (NOUT,*) 'IPIV'&lt;BR /&gt;WRITE (NOUT,99999) (IPIV(I),I=1,MIN(M,N))&lt;BR /&gt;*&lt;BR /&gt;IF (INFO.NE.0) WRITE (NOUT,*) 'The factor U is singular'&lt;BR /&gt;*&lt;BR /&gt;END IF&lt;BR /&gt;STOP&lt;BR /&gt;*&lt;BR /&gt;99999 FORMAT ((1X,I12,3I18))&lt;BR /&gt;END&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it failes when building&lt;BR /&gt;&lt;BR /&gt;Error 1 error LNK2019: unresolved external symbol CGETRF referenced in function MAIN__ cgetrfx.obj &lt;BR /&gt;Error 2 error LNK2019: unresolved external symbol X04DBE referenced in function MAIN__ cgetrfx.obj &lt;BR /&gt;&lt;BR /&gt;thanks for help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 15:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871568#M8552</guid>
      <dc:creator>jiang_2009</dc:creator>
      <dc:date>2009-06-26T15:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871569#M8553</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
If you're switching from CVF, you can't use the IA64 (Itanium) libraries. An 11.0 or 11.1 compiler installation of a compiler appropriate to your OS and hardware should automatically take care of selecting the correct MKL version, if you accepted the MKL option during installation.&lt;BR /&gt;If you are running a Windows X64 version, and have installed the Visual Studio C++ and X64 options, you would want the ifort Intel64 and the MKL which comes with it. If you are running 32-bit Windows, you must use the ifort ia32 and the MKL which that installation will suggest.&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 19:43:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871569#M8553</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-26T19:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871570#M8554</link>
      <description>&lt;BR /&gt;
&lt;P&gt;I'd like to add two cents for tim18 commentsJ :&lt;/P&gt;
&lt;P&gt;Please look at the KB article how Configuring Intel Fortran in Microsoft* Visual Studio* to build Intel MKL Applications&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio/"&gt;http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2009 04:09:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871570#M8554</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-06-27T04:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871571#M8555</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;thanks, tim18 and &lt;/EM&gt;&lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov&lt;/A&gt;, &lt;EM&gt;both of your answers are very helpful. &lt;BR /&gt;&lt;BR /&gt;I have one more question:&lt;BR /&gt;Is there anything I need to do if I try to run the application on anthor computor without installation of intel &lt;/EM&gt;&lt;EM&gt;&lt;EM&gt;Fortran in Microsoft Visual Studio&lt;/EM&gt;&lt;/EM&gt;&lt;EM&gt;?&lt;BR /&gt;I copied&amp;amp;clicked the .exe file directly and was told to missing some .dll filesmkl_intel_thread.dll. even if I copied those files, it will keep telling me there are some other .dll files missing and so...-_- &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;I'd like to add two cents for tim18 commentsJ :&lt;/P&gt;
&lt;P&gt;Please look at the KB article how Configuring Intel Fortran in Microsoft* Visual Studio* to build Intel MKL Applications&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio/"&gt;http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jun 2009 19:26:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871571#M8555</guid>
      <dc:creator>jiang_2009</dc:creator>
      <dc:date>2009-06-29T19:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871572#M8556</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432706"&gt;jiang_2009&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;you need to copy Intel VF redistributable dll(s). Please note that debug libraries are NOT redistributable. The list is in redist.txt in the doc folder. You'll also need run-time libraries from VC (if the target machine doesn't have them already installled). For that one you can get self-extracting package from MS webpage. You can use &lt;A href="http://www.dependencywalker.com/"&gt;Dependency Walker&lt;/A&gt; to verify the dependencies of your exe file.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 00:20:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871572#M8556</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-06-30T00:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871573#M8557</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Hi,&lt;BR /&gt;&lt;BR /&gt;you need to copy Intel VF redistributable dll(s). Please note that debug libraries are NOT redistributable. The list is in redist.txt in the doc folder. You'll also need run-time libraries from VC (if the target machine doesn't have them already installled). For that one you can get self-extracting package from MS webpage. You can use &lt;A href="http://www.dependencywalker.com/"&gt;Dependency Walker&lt;/A&gt; to verify the dependencies of your exe file.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi,&lt;BR /&gt; thanks for your reply. Do you mean I have to copy all those .dll files listed in redist.txt, or, at least verified by Dependency walker, to the same directory of application? Could I just produce an application .exe file which can run without those .dll just like compaq visual Fortran did? thanks agian~&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 20:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871573#M8557</guid>
      <dc:creator>jiang_2009</dc:creator>
      <dc:date>2009-06-30T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871574#M8558</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432706"&gt;jiang_2009&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Do you mean I have to copy all those .dll files listed in redist.txt, or, at least verified by Dependency walker, to the same directory of application? Could I just produce an application .exe file which can run without those .dll just like compaq visual Fortran did?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
If you are interested in the static link options, look up the static-intel and openmp-link options in the ifort docs, I believe you must specify the static MKL libraries in your library dependencies, if you want those. Likewise, you may be interested in Microsoft options for Visual Studio static libraries.&lt;BR /&gt;It's difficult/inadvisable to use static libraries with .dll's which you build. Otherwise, the static link includes the necessary library functions in your .exe, making it larger, but avoiding the redistributable libraries.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 22:06:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871574#M8558</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-30T22:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871575#M8559</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/432706"&gt;jiang_2009&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Could I just produce an application .exe file which can run without those .dll just like compaq visual Fortran did? thanks agian~&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;More or less. I mean, follow Tim's reply and:&lt;BR /&gt;&lt;BR /&gt;(1) set Multithreaded in Runtime libraries (I think it's default in IVF in VS)&lt;BR /&gt;(2) specify static MKL libs (in linking line in VS) but use libiomp5md.lib and other non-static threading libs, as MKL suggests. This will save you from many problems with OpenMP and other threading problems&lt;BR /&gt;(3) get VC run-time redistributable package.&lt;BR /&gt;(4) check with Dependency Walker whether you need anything else.&lt;BR /&gt;&lt;BR /&gt;Equipped with that you should easily redistribute your exe. Obviously you need to provide only what you need. Redist.txt lists all libraries which you're allowed to distribute within license you purchased with compiler. Once VC is installed, you usually copy .exe libmmd.lib and libiomp5md.dll with new version(s) of your program. Nothing more.&lt;BR /&gt;&lt;BR /&gt;The procedure was quite the same for Compaq. The difference was that the redistributable Fortran package was provided (which copied VC and core libs, so you didn't see/copy dlls) and there was less libs regarding multi-threading and OpenMP support.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 00:22:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871575#M8559</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-07-01T00:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to use MKL in visual studio 2008(Fortran) ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871576#M8560</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
thx~&lt;BR /&gt; I find the correct static MKL libs &lt;BR /&gt;Sincerely&lt;BR /&gt;&lt;BR /&gt;Jiang&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;More or less. I mean, follow Tim's reply and:&lt;BR /&gt;&lt;BR /&gt;(1) set Multithreaded in Runtime libraries (I think it's default in IVF in VS)&lt;BR /&gt;(2) specify static MKL libs (in linking line in VS) but use libiomp5md.lib and other non-static threading libs, as MKL suggests. This will save you from many problems with OpenMP and other threading problems&lt;BR /&gt;(3) get VC run-time redistributable package.&lt;BR /&gt;(4) check with Dependency Walker whether you need anything else.&lt;BR /&gt;&lt;BR /&gt;Equipped with that you should easily redistribute your exe. Obviously you need to provide only what you need. Redist.txt lists all libraries which you're allowed to distribute within license you purchased with compiler. Once VC is installed, you usually copy .exe libmmd.lib and libiomp5md.dll with new version(s) of your program. Nothing more.&lt;BR /&gt;&lt;BR /&gt;The procedure was quite the same for Compaq. The difference was that the redistributable Fortran package was provided (which copied VC and core libs, so you didn't see/copy dlls) and there was less libs regarding multi-threading and OpenMP support.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jul 2009 19:55:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/how-to-use-MKL-in-visual-studio-2008-Fortran/m-p/871576#M8560</guid>
      <dc:creator>jiang_2009</dc:creator>
      <dc:date>2009-07-02T19:55:54Z</dc:date>
    </item>
  </channel>
</rss>

