<?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: A bug in MKL library mkl_sequential.lib library? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196669#M29831</link>
    <description>&lt;P&gt;Some additional information:&lt;/P&gt;
&lt;P&gt;System: Windows 10 64 bit,&amp;nbsp; using VS IDE from VS community 2017&lt;BR /&gt;Using Intel Math Kernel Library, sequential,&amp;nbsp; using ILP64 interface,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DftiCreateDescriptor() routine called&lt;BR /&gt;--&amp;gt; mkl_dft_dfti_create_descriptor_d1d&lt;BR /&gt;--&amp;gt; mkl_dft_dfti_create_descriptor_dc1d,&amp;nbsp; mkl_dft_dfti_create_descriptor_dr1d&lt;/P&gt;
&lt;P&gt;The last two are not included in the mkl_sequential.lib .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The flags used&amp;nbsp; in compilation&lt;/P&gt;
&lt;P&gt;/GS /W3 /Zc:wchar_t /ZI /Od /Fd"x64\Debug\vc141.pdb" /fp:precise /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Zc:forScope /RTC1 /MDd /Fa"x64\Debug\" /EHsc /nologo /Fo"x64\Debug\" /Qprof-dir "x64\Debug\" /Fp"x64\Debug\TestFFT.pch"&lt;/P&gt;
&lt;P&gt;Linker options:&lt;BR /&gt;/OUT:"C:\Users\Amos\source\TestFFT\x64\Debug\TestFFT.exe" /MANIFEST /NXCOMPAT &lt;BR /&gt;/PDB:"C:\Users\Amos\source\TestFFT\x64\Debug\TestFFT.pdb" /DYNAMICBASE "mkl_sequential.lib"&lt;BR /&gt;"kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib"&amp;nbsp;"shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib"&amp;nbsp;&amp;nbsp;/DEBUG /MACHINE:X64 /INCREMENTAL /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker'&amp;nbsp;uiAccess='false'" /ManifestFile:"x64\Debug\TestFFT.exe.intermediate.manifest"&amp;nbsp;&amp;nbsp;/MAP /NOLOGO /TLBID:1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Aug 2020 08:13:29 GMT</pubDate>
    <dc:creator>talmi__amos</dc:creator>
    <dc:date>2020-08-02T08:13:29Z</dc:date>
    <item>
      <title>A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196327#M29825</link>
      <description>&lt;P&gt;The static library "&lt;STRONG&gt;mkl_squential.lib&lt;/STRONG&gt;" is not self sufficient.&lt;/P&gt;
&lt;P&gt;When you link with it, it ( internaly) FORCE LINK with &lt;STRONG&gt;mkl_sequential.dll&lt;/STRONG&gt; .&lt;/P&gt;
&lt;P&gt;This is so, because a few routines - called inside the LIB - are contained only in the DLL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Think about it:&amp;nbsp; I linked with the static LIB, so I can distribute my software, because &lt;STRONG&gt;mkl_sequential.dll&lt;/STRONG&gt; is not in the distribution pack. So, as far as staying legal, I am XXXed.&amp;nbsp; And this is just a visible tip of the iceberg:&lt;/P&gt;
&lt;P&gt;You think you have only one set of internal variables? NO, you have two - those defined in the DLL and those defined in the LIB.&amp;nbsp; They have the same names, but routines in DLL use and call DLL::momo, not the LIB::momo.&lt;/P&gt;
&lt;P&gt;If kuku is a library function that requires the DLL's yoyo functions, then:&lt;/P&gt;
&lt;P&gt;The code (in kuku) prior to calling koyo is executed using the LIB variables and functions,&amp;nbsp; and the code AFTER yoyo&amp;nbsp; uses code and variables in the DLL. When YOU exiting kuku, and calls kukuA, which set do you see? the set of the LIB, not changed by yoyo or after-yoyo.&lt;/P&gt;
&lt;P&gt;Such a yoyo function is "mkl_serv_print_verbose_info".&amp;nbsp; I have verified that this yoyo is actually called inside MKL versions of 2018, 2019, 2020.&lt;/P&gt;
&lt;P&gt;There are at least&amp;nbsp; 9 such yoyos ( I only used FFT 1-D routine):&lt;/P&gt;
&lt;P&gt;mkl_dft_dfti_get_version_string,&amp;nbsp; &amp;nbsp; &amp;nbsp; mkl_dft_dfti_create_dc1d,&amp;nbsp; &amp;nbsp; mkl_dft_dfti_create_dr1d,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mkl_dft_bless_node_omp,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_serv_malloc,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mkl_serv_free,&lt;/P&gt;
&lt;P&gt;mkl_serv_verbose_mode,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mkl_serv_dsecnd, mkl_serv_print_verbose_info,&lt;/P&gt;
&lt;P&gt;mkl_serv_dsecnd&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The Good stuff:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I have used MKL FFT.&amp;nbsp; I&amp;nbsp; have tried N exceeding 100,000 , of the shape 2*prime ( !! not 2^prime !!). I did expect an impossible long time. I did observe only a factor of 3 decrease. This should be impossible - unless someone discovered new FFT algorithms after I left school. Keep up the good work!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 11:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196327#M29825</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-07-31T11:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196490#M29826</link>
      <description>&lt;P&gt;I think that we need help from you to reproduce this behavior.&lt;/P&gt;
