<?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 OMP: Error #15 Initializing libguide.lib in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889075#M10246</link>
    <description>&lt;DIV&gt;I am using MKL 10.1.1.022 with Microsoft Visual Studio 2005 and Microsoft Visual C++ compiler.&lt;/DIV&gt;
&lt;DIV&gt;The solution suggested below applies to Intel compiler. How do I fix this error in Microsft Visual C++ compiler?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Arun&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
OMP: Error #15: Initializing libguide.lib, but found libguide40.dll already initialized.&lt;BR /&gt; Submit New Article&lt;BR /&gt;&lt;BR /&gt;Last Modified On :  	November 7, 2008 8:50 AM PST&lt;BR /&gt;Rate &lt;BR /&gt;1 - poor&lt;BR /&gt;2 - unsatisfactory&lt;BR /&gt;3 - okay&lt;BR /&gt;4 - good&lt;BR /&gt;5 - excellent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"OMP: Error #15: Initializing libguide.lib, but found libguide40.dll already initialized" is a linker error generated when different parts of a program try to link both the static and dynamic versions of the OpenMP runtime.  The solution is to expilcitly call out either a dynamic or static link.  To link the dynamic OpenMP runtime library specify the options /MD and /Qopenmp-link=dynamic.  To link statically specify /MT and /Qopenmp-link=static.</description>
    <pubDate>Tue, 03 Mar 2009 16:01:15 GMT</pubDate>
    <dc:creator>akdalmia</dc:creator>
    <dc:date>2009-03-03T16:01:15Z</dc:date>
    <item>
      <title>OMP: Error #15 Initializing libguide.lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889075#M10246</link>
      <description>&lt;DIV&gt;I am using MKL 10.1.1.022 with Microsoft Visual Studio 2005 and Microsoft Visual C++ compiler.&lt;/DIV&gt;
&lt;DIV&gt;The solution suggested below applies to Intel compiler. How do I fix this error in Microsft Visual C++ compiler?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Arun&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
OMP: Error #15: Initializing libguide.lib, but found libguide40.dll already initialized.&lt;BR /&gt; Submit New Article&lt;BR /&gt;&lt;BR /&gt;Last Modified On :  	November 7, 2008 8:50 AM PST&lt;BR /&gt;Rate &lt;BR /&gt;1 - poor&lt;BR /&gt;2 - unsatisfactory&lt;BR /&gt;3 - okay&lt;BR /&gt;4 - good&lt;BR /&gt;5 - excellent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"OMP: Error #15: Initializing libguide.lib, but found libguide40.dll already initialized" is a linker error generated when different parts of a program try to link both the static and dynamic versions of the OpenMP runtime.  The solution is to expilcitly call out either a dynamic or static link.  To link the dynamic OpenMP runtime library specify the options /MD and /Qopenmp-link=dynamic.  To link statically specify /MT and /Qopenmp-link=static.</description>
      <pubDate>Tue, 03 Mar 2009 16:01:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889075#M10246</guid>
      <dc:creator>akdalmia</dc:creator>
      <dc:date>2009-03-03T16:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: OMP: Error #15 Initializing libguide.lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889076#M10247</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
It's probably better to use the libiomp5 in place of libguide, particularly if your VC code does any threading or OpenMP. The caution about not linking more than one of the OpenMP libraries still applies. If you link both libguide and vcomp instead of libiomp5 alone, you are on shaky ground, as you are if you make a .dll with static OpenMP included and then link elsewhere with dynamic OpenMP, for example. As you don't have command line options to choose the libiomp5 or static or dynamic, you will have to rely on explicit command line or project library dependencies.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 17:04:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889076#M10247</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-03-03T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: OMP: Error #15 Initializing libguide.lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889077#M10248</link>
      <description>&lt;DIV style="margin:0px;"&gt;As an additional comments to your questions, please look at the article OMP Abort: Initializing libguide40.dll but found libiomp5md.dll already initialized following the link &lt;A href="http://software.intel.com/en-us/articles/opm-abort-initializing-libguide40dll" target="_blank"&gt;http://software.intel.com/en-us/articles/opm-abort-initializing-libguide40dll&lt;/A&gt; &lt;BR /&gt;--Gennady&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Mar 2009 18:13:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OMP-Error-15-Initializing-libguide-lib/m-p/889077#M10248</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-03-03T18:13:10Z</dc:date>
    </item>
  </channel>
</rss>

