<?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 Hi Ying, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022639#M19772</link>
    <description>Hi Ying,
         Ok, thank you, previously I thought I missed sth, which caused lots of warnings.

Thank you
John</description>
    <pubDate>Mon, 08 Jun 2015 07:18:50 GMT</pubDate>
    <dc:creator>Wei_Z_Intel</dc:creator>
    <dc:date>2015-06-08T07:18:50Z</dc:date>
    <item>
      <title>see lots of warnings when compile Lib with MKL used</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022637#M19770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I recently create and build a lib on window host with mkl lib function used, however, I see lots of weird warnings , &amp;nbsp;can you tell me how to get rid of them, thanks a lot. &amp;nbsp;I included below mkl header files:&lt;/P&gt;

&lt;P&gt;#include &amp;lt;mkl.h&amp;gt;&lt;BR /&gt;
	#include &amp;lt;mkl_dfti.h&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I used mkl buffer allocate and free, fft etc functions, it reported like 8000 plus warning, I extracted part of them as below.&lt;/P&gt;

&lt;P&gt;1&amp;gt;mkl_intel_thread_dll.lib(mkl_intel_thread.dll) : : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in mkl_intel_ilp64_dll.lib(libimalloc.dll); second definition ignored&lt;BR /&gt;
	1&amp;gt;mkl_intel_thread_dll.lib(mkl_intel_thread.dll) : : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library&lt;BR /&gt;
	1&amp;gt;mkl_core_dll.lib(mkl_core.dll) : : warning LNK4006: sdttrsb_4dfl already defined in mkl_intel_ilp64_dll.lib(_sdttrsb_4dfl_lp64.obj); second definition ignored&lt;BR /&gt;
	1&amp;gt;mkl_core_dll.lib(mkl_core.dll) : : warning LNK4006: sdttrfb_4dfl already defined in mkl_intel_ilp64_dll.lib(_sdttrfb_4dfl_lp64.obj); second definition ignored&lt;/P&gt;

&lt;P&gt;....&lt;/P&gt;

&lt;P&gt;1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending libimalloc.dll&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending _set_workdivision_ilp64.obj&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending _set_resource_limit_ilp64.obj&lt;BR /&gt;
	1&amp;gt; &amp;nbsp;Appending _set_offload_report_ilp64.obj&lt;/P&gt;

&lt;P&gt;...&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If I used exe rather than lib, it will not report any warning as above, could you tell me how to disable these warnings?&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I used vs2013, intel parallel studio xe2015,latest mkl version.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2015 02:20:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022637#M19770</guid>
      <dc:creator>Wei_Z_Intel</dc:creator>
      <dc:date>2015-06-02T02:20:09Z</dc:date>
    </item>
    <item>
      <title>Hi John,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022638#M19771</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;

&lt;P&gt;Thanks for the report. I recalled we have the&amp;nbsp;threads discuss build the&amp;nbsp;custom static library. but can't found the threads. But basically, the warning&amp;nbsp;are not hurtless and mkl have cross-reference internally. On the&amp;nbsp; other hand, we don't recommend to build static library based on MKL static library or MKL dynamic library ( because even you build, you still need all of the MKL&amp;nbsp;library when you link the custom static library to your exe) &amp;nbsp;.&amp;nbsp;&amp;nbsp;That&amp;nbsp;is why&amp;nbsp;MKL provide custom build tool under&amp;nbsp;Intel\Composer XE 2015\mkl\tools\builder\MSVS_Projects for such purpose.&amp;nbsp;&amp;nbsp;&amp;nbsp;Have you any special reason to&amp;nbsp;build your own static&amp;nbsp;lib project?&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 01:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022638#M19771</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-06-05T01:49:00Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022639#M19772</link>
      <description>Hi Ying,
         Ok, thank you, previously I thought I missed sth, which caused lots of warnings.

Thank you
John</description>
      <pubDate>Mon, 08 Jun 2015 07:18:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/see-lots-of-warnings-when-compile-Lib-with-MKL-used/m-p/1022639#M19772</guid>
      <dc:creator>Wei_Z_Intel</dc:creator>
      <dc:date>2015-06-08T07:18:50Z</dc:date>
    </item>
  </channel>
</rss>