&lt;P&gt;I took a short code that uses one of the functions that you named as problematic:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;!
      program xdsec
      include 'mkl.fi'
      double precision ds
      ds=dsecnd()
      print*,ds
      end program
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and built it using the command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;ifort /MT /Qmkl xdsec.f90 mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib /link /map&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then opened a new command window that did not have the Intel Fortran compiler configured, and checked the DLL dependencies of the EXE that I just built:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;S:\LANG\MKL&amp;gt;where mkl_sequential.dll
INFO: Could not find files for the given pattern(s).
S:\LANG\MKL&amp;gt;c:\cygwin\bin\ldd xdsec.exe
        ntdll.dll =&amp;gt; /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffb8ed40000)
        KERNEL32.DLL =&amp;gt; /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffb8d000000)
        KERNELBASE.dll =&amp;gt; /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffb8c760000)
        imagehlp.dll =&amp;gt; /cygdrive/c/WINDOWS/System32/imagehlp.dll (0x7ffb8d580000)
        ucrtbase.dll =&amp;gt; /cygdrive/c/WINDOWS/System32/ucrtbase.dll (0x7ffb8bcc0000)
        RPCRT4.dll =&amp;gt; /cygdrive/c/WINDOWS/System32/RPCRT4.dll (0x7ffb8d3b0000)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that there are no dependence on the Intel compiler or MKL DLLs.&lt;/P&gt;
&lt;P&gt;If you build for multiple threads, or use third party libraries that depend on MKL, the situation could be different. That is why we need more details from you.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 00:08:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196490#M29826</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-08-01T00:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196602#M29829</link>
      <description>&lt;P&gt;dear mecej4,&lt;/P&gt;
