<?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: Linker Warnings, Library Selection in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905669#M11615</link>
    <description>&lt;DIV style="margin:0px;"&gt;Hello, &lt;BR /&gt;I could misunderstood, but If you will statically link mkls functions, say pardiso, and skip libiomp5md.lib &lt;BR /&gt;For example:&lt;BR /&gt;mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;you will have linking errors, something like &lt;BR /&gt;error LNK2001: unresolved external symbol ___kmpc_global_thread_num &lt;BR /&gt;&lt;BR /&gt;which must be resolved by linking libguide40.lib ( dont forget we are talking about version 10.0) or &lt;BR /&gt;libiomp5md.lib&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Sun, 17 May 2009 17:34:34 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2009-05-17T17:34:34Z</dc:date>
    <item>
      <title>Linker Warnings, Library Selection</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905667#M11613</link>
      <description>Hi everyone, &lt;BR /&gt;&lt;BR /&gt;we use MS Visual Studio 2008 and want to link the Intel MKL (version 10.0.5.025)statically. The Link line advisor generates the following link line (if we assume that the Visual studio comiler is an intel compatible one): &lt;BR /&gt;&lt;BR /&gt;mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib -Qopenmp &lt;BR /&gt;&lt;BR /&gt;if we use these instructions (and skip the-Qopenmp instruction), we have a lot of warnings (total numer: 145) like the following one: &lt;BR /&gt;&lt;BR /&gt;mkl_intel_c.lib(_get_proc_pardiso.obj) : warning LNK4006: _get_proc_pardiso already defined in mkl_solver.lib(getenv.obj); second definition ignored
&lt;P&gt;1&amp;gt;mkl_core.lib(vsl_p8_wh_tables.obj) : warning LNK4006: __vsl_WH_A already defined in mkl_core.lib(vsl_ax_wh_tables.obj); second definition ignored&lt;/P&gt;
&lt;P&gt;1&amp;gt;mkl_core.lib(vsl_p8_wh_tables.obj) : warning LNK4006: __vsl_WH_M already defined in mkl_core.lib(vsl_ax_wh_tables.obj); second definition ignored&lt;/P&gt;
&lt;P&gt;1&amp;gt;mkl_core.lib(vsl_p8_wh_tables.obj) : warning LNK4006: __vsldWH_IM_Tab already defined in mkl_core.lib(vsl_ax_wh_tables.obj); second definition ignored&lt;/P&gt;
&lt;P&gt;1&amp;gt;mkl_core.lib(vsl_p8_wh_tables.obj) : warning LNK4221: no public symbols found; archive member will be inaccessible&lt;/P&gt;
&lt;P&gt;Is there a way toget rid of these warnings(among to switch them of)?&lt;/P&gt;
&lt;P&gt;Another question: the MKL User's Guide states on p. 5-6 that we should use the mkl_sequential.lib instead of mkl_intel_thread.lib, which is ot consistent with the link line advisor generated link line. Which one should we use?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Jens Decker&lt;BR /&gt;Hendrik Woehrle&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2009 11:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905667#M11613</guid>
      <dc:creator>Jens_D_</dc:creator>
      <dc:date>2009-05-12T11:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Warnings, Library Selection</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905668#M11614</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
"mkl_solver.lib" acts as as script invoking the dll counterparts of the static .lib files you have chosen, so you have a direct conflict.&lt;BR /&gt;When you don't want MKL to generate its own OpenMP threads, you would use the mkl_sequential, (which doesn't require -Qopenmp), but that also would conflict with the mkl_thread dll version invoked by mkl_solver.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 May 2009 05:02:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905668#M11614</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-05-13T05:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linker Warnings, Library Selection</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905669#M11615</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello, &lt;BR /&gt;I could misunderstood, but If you will statically link mkls functions, say pardiso, and skip libiomp5md.lib &lt;BR /&gt;For example:&lt;BR /&gt;mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib&lt;BR /&gt;&lt;BR /&gt;you will have linking errors, something like &lt;BR /&gt;error LNK2001: unresolved external symbol ___kmpc_global_thread_num &lt;BR /&gt;&lt;BR /&gt;which must be resolved by linking libguide40.lib ( dont forget we are talking about version 10.0) or &lt;BR /&gt;libiomp5md.lib&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Sun, 17 May 2009 17:34:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linker-Warnings-Library-Selection/m-p/905669#M11615</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-05-17T17:34:34Z</dc:date>
    </item>
  </channel>
</rss>

