<?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: Version 9 to 10 Update 2 Link Error in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914155#M12437</link>
    <description>&lt;P&gt;Thanks Todd,&lt;/P&gt;
&lt;P&gt;Unless libguide.lib was linked somehow "behind the scene", I don't know either since you can see above I linked against libguide40.lib (and the others listed in original post). And as I wrote in my next post changing omp_get_max_threads( ) to mkl_get_max_threads ( ) ( and declaring mkl_... INTERGER and EXTERNAL in the host referencing it ) with absolutely no other changes "fixed" (read "most likely bypassed") the problem.&lt;/P&gt;
&lt;P&gt;When I get some time, perhaps before my billion year road trip ends, I'll take a closer look, but I've only 32-bit laptop at my disposal, but I can still use my IVF to target Intel 64 ... .&lt;/P&gt;
&lt;P&gt;If it persists I'll file a problem report.&lt;/P&gt;
&lt;P&gt;Hey, I know this forum is not technically for technical support, but you gotta' admit a lot of very bright, involved people supply and post for at least er ... psuedo-tech support. I mean, you MAD guys are no slackers and often circumvent the consumer problem report avenue, but, alas, load balancing applies in all kinds of domains ...&lt;/P&gt;
&lt;P&gt;-Brian&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2008 02:34:50 GMT</pubDate>
    <dc:creator>brianlamm</dc:creator>
    <dc:date>2008-03-12T02:34:50Z</dc:date>
    <item>
      <title>Version 9 to 10 Update 2 Link Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914152#M12434</link>
      <description>When I was using MKL 9 (last release), inside a driver for pardiso I called "omp_get_max_threads()" to set iparm(3) in pardiso. I delcared omp_get_max_threads as INTEGER and the line after that as EXTERNAL in that driver procedure. I linked against libguide.lib (static, I know, but it Worked) and the other libraries, at MKL 9 they were mkl_solver.lib, mkl_c.lib (when building for 32bit, did not use mkl_c.lib for em64t), mkl_lapack.lib. I had set environment variable OMP_NUM_THREADS equal to env NUMBER_OF_PROCESSORS.&lt;BR /&gt;&lt;BR /&gt;This is Fortran, and I always use IVF latest public release to build (inside MSVS 2005 Pro).&lt;BR /&gt;&lt;BR /&gt;"Everyting" built fine and application results were correct for test harness.&lt;BR /&gt;&lt;BR /&gt;With MKL 10, update 2, things are "different" (talk about growing pains, but I suppose it's for the best for greater compatibility with other than INTEL compilers).&lt;BR /&gt;&lt;BR /&gt;I used the exact libraries as shown in the user manual to statically link pardiso. So I am using the static libraries in MKL, except (because highly recommended by Intel MKL) for libguide40.lib. The MKL libraries I linked against were:&lt;BR /&gt;libguide40.lib &lt;BR /&gt;mkl_core.lib &lt;BR /&gt;mkl_intel_lp64.lib &lt;BR /&gt;mkl_intel_thread.lib &lt;BR /&gt;mkl_solver_lp64.lib&lt;BR /&gt;&lt;BR /&gt;Now, in DEBUG I get no build errors ( I use debug dlls), but I do get a message libguide.dll (via libguide40.lib) has no debug symbols. In RELEASE I get the following link errors:&lt;BR /&gt;&lt;BR /&gt;Error 159 error LNK2005: OMP_GET_MAX_THREADS already defined in libguide40.lib(libguide40.dll) libguide.lib &lt;BR /&gt;Error 160 fatal error LNK1169: one or more multiply defined symbols found x64Release/LoTekDLL.dll &lt;BR /&gt;&lt;BR /&gt;There are two "projects": one for an exe and one (big) one for the dll which does all the work (please don't comment on this bad style, app is under development).&lt;BR /&gt;&lt;BR /&gt;When I run first member of test on debug I get a crash I cannot run down, yet hopefully. And as I just wrote above, release does not successfully build so I cannot test it.&lt;BR /&gt;&lt;BR /&gt;Any ideas on what the problem might be? Thanks.&lt;BR /&gt;&lt;BR /&gt;I am running, and use, the latest release of both IVF and MKL on windows _64 machine, and the builds I referenced above were for Intel 64 target.&lt;BR /&gt;&lt;BR /&gt;Brian &lt;BR /&gt;</description>
      <pubDate>Sat, 08 Mar 2008 23:34:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914152#M12434</guid>
      <dc:creator>brianlamm</dc:creator>
      <dc:date>2008-03-08T23:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Version 9 to 10 Update 2 Link Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914153#M12435</link>
      <description>Must I file a problem report to get any Intel feedback?&lt;BR /&gt;&lt;BR /&gt;Note, everything being identical, except using "mkl_get_max_thdreads( )" the problem went away. I of course also had "mkl_get_max_threads" declared as integer and external, replacing the "omp_get_max_threads" in those two places.&lt;BR /&gt;&lt;BR /&gt;-Brian &lt;BR /&gt;</description>
      <pubDate>Mon, 10 Mar 2008 21:21:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914153#M12435</guid>
      <dc:creator>brianlamm</dc:creator>
      <dc:date>2008-03-10T21:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Version 9 to 10 Update 2 Link Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914154#M12436</link>
      <description>&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;Filing a problem report at &lt;/FONT&gt;&lt;A href="https://premier.intel.com"&gt;&lt;FONT face="Verdana" size="2"&gt;Premier support&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Verdana" size="2"&gt;is certainly your best option for getting responses and follow-up. As stated &lt;A href="https://community.intel.com/en-us/forums/showthread.php?t=48752"&gt;here&lt;/A&gt;...&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT face="Verdana" size="2"&gt;A very short note about what the forum is not: This is not a forum for technical support for the library. Rather, please go to the &lt;/FONT&gt;&lt;/EM&gt;&lt;A href="http://www.intel.com/software/products/support/" target="_blank"&gt;&lt;EM&gt;&lt;FONT face="Verdana" size="2"&gt;library support site&lt;/FONT&gt;&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;&lt;FONT face="Verdana" size="2"&gt; which is staffed and set up to register and respond to support issues you may have.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;My first impression would be that somehow you are linking both libguide40.lib and libguide.lib. Unless this was a simple slip up I don't know why that would be. Is use of the mkl_* functions an option?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;Todd&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2008 22:17:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914154#M12436</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-03-10T22:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Version 9 to 10 Update 2 Link Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914155#M12437</link>
      <description>&lt;P&gt;Thanks Todd,&lt;/P&gt;