&lt;P&gt;My example is a bare-bone&amp;nbsp; version of Intel's&amp;nbsp;&lt;STRONG&gt;basic_dp_real_dft_1d.c&amp;nbsp;&lt;/STRONG&gt; example. It was compiled under "Intel compiler" using Visual Studio.&amp;nbsp; I included as "additional libraries" the "&lt;STRONG&gt;mkl_sequential.lib&lt;/STRONG&gt;"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My complete code is included.&lt;/P&gt;
&lt;P&gt;After compilation and build, try running the EXE file ( not from the IDE, but from explorer 'run' command).&amp;nbsp; It will not run, complaining it must have &lt;STRONG&gt;'mkl_sequential_dll'&lt;/STRONG&gt; .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternative: ask to create a MAP file. You will note that some functions (which I named 'yoyo') are taken from the mkl_sequential.DLL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Runing&amp;nbsp; &lt;STRONG&gt;LIB.EXE&lt;/STRONG&gt; on &lt;STRONG&gt;mkl_sequential.lib&lt;/STRONG&gt; proved that none of them is inside the library. Using Hex editor on this lib file,&amp;nbsp; you will find some of them are &lt;STRONG&gt;referenced&lt;/STRONG&gt; by the lib file.&lt;/P&gt;
&lt;P&gt;CODE:&lt;/P&gt;
&lt;P&gt;#include &amp;lt;Windows.h&amp;gt;&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;BR /&gt;#include &amp;lt;math.h&amp;gt;&lt;BR /&gt;#include &amp;lt;mkl.h&amp;gt;&lt;BR /&gt;#include &amp;lt;mkl_service.h&amp;gt;&lt;BR /&gt;#include &amp;lt;mkl_dfti.h&amp;gt;&lt;/P&gt;
&lt;P&gt;typedef double double16 ;&amp;nbsp; &amp;nbsp; // starts on a 16-byte boundary&lt;BR /&gt;typedef int ERC ;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // 0 if OK, else an error&lt;BR /&gt;ERC FFT(double16 *X, int N);&lt;/P&gt;
&lt;P&gt;// FFT demo problem&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;__declspec(align(16)) double xin[18];&amp;nbsp; &amp;nbsp; // starts on a 16-byte&lt;/P&gt;
&lt;P&gt;__int64 N = 16;&lt;BR /&gt;for ( int k = 0; k &amp;lt; N; k++)&amp;nbsp; xin[k] = 0; &lt;BR /&gt;xin[0] = 1;&lt;BR /&gt;FFT(xin, N) ;&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;ERC FFT(double16 *X, int N)&lt;BR /&gt;// input: real N doubles&lt;BR /&gt;// output: ceil(N/2) complex units. half the FFT, packed format&lt;BR /&gt;// USES memory up to X[0:N+1] == N+2 doubles?&amp;nbsp; Exactly N for even N??.&lt;BR /&gt;// example copied from Intel&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;MKL_LONG status = 0;&amp;nbsp; /* Execution status */&lt;/P&gt;
&lt;P&gt;DFTI_DESCRIPTOR_HANDLE hand = NULL;&lt;BR /&gt;char version[DFTI_VERSION_LENGTH] ;&lt;BR /&gt;DftiGetValue(0, DFTI_VERSION, version);&lt;/P&gt;
&lt;P&gt;// FFT in-place&lt;BR /&gt;//printf("Create DFTI descriptor\n");&lt;BR /&gt;status = DftiCreateDescriptor(&amp;amp;hand, DFTI_DOUBLE, DFTI_REAL, 1, N ) ;&lt;BR /&gt;if (status != DFTI_NO_ERROR) goto failed ;&lt;/P&gt;
&lt;P&gt;//printf("Set configuration: in-place\n");&lt;BR /&gt;status = DftiSetValue(hand, DFTI_PLACEMENT, DFTI_INPLACE);&lt;BR /&gt;if (status != DFTI_NO_ERROR) goto failed;&lt;/P&gt;
&lt;P&gt;//printf("Commit the descriptor\n");&lt;BR /&gt;status = DftiCommitDescriptor(hand);&lt;BR /&gt;if (status != DFTI_NO_ERROR) goto failed;&lt;/P&gt;
&lt;P&gt;//printf("Compute forward transform\n");&lt;BR /&gt;status = DftiComputeForward(hand, X);&lt;BR /&gt;if (status != DFTI_NO_ERROR) goto failed;&lt;/P&gt;
&lt;P&gt;cleanup:&lt;BR /&gt;//printf("Free DFTI descriptor\n");&lt;BR /&gt;DftiFreeDescriptor(&amp;amp;hand);&lt;/P&gt;
&lt;P&gt;//printf("TEST %s\n", (status == 0) ? "PASSED" : "FAILED");&lt;BR /&gt;return ((int)status);&lt;/P&gt;
&lt;P&gt;failed:&lt;BR /&gt;printf("Intel MKL ERROR, status = %lld\n", status);&lt;BR /&gt;status = 1;&lt;BR /&gt;goto cleanup;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 18:42:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196602#M29829</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-08-01T18:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196607#M29830</link>
      <description>&lt;P&gt;Using the debugger, I found out that &lt;STRONG&gt;DftiGetValue()&lt;/STRONG&gt; referenced&amp;nbsp; the "&lt;STRONG&gt;mkl_serv_print_verbose_info&lt;/STRONG&gt;" function, and &lt;STRONG&gt;DftiCreateDescriptor()&lt;/STRONG&gt; referenced "&lt;STRONG&gt;mkl_dft_dfti_create_dc1d&lt;/STRONG&gt;".&lt;/P&gt;
