<?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 Request for Guidance on mkl_rt.dll Usage in Intel oneAPI MKL (2025.3.2.20) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746058#M37554</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently using Intel oneAPI Base Toolkit version 2025.3.2.20 (offline installer), and I would like to request clarification regarding the usage of the MKL runtime library.&lt;/P&gt;&lt;P&gt;After installation, I observed the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The file&amp;nbsp; &lt;FONT color="#00285A"&gt;%MKLROOT%\lib\mkl_rt.lib &lt;/FONT&gt;exists.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT color="#00285A"&gt;However, %MKLROOT%\bin\mkl_rt.dll is not present.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Instead, only %MKLROOT%\bin\mkl_rt.2.dll is available.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Based on this situation, I was advised to create an alias using the following command:&lt;/P&gt;&lt;PRE&gt;mklink "%MKLROOT%\bin\mkl_rt.dll" "%MKLROOT%\bin\mkl_rt.2.dll"&lt;/PRE&gt;&lt;P&gt;Before proceeding, I would like to confirm whether this approach is officially supported and recommended.&lt;/P&gt;&lt;P&gt;Specifically, I would appreciate guidance on the following points:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is mkl_rt.2.dll intended to replace mkl_rt.dll in recent oneAPI versions?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is creating a symbolic link (alias) to mkl_rt.dll a correct and stable solution for build and runtime compatibility?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any recommended alternatives for ensuring compatibility with build systems that expect mkl_rt.dll?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there an official method to install or enable mkl_rt.dll, or has it been deprecated?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My use case involves building Python C-extensions and numerical libraries (e.g., NumPy) that rely on mkl_rt linkage.&lt;/P&gt;&lt;P&gt;I would appreciate any official documentation or recommendations regarding this configuration.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;MiJeong Roh&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>Tue, 28 Apr 2026 11:19:34 GMT</pubDate>
    <dc:creator>rohmijeong</dc:creator>
    <dc:date>2026-04-28T11:19:34Z</dc:date>
    <item>
      <title>Request for Guidance on mkl_rt.dll Usage in Intel oneAPI MKL (2025.3.2.20)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746058#M37554</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently using Intel oneAPI Base Toolkit version 2025.3.2.20 (offline installer), and I would like to request clarification regarding the usage of the MKL runtime library.&lt;/P&gt;&lt;P&gt;After installation, I observed the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The file&amp;nbsp; &lt;FONT color="#00285A"&gt;%MKLROOT%\lib\mkl_rt.lib &lt;/FONT&gt;exists.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT color="#00285A"&gt;However, %MKLROOT%\bin\mkl_rt.dll is not present.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Instead, only %MKLROOT%\bin\mkl_rt.2.dll is available.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Based on this situation, I was advised to create an alias using the following command:&lt;/P&gt;&lt;PRE&gt;mklink "%MKLROOT%\bin\mkl_rt.dll" "%MKLROOT%\bin\mkl_rt.2.dll"&lt;/PRE&gt;&lt;P&gt;Before proceeding, I would like to confirm whether this approach is officially supported and recommended.&lt;/P&gt;&lt;P&gt;Specifically, I would appreciate guidance on the following points:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is mkl_rt.2.dll intended to replace mkl_rt.dll in recent oneAPI versions?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is creating a symbolic link (alias) to mkl_rt.dll a correct and stable solution for build and runtime compatibility?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there any recommended alternatives for ensuring compatibility with build systems that expect mkl_rt.dll?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there an official method to install or enable mkl_rt.dll, or has it been deprecated?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My use case involves building Python C-extensions and numerical libraries (e.g., NumPy) that rely on mkl_rt linkage.&lt;/P&gt;&lt;P&gt;I would appreciate any official documentation or recommendations regarding this configuration.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;MiJeong Roh&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>Tue, 28 Apr 2026 11:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746058#M37554</guid>
      <dc:creator>rohmijeong</dc:creator>
      <dc:date>2026-04-28T11:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Guidance on mkl_rt.dll Usage in Intel oneAPI MKL (2025.3.2.20)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746520#M37557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;oneMKL started to add &lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2025-2/shared-library-versioning.html" target="_self"&gt;shared library versioning&lt;/A&gt; from 2021.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you need to load mkl_rt.x.dll directly at run time or use mkl_rt.lib (and then load mkl_rt.x.dll at run time)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Fengrui&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2026 22:35:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746520#M37557</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2026-05-01T22:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Guidance on mkl_rt.dll Usage in Intel oneAPI MKL (2025.3.2.20)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746569#M37559</link>
      <description>Thank you for your response.&lt;BR /&gt;&lt;BR /&gt;In my case, I expected the application to load MKL correctly after building with "mkl_rt.lib". However, at runtime, I encountered an import error.&lt;BR /&gt;&lt;BR /&gt;While investigating the cause of the runtime loading failure, I found that:&lt;BR /&gt;&lt;BR /&gt;- "%MKLROOT%\lib\mkl_rt.lib" exists&lt;BR /&gt;- "%MKLROOT%\bin\mkl_rt.dll" does not exist&lt;BR /&gt;- "%MKLROOT%\bin\mkl_rt.2.dll" exists&lt;BR /&gt;&lt;BR /&gt;To work around the issue, I created a symbolic link:&lt;BR /&gt;&lt;BR /&gt;mklink "%MKLROOT%\bin\mkl_rt.dll" "%MKLROOT%\bin\mkl_rt.2.dll"&lt;BR /&gt;&lt;BR /&gt;After applying this symbolic link, the runtime loading issue was resolved.&lt;BR /&gt;&lt;BR /&gt;Could you please clarify the following points?&lt;BR /&gt;&lt;BR /&gt;1. In recent oneMKL versions, is it expected that "mkl_rt.dll" is no longer included and only "mkl_rt.2.dll" is provided?&lt;BR /&gt;2. Is creating a symbolic link from "mkl_rt.dll" to "mkl_rt.2.dll" an officially supported and safe workaround?&lt;BR /&gt;3. If using "mkl_rt.lib" during build, what is the recommended runtime configuration to ensure that "mkl_rt.2.dll" is loaded correctly without requiring "mkl_rt.dll"?&lt;BR /&gt;4. Is there any official alternative for compatibility with Python extensions or build systems that still expect "mkl_rt.dll" at runtime?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;MiJeong Roh</description>
      <pubDate>Sun, 03 May 2026 03:41:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1746569#M37559</guid>
      <dc:creator>rohmijeong</dc:creator>
      <dc:date>2026-05-03T03:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Guidance on mkl_rt.dll Usage in Intel oneAPI MKL (2025.3.2.20)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1747336#M37577</link>
      <description>&lt;P&gt;When building with mkl_rt.lib, it will look for the corresponding mkl_rt.x.dll at run time. For example, in 2025.3, it looks for&amp;nbsp;&lt;SPAN&gt;mkl_rt.2.dll, while in 2026.0, it looks for&amp;nbsp;mkl_rt.3.dll. You can check in your installation by &lt;STRONG&gt;&lt;EM&gt;dumpbin /headers mkl_rt.lib | findstr /i "\.dll"&lt;/EM&gt;&lt;/STRONG&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;So if you see errors asking for mkl_rt.dll, it indicates that the binary was built with old mkl_rt.lib. You need to build the binary again with the current mkl_rt.lib.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For your questions,&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Yes. In the latest 2026.0 release, it is mkl_rt.3.dll.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;It is not officially supported.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;To use "mkl_rt.lib" in the same oneMKL release as "mkl_rt.2.dll". It should not require mkl_rt.dll.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The expected mkl_rt.x.dll at run time depends on the oneMKL version it used at build time. If it was built with a relatively new oneMKL release, for example, 2026.0, it should expect "mkl_rt.3.dll" rather than mkl_rt.dll.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Fengrui&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2026 23:55:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Request-for-Guidance-on-mkl-rt-dll-Usage-in-Intel-oneAPI-MKL/m-p/1747336#M37577</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2026-05-08T23:55:01Z</dc:date>
    </item>
  </channel>
</rss>