&lt;P&gt;Unless libguide.lib was linked somehow "behind the scene", I don't know either since you can see above I linked against libguide40.lib (and the others listed in original post). And as I wrote in my next post changing omp_get_max_threads( ) to mkl_get_max_threads ( ) ( and declaring mkl_... INTERGER and EXTERNAL in the host referencing it ) with absolutely no other changes "fixed" (read "most likely bypassed") the problem.&lt;/P&gt;
&lt;P&gt;When I get some time, perhaps before my billion year road trip ends, I'll take a closer look, but I've only 32-bit laptop at my disposal, but I can still use my IVF to target Intel 64 ... .&lt;/P&gt;
&lt;P&gt;If it persists I'll file a problem report.&lt;/P&gt;
&lt;P&gt;Hey, I know this forum is not technically for technical support, but you gotta' admit a lot of very bright, involved people supply and post for at least er ... psuedo-tech support. I mean, you MAD guys are no slackers and often circumvent the consumer problem report avenue, but, alas, load balancing applies in all kinds of domains ...&lt;/P&gt;
&lt;P&gt;-Brian&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2008 02:34:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Version-9-to-10-Update-2-Link-Error/m-p/914155#M12437</guid>
      <dc:creator>brianlamm</dc:creator>
      <dc:date>2008-03-12T02:34:50Z</dc:date>
    </item>
  </channel>
</rss>