&lt;P&gt;I know for sure ( I rechecked now) that&amp;nbsp; "&lt;STRONG&gt;mkl_serv_print_verbose_info&lt;/STRONG&gt;" ,&amp;nbsp; and "&lt;STRONG&gt; mkl_dft_dfti_create_dc1d&lt;/STRONG&gt;" are NOT included in the library, but only in the mkl_sequential.dll .&lt;/P&gt;
&lt;P&gt;Q.E.D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Aug 2020 19:27:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196607#M29830</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-08-01T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196669#M29831</link>
      <description>&lt;P&gt;Some additional information:&lt;/P&gt;
&lt;P&gt;System: Windows 10 64 bit,&amp;nbsp; using VS IDE from VS community 2017&lt;BR /&gt;Using Intel Math Kernel Library, sequential,&amp;nbsp; using ILP64 interface,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DftiCreateDescriptor() routine called&lt;BR /&gt;--&amp;gt; mkl_dft_dfti_create_descriptor_d1d&lt;BR /&gt;--&amp;gt; mkl_dft_dfti_create_descriptor_dc1d,&amp;nbsp; mkl_dft_dfti_create_descriptor_dr1d&lt;/P&gt;
&lt;P&gt;The last two are not included in the mkl_sequential.lib .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The flags used&amp;nbsp; in compilation&lt;/P&gt;
&lt;P&gt;/GS /W3 /Zc:wchar_t /ZI /Od /Fd"x64\Debug\vc141.pdb" /fp:precise /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Zc:forScope /RTC1 /MDd /Fa"x64\Debug\" /EHsc /nologo /Fo"x64\Debug\" /Qprof-dir "x64\Debug\" /Fp"x64\Debug\TestFFT.pch"&lt;/P&gt;
&lt;P&gt;Linker options:&lt;BR /&gt;/OUT:"C:\Users\Amos\source\TestFFT\x64\Debug\TestFFT.exe" /MANIFEST /NXCOMPAT &lt;BR /&gt;/PDB:"C:\Users\Amos\source\TestFFT\x64\Debug\TestFFT.pdb" /DYNAMICBASE "mkl_sequential.lib"&lt;BR /&gt;"kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib"&amp;nbsp;"shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib"&amp;nbsp;&amp;nbsp;/DEBUG /MACHINE:X64 /INCREMENTAL /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker'&amp;nbsp;uiAccess='false'" /ManifestFile:"x64\Debug\TestFFT.exe.intermediate.manifest"&amp;nbsp;&amp;nbsp;/MAP /NOLOGO /TLBID:1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 08:13:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196669#M29831</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-08-02T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196675#M29832</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/97097"&gt;@talmi__amos&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Thanks for posting the source file. I have used it without change in the following.&lt;/P&gt;
&lt;P&gt;You have used a large number of non-default compiler options, and it would take me some time to read the documentation and work through the reasons for using those options and the effects of each.&lt;/P&gt;
&lt;P&gt;You talk of using ILP64, but you did not use -DMKL_ILP64 when compiling. However, this omission may have had no effect on the other issues. In obtaining the results that I report below, I used:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 2021.1.2.254 Beta Build 20200623&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I compiled and linked twice, first using the command&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;icl -I"%mklroot%"\include /MT /Od talmi.c mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib /link /map&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and examined the map file. For the two entries that you mentioned, here is what I get:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt; 0001:000023e0       mkl_serv_print_verbose_info 00000001400033e0 f   mkl_sequential:mkl_print_verbose_omp_no_patched.obj
 0001:000037d0       mkl_dft_dfti_create_dc1d   00000001400047d0 f   mkl_core:_dfti_create_dc1d_fb.obj&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The EXE is about 20 MB long, and has no dependence on any of the Parallel Studio or MKL DLLs. To confirm this, I opened a plain command window, and found:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;Q:\lang\mkl&amp;gt;where mkl_sequential_dll.dll
INFO: Could not find files for the given pattern(s).&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running the EXE produced no complaints of not finding needed DLLs. The only DLLs that the EXE needs are NTDLL.DLL, KERNEL32.DLL and KERNELBASE.DLL .&lt;/P&gt;
&lt;P&gt;I repeated these steps, specifying the additional compiler option -DMKL_ILP64 and the linker option to use&amp;nbsp;mkl_intel_ilp64.lib . Again the results show no dependency on any DLLs other than the three Windows system DLLs that I mentioned. I did not use Visual Studio at all.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 12:22:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1196675#M29832</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-08-02T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1197639#M29853</link>
      <description>&lt;P&gt;Thank you mecej4 for pointing me .&lt;/P&gt;
