<?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: Exception Unhandled at KernelBase.dll using MKL functions in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1633674#M36483</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/368181"&gt;@Sci222&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;Intel will no longer monitor this post due to no responses. Thank you for participating in the oneMKL Forum.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 19:42:35 GMT</pubDate>
    <dc:creator>Mark_L_Intel</dc:creator>
    <dc:date>2024-09-26T19:42:35Z</dc:date>
    <item>
      <title>Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1614543#M36270</link>
      <description>&lt;P&gt;There is code for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;#include "mkl.h"&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;exception&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;iostream&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;int main(int argc, char* argv[])&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;int VecLen = 10;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MKL_Complex8 *VecCol = new MKL_Complex8[VecLen];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MKL_Complex8 *VecColRes = new MKL_Complex8[VecLen];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for (int i = 0; i &amp;lt; VecLen; i++)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VecCol[i] = { (float)VecLen - i,(float)i };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vcExp(VecLen, VecCol, VecColRes);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;catch (std::exception&amp;amp; e)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;std::cout &amp;lt;&amp;lt; e.what() &amp;lt;&amp;lt; std::endl;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return 0;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Screenshot with the code in Visual Studio is attached.&lt;/DIV&gt;&lt;DIV&gt;Problem is unhandled exception is appeared in line where vcExp() function is using.&lt;/DIV&gt;&lt;DIV&gt;Text of the error is "Unhandled exception at 0x00007FFFB952B699 (KernelBase.dll) in Sandbox project.exe: 0xC06D007E: Module not found (parameters: 0x0000003E4A2FF660)." Screenshot of the error is attached.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I had this problem is real project, and it occures only in run-time. I replaced this vcExp() function from MKL with exp function from IPP&amp;nbsp;ippsExp_32fc_A24(). And it worked. But then i got same problem in this real project but in line with&amp;nbsp;DftiCommitDescriptor() function from MKL. Of course i can replace all MKL functions with IPP functions, but i want to figure out why is that happening.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I use Community Version of Visual Studio 2022 and latest version of MKL. Please help me to find out what is wrong with MKL here! Thank you in advance!&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jul 2024 10:32:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1614543#M36270</guid>
      <dc:creator>Sci222</dc:creator>
      <dc:date>2024-07-12T10:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1614973#M36276</link>
      <description>&lt;P&gt;Also what can be important. The real project with all MKL functions works correctly on computer, where program was originally writed. But when&amp;nbsp;executable file is build and dragged on another computer with all needed DLLs the error occured. Can it be because of some OS difference or maybe CPU difference? Please give me any thoughts. OS on both of computers is Windows 10 pro. CPU on PC where programm was originally made is Intel Core i7-6700K, and other PC has Intel Core i9-14900KF.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 07:28:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1614973#M36276</guid>
      <dc:creator>Sci222</dc:creator>
      <dc:date>2024-07-15T07:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1622131#M36316</link>
      <description>&lt;P&gt;It seems that you don't find the shared libraries (DLL files) on that other computer. Try static linking.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 14:16:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1622131#M36316</guid>
      <dc:creator>henricryden</dc:creator>
      <dc:date>2024-08-09T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1629007#M36383</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/368181"&gt;@Sci222&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I agree with&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/375562"&gt;@henricryden&lt;/a&gt;&amp;nbsp;analysis.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;It sounds like you’re encountering a runtime issue wit oneMKL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;The error message “Unhandled exception at 0x00007FFFB952B699 (KernelBase.dll) in Sandbox project.exe: 0xC06D007E: Module not found” suggests that there might be a problem with the MKL DLLs not being found or loaded correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please look at the similar issue previously reported and how it was resolved at this &lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x75724192-KernelBase-dll-Module-not/m-p/1176307" target="_self"&gt;link&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 20:36:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1629007#M36383</guid>
      <dc:creator>Mark_L_Intel</dc:creator>
      <dc:date>2024-09-05T20:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1630465#M36418</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/368181"&gt;@Sci222&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Have you resolved your issue?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 17:23:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1630465#M36418</guid>
      <dc:creator>Mark_L_Intel</dc:creator>
      <dc:date>2024-09-11T17:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Unhandled at KernelBase.dll using MKL functions</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1633674#M36483</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/368181"&gt;@Sci222&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;Intel will no longer monitor this post due to no responses. Thank you for participating in the oneMKL Forum.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 19:42:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Exception-Unhandled-at-KernelBase-dll-using-MKL-functions/m-p/1633674#M36483</guid>
      <dc:creator>Mark_L_Intel</dc:creator>
      <dc:date>2024-09-26T19:42:35Z</dc:date>
    </item>
  </channel>
</rss>

