<?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: Linking problem, OMP Error #15 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-problem-OMP-Error-15/m-p/853440#M6695</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Arial;"&gt;Could you please link with dynamic treading library libiomp5md.lib instead of static you used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Arial;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Nov 2008 19:23:44 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2008-11-05T19:23:44Z</dc:date>
    <item>
      <title>Linking problem, OMP Error #15</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-problem-OMP-Error-15/m-p/853439#M6694</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;So I've managed to create .dlls (plug-ins) that staticly link to MKL 10.0.5.025, using mkl_c.lib, mkl_core.lib and libomp5mt.lib (or libguide.lib) in VC2005.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This works fine as long as a hosting application loads only one of these .dlls. But as soon as a second .dll is loaded, things go weird with this message popping up: "OMP: Error #15: initializing libiomp5mt.lib, but found libiomp5mt.lib already initialized [...]".&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Does that mean that MKL can not be used with static linking for plug-in environments that may load multiple exectuables that staticly link to it?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Is there a combination of static libs that I can link to that do not interfere with each other?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;;) Urs&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2008 16:49:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-problem-OMP-Error-15/m-p/853439#M6694</guid>
      <dc:creator>ursheckmann</dc:creator>
      <dc:date>2008-11-05T16:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linking problem, OMP Error #15</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-problem-OMP-Error-15/m-p/853440#M6695</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Arial;"&gt;Could you please link with dynamic treading library libiomp5md.lib instead of static you used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Arial;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Nov 2008 19:23:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-problem-OMP-Error-15/m-p/853440#M6695</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2008-11-05T19:23:44Z</dc:date>
    </item>
  </channel>
</rss>