&lt;P&gt;I have observed the bug using Intel 64 Version 2019.4.245 running under MVS 2017 Comunity.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mecrj4 have ran the same program using Intel 64 Version 2021.1.2.254 Beta, using ICI directly without MVS IDE, and observed no bug.&lt;/P&gt;
&lt;P&gt;So, the problem is one of 3 - (1) My Error, (2) Software version, (3) MVS IDE "helpful defaults"&lt;/P&gt;
&lt;P&gt;I have downloaded yesterday Intel System Studio 2020, the most recent version available to plebeians. I will remove any trace of the old compiler and run it under MVS, and report my observations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 14:12:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1197639#M29853</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-08-05T14:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1198286#M29874</link>
      <description>&lt;P&gt;I have installed on a clean system, System Studio 2020, and ran it under Visual Studio. The following "Undocumented Features" are:&lt;/P&gt;
&lt;P&gt;(1)&amp;nbsp; Project--&amp;gt; Properties --&amp;gt;&amp;nbsp;&amp;nbsp;Configuration Properties --&amp;gt; Intel Performance Libraries--&amp;gt;Intel Math Kernel Library&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;IF&lt;/STRONG&gt; You answer&amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt; Use Intel MKL&amp;nbsp; &lt;STRONG&gt;sequential&lt;/STRONG&gt;,&amp;nbsp; Use ILP64 interface &lt;STRONG&gt;YES&lt;/STRONG&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Then&lt;/STRONG&gt; the DLL &lt;STRONG&gt;mkl_sequential.DLL&lt;/STRONG&gt;&amp;nbsp; will be loaded, full stop.&amp;nbsp; No way to override that. .&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;IF&lt;/STRONG&gt; You answer&amp;nbsp; Use Intel MKL&amp;nbsp; &lt;STRONG&gt;NO&lt;/STRONG&gt;,&amp;nbsp; Use ILP64 interface &lt;STRONG&gt;NO&lt;/STRONG&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Then&lt;/STRONG&gt;&amp;nbsp; the mkl libraries you specify as additional inputs are actually used.&lt;/P&gt;
&lt;P&gt;Specify them in&amp;nbsp;Project--&amp;gt; Properties --&amp;gt;&amp;nbsp;Linker --&amp;gt; Input --&amp;gt; Additional Dependencies.&lt;/P&gt;
&lt;P&gt;(2)&amp;nbsp; There is no indication -&amp;nbsp; neither in the C/C++ command line, nor the Linker command line, that you chose static linking over dynamic ones. The linker command line may include the asked libraries, but that&amp;nbsp; is ignored&amp;nbsp; (if you asked for Intel Performance Libraries). The only way to control static linking over dynamic linking is through the "Intel Performance Libraries".&lt;/P&gt;
&lt;P&gt;(3) The distribution kit of System Studio 2020 includes the MKL DLL files. Some previous versions of Intel Parallel Studio XE (those I used) behaved the same way,&amp;nbsp; but the distribution kit &lt;STRONG&gt;did not include MKL DLL files&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;(4)&amp;nbsp; Granted,&amp;nbsp; this is logical. But why didn't Intel add a word of caution, to the tag &lt;STRONG&gt;Intel Performance Libraries&lt;/STRONG&gt;, saying: "this will forces linking the dynamic libraries" ? Or, simply, change the tag to &lt;STRONG&gt;Intel Performance DLL libraries .&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 11:16:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1198286#M29874</guid>
      <dc:creator>talmi__amos</dc:creator>
      <dc:date>2020-08-07T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: A bug in MKL library mkl_sequential.lib library?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1198721#M29883</link>
      <description>&lt;P&gt;to add such words of cautions is not a trivial task as Microsoft changed the IDE format w/o notifications.&lt;/P&gt;
&lt;P&gt;Nevertheless, You may submit the Feature Request to the Intel Online Service Center to implement this option into one of the future versions of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Parallel and System Studios.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 02:28:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/A-bug-in-MKL-library-mkl-sequential-lib-library/m-p/1198721#M29883</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-08-09T02:28:12Z</dc:date>
    </item>
  </channel>
</rss>

