<?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 Possible issue for multiple static linking in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986521#M17799</link>
    <description>we were using sequential version. Namely,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;For both A.dll and B.dll we statically linked with&amp;nbsp;&lt;DIV id="_mcePaste"&gt;mkl_intel_c.lib&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;mkl_sequential.lib&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;mkl_core.lib&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Then in our application, we first use A.dll to perform some mkl operations. Later we use B.dll to use mkl functionality again.&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;In some cases, in using B.dll, we get a dll initialization exception. restarting application (without using the part that will load A.dll) resolved the problem.&amp;nbsp;&amp;nbsp;That makes me thinking there are some MKL initialization which can only be executed once in the same application.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I resolved it by making both A.dll and B.dll using SDL (mkl_rt.dll). &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 28 Aug 2012 19:08:50 GMT</pubDate>
    <dc:creator>Rich_Lee</dc:creator>
    <dc:date>2012-08-28T19:08:50Z</dc:date>
    <item>
      <title>Possible issue for multiple static linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986518#M17796</link>
      <description>Hi Forum:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am wondering if anyone experience issue with a program with multiple DLLs, each is statically linked with MKL?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Rich Lee&lt;/DIV&gt;&lt;DIV&gt;KLA-Tencor&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Aug 2012 20:23:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986518#M17796</guid>
      <dc:creator>Rich_Lee</dc:creator>
      <dc:date>2012-08-24T20:23:03Z</dc:date>
    </item>
    <item>
      <title>Possible issue for multiple static linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986519#M17797</link>
      <description>If you have multiple links against static OpenMP library, you can expect difficulty.&amp;nbsp; You should see the run-time error about multiple instances of OpenMP.&amp;nbsp; Defaults are set such that this shouldn't happen by accident.&lt;BR /&gt;Static linking would inflate the size of the .dll and might lead to run-time issues with MKL load time or memory consumption.</description>
      <pubDate>Sat, 25 Aug 2012 12:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986519#M17797</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-08-25T12:16:11Z</dc:date>
    </item>
    <item>
      <title>Possible issue for multiple static linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986520#M17798</link>
      <description>Is their the possiblity of adding API for Static Linkingg</description>
      <pubDate>Tue, 28 Aug 2012 03:13:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986520#M17798</guid>
      <dc:creator>Christos_Amarandos</dc:creator>
      <dc:date>2012-08-28T03:13:27Z</dc:date>
    </item>
    <item>
      <title>Possible issue for multiple static linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986521#M17799</link>
      <description>we were using sequential version. Namely,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;For both A.dll and B.dll we statically linked with&amp;nbsp;&lt;DIV id="_mcePaste"&gt;mkl_intel_c.lib&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;mkl_sequential.lib&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;mkl_core.lib&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Then in our application, we first use A.dll to perform some mkl operations. Later we use B.dll to use mkl functionality again.&amp;nbsp;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;In some cases, in using B.dll, we get a dll initialization exception. restarting application (without using the part that will load A.dll) resolved the problem.&amp;nbsp;&amp;nbsp;That makes me thinking there are some MKL initialization which can only be executed once in the same application.&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I resolved it by making both A.dll and B.dll using SDL (mkl_rt.dll). &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Aug 2012 19:08:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-issue-for-multiple-static-linking/m-p/986521#M17799</guid>
      <dc:creator>Rich_Lee</dc:creator>
      <dc:date>2012-08-28T19:08:50Z</dc:date>
    </item>
  </channel>
</rss>

