<?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 Choosing static or dynamic linking of MKL in Visual Studio? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Choosing-static-or-dynamic-linking-of-MKL-in-Visual-Studio/m-p/827585#M5228</link>
    <description>The link advisor tool at the top of the forum (and in your installation) is the best source for a recommendation about link options. Static linking may possibly improve performance, but you won't see the difference unless you disable dynamic processor speed stepping. It will make your .exe much larger, but will avoid having to install the MKL distributable library on each platform you run on.&lt;BR /&gt;The libiomp5 is handled separately from the static link options you will see in link advisor. Default is to use dynamic even when everything else is static /MT. You would have to name the MT openmp library version explicitly in your link step. You must take care then that you link it only once, in the final link, not when making a .dll, and that you also avoid linking the vcomp, which it replaces.</description>
    <pubDate>Thu, 10 May 2012 12:39:55 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2012-05-10T12:39:55Z</dc:date>
    <item>
      <title>Choosing static or dynamic linking of MKL in Visual Studio?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Choosing-static-or-dynamic-linking-of-MKL-in-Visual-Studio/m-p/827584#M5227</link>
      <description>Dear Intel,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I am building a C++ application that uses MKL in Visual Studio. How do I choose between static or dynamic linking? The default seems to be dynamic linking, but I cannot find a way to change to static linking (desired for this application).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Please advise. All the best,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Bjrn Nilsson&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Lund, Sweden&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 May 2012 14:37:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Choosing-static-or-dynamic-linking-of-MKL-in-Visual-Studio/m-p/827584#M5227</guid>
      <dc:creator>Bj4</dc:creator>
      <dc:date>2012-05-09T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Choosing static or dynamic linking of MKL in Visual Studio?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Choosing-static-or-dynamic-linking-of-MKL-in-Visual-Studio/m-p/827585#M5228</link>
      <description>The link advisor tool at the top of the forum (and in your installation) is the best source for a recommendation about link options. Static linking may possibly improve performance, but you won't see the difference unless you disable dynamic processor speed stepping. It will make your .exe much larger, but will avoid having to install the MKL distributable library on each platform you run on.&lt;BR /&gt;The libiomp5 is handled separately from the static link options you will see in link advisor. Default is to use dynamic even when everything else is static /MT. You would have to name the MT openmp library version explicitly in your link step. You must take care then that you link it only once, in the final link, not when making a .dll, and that you also avoid linking the vcomp, which it replaces.</description>
      <pubDate>Thu, 10 May 2012 12:39:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Choosing-static-or-dynamic-linking-of-MKL-in-Visual-Studio/m-p/827585#M5228</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-05-10T12:39:55Z</dc:date>
    </item>
  </channel>
</rss>

