<?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: Static linking with MKL 9.1 and 10.0 (Windows) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889084#M10252</link>
    <description>I have found the issue. Including mkl_lapack.lib in the link line causes the problem. If I remove that then the mkl_p4p.DLL is not loaded.</description>
    <pubDate>Fri, 23 Nov 2007 16:36:46 GMT</pubDate>
    <dc:creator>AndrewC</dc:creator>
    <dc:date>2007-11-23T16:36:46Z</dc:date>
    <item>
      <title>Static linking with MKL 9.1 and 10.0 (Windows)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889081#M10249</link>
      <description>I have had to switch from dynamically linking to MKL to static linking because of a conflict between our MKL version and various versions of Matlab when our main DLL module is called from a Matlab MEX file.
&lt;BR /&gt;
&lt;BR /&gt;My understanding ( for 9.1) is that all I (should) have to do is link against mkl_c.lib instead of mkl_c_dll.lib and then no MKL DLL's at all are then required apart from libguide40.dll.
&lt;BR /&gt;
&lt;BR /&gt;Yet I still see mkl_p4p.dll being loaded dynamically at run-time.
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2007 19:09:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889081#M10249</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2007-11-22T19:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Static linking with MKL 9.1 and 10.0 (Windows)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889082#M10250</link>
      <description>&lt;P&gt;You are right, for switching from dynamical MKL usage to statical usage you need to link with mkl_c.lib instead of mkl_c_dll.lib. Looks strange what mkl_p4p.dll still loading. Maybe other Matlab components use this library?&lt;/P&gt;
&lt;P&gt;And I have question for you: how you determine what mkl_p4p.dll is loaded?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2007 08:19:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889082#M10250</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2007-11-23T08:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Static linking with MKL 9.1 and 10.0 (Windows)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889083#M10251</link>
      <description>So it is clear mkl_p4p.dll should not be loaded and I need to find out why.
&lt;BR /&gt;
&lt;BR /&gt;I am running in a standalone mode (without Matlab) under the Visual C++ 2005 debugger so I can see what DLL's are loaded when. When the application performs my first matrix operation that calls perhaps a lapack routine ( not sure as it is buried way down in a class library) , I see the mkl_p4p.dll from the MKL BIN directory get loaded dynamically( MKL&amp;#8;in is in the PATH)
&lt;BR /&gt;
&lt;BR /&gt;My link line includes mkl_c.lib mkl_lapack.lib mkl_solver.lib</description>
      <pubDate>Fri, 23 Nov 2007 16:33:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889083#M10251</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2007-11-23T16:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Static linking with MKL 9.1 and 10.0 (Windows)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889084#M10252</link>
      <description>I have found the issue. Including mkl_lapack.lib in the link line causes the problem. If I remove that then the mkl_p4p.DLL is not loaded.</description>
      <pubDate>Fri, 23 Nov 2007 16:36:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Static-linking-with-MKL-9-1-and-10-0-Windows/m-p/889084#M10252</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2007-11-23T16:36:46Z</dc:date>
    </item>
  </channel>
</rss>

