<?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 We think we know what is in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092872#M23351</link>
    <description>&lt;P&gt;We think we know what is happening now: our 32-bit installer is copying both mkl_avx.dll and mkl_avx2.dll to mkl_avx.dll on the destination machine.&amp;nbsp; I assume that mkl_avx2.dll gets copied 2nd, in this case, replacing mkl_avx.dll, resulting in the error when the program tries to load the (wrong) DLL at run-time.&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2015 09:08:47 GMT</pubDate>
    <dc:creator>Mark_Lewy</dc:creator>
    <dc:date>2015-12-04T09:08:47Z</dc:date>
    <item>
      <title>Intel MKL WARNING: Library mkl_avx.dll (MKL type 7) is not suitable for this processor (MKL type 6).</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092867#M23346</link>
      <description>&lt;P&gt;One of our clients is getting the warning in the subject, followed by the program failing, running our software.&amp;nbsp; Any ideas what is causing this or how to resolve it?&lt;/P&gt;

&lt;P&gt;The user is using a 32-bit version of Windows.&lt;/P&gt;

&lt;P&gt;The processor is&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="https://fogbugz.innovyze.com/default.asp?pg=pgDownload&amp;amp;pgType=pgFile&amp;amp;ixBugEvent=199016&amp;amp;ixAttachment=10139&amp;amp;sTicket=&amp;amp;sFileName=screenshot.png" class="transparent" src="https://fogbugz.innovyze.com/default.asp?pg=pgDownload&amp;amp;pgType=pgFile&amp;amp;ixBugEvent=199016&amp;amp;ixAttachment=10139&amp;amp;sTicket=&amp;amp;sFileName=screenshot.png" /&gt;&lt;/P&gt;

&lt;P&gt;Our software is built with “Intel(R) Parallel Studio XE 2015 Update 1 Composer Edition for Fortran Windows” .&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:33:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092867#M23346</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2015-12-02T09:33:04Z</dc:date>
    </item>
    <item>
      <title>Your processor image was not</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092868#M23347</link>
      <description>&lt;P&gt;Your processor image was not shown in your message.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My guess is the user somehow tried to invoke an AVX-based function on a non-AVX processor. Typically, MKL won't allow this to happen because it detects processor type at the runtime and automatically dispatch to an appropriate execution path. However, if the user did something funny to bypass this detection then they can shoot themselves in the foot. How do you link with MKL, the link line options, etc.? Which version of MKL is it?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:24:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092868#M23347</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2015-12-02T18:24:12Z</dc:date>
    </item>
    <item>
      <title>The processor type should be</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092869#M23348</link>
      <description>&lt;P&gt;The processor type should be visible in the image; it's a Core i7-2640M running at 2.8 GHz.&lt;/P&gt;

&lt;P&gt;I'm assuming the user hasn't done anything silly with the installed program, as the executable, the Fortran and MKL DLLs are installed into the same folder using a Windows Installer package.&lt;/P&gt;

&lt;P&gt;As I stated above, our software was built with Intel(R) Parallel Studio XE 2015 Update 1 Composer Edition for Fortran Windows, so I believe the version of MKL in use is 11.2.&lt;/P&gt;

&lt;P&gt;We build and link our software with the VS2013 IDE: Libraries-&amp;gt;Runtime Library is set to Multithread DLL (/libs:dll /threads), Libraries-&amp;gt;Use Intel Math Kernel Library is set to Parallel (/Qmkl:parallel).&lt;/P&gt;

&lt;P&gt;For the link line All Options are:&lt;/P&gt;

&lt;P&gt;/OUT:"Release.Win32/sim.exe" /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:"vcomp.lib" /NODEFAULTLIB:"libcmt.lib" /DELAYLOAD:"hasp_windows_58779.dll" /DELAYLOAD:"iwntypes.dll" /MANIFEST /MANIFESTFILE:"Release.Win32\sim.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"Release.Win32/sim.pdb" /MAP:"Release.Win32/sim.map" /SUBSYSTEM:CONSOLE /STACK:8388608 /LARGEADDRESSAWARE /OPT:REF /OPT:ICF /FIXED:NO /IMPLIB:"D:\source\30000\engines\cs\sim_program\Release.Win32\sim.lib" ws2_32.lib libiomp5md.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib DelayImp.lib ..\..\..\allshared\licensing\keyreader\HaspHL\hasp_windows_58779.lib ..\..\..\libsrc\iwntypes\Release.Win32\iwntypes.lib delayimp.lib ..\sim\Release.Win32\sim.lib ..\simlib\Release.Win32\simlib.lib ..\simlib_lib\Release.Win32\simlib_lib.lib ..\ma48\Release.Win32\ma48.lib ..\tscal_lib\Release.Win32\tscal_lib.lib ..\..\infoworks_2d\iw2d_cuda_call\Release.Win32\iw2d_cuda_call.lib ..\..\infoworks_2d\iw2d_cuda_single_prec\Release.Win32\iwcudasp.lib ..\..\infoworks_2d\iw_2d_sim\lib1\Release.Win32\iw2d_sim.lib ..\..\..\allshared\licensing\keyreader\Release.Win32\keyreader.lib ..\iwsimstate\Release.Win32\iwsimstate.lib mkl_lapack95.lib&lt;/P&gt;

&lt;P&gt;Additional Options are:&lt;/P&gt;

&lt;P&gt;/MACHINE:I386 /fixed:no&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 09:14:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092869#M23348</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2015-12-03T09:14:06Z</dc:date>
    </item>
    <item>
      <title>We think we may have found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092870#M23349</link>
      <description>&lt;P&gt;We think we may have found the cause - our 32-bit installer was not installing mkl_avx2.dll.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 10:40:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092870#M23349</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2015-12-03T10:40:01Z</dc:date>
    </item>
    <item>
      <title>Quote:MarkLewy wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092871#M23350</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;MarkLewy wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;We think we may have found the cause - our 32-bit installer was not installing mkl_avx2.dll.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The processor is a Sandy Bridge (http://ark.intel.com/products/53464/Intel-Core-i7-2640M-Processor-4M-Cache-up-to-3_50-GHz?q=%20i7-2640M). It does not have AVX2 instruction set. So why would mkl_avx2.dll matter?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 18:04:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092871#M23350</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2015-12-03T18:04:52Z</dc:date>
    </item>
    <item>
      <title>We think we know what is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092872#M23351</link>
      <description>&lt;P&gt;We think we know what is happening now: our 32-bit installer is copying both mkl_avx.dll and mkl_avx2.dll to mkl_avx.dll on the destination machine.&amp;nbsp; I assume that mkl_avx2.dll gets copied 2nd, in this case, replacing mkl_avx.dll, resulting in the error when the program tries to load the (wrong) DLL at run-time.&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 09:08:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-WARNING-Library-mkl-avx-dll-MKL-type-7-is-not-suitable/m-p/1092872#M23351</guid>
      <dc:creator>Mark_Lewy</dc:creator>
      <dc:date>2015-12-04T09:08:47Z</dc:date>
    </item>
  </channel>
</rss>

