<?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:Unhandled exception at 0x68945314 (KernelBase.dll). Module not found. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1593165#M36072</link>
    <description>&lt;P&gt;As there was no response, I assume that the above link might have been able to resolve the issue.&lt;/P&gt;&lt;P&gt;I am closing this thread for now.&lt;/P&gt;&lt;P&gt;Please open a separate thread if you face any further issues.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 28 Apr 2024 01:51:19 GMT</pubDate>
    <dc:creator>Ruqiu_C_Intel</dc:creator>
    <dc:date>2024-04-28T01:51:19Z</dc:date>
    <item>
      <title>Unhandled exception at 0x68945314 (KernelBase.dll). Module not found.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1588225#M36013</link>
      <description>&lt;P&gt;I have the same problem posted on&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x75724192-KernelBase-dll-Module-not/m-p/1176307/highlight/true#M28964" target="_self"&gt;Intel.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#C81326"&gt;&lt;STRONG&gt;First Machine:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am using Visual Studio 2022 Community and I am using &lt;FONT face="courier new,courier"&gt;s_init_Helmholtz_3D&lt;/FONT&gt; from MKL library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My VS Solution is built successfully using the MKL lib and runs successfully with MKL DLLs. My VS Solution has a folder named &lt;FONT face="courier new,courier"&gt;External&lt;/FONT&gt; that contains all the dependencies including, lib, DLL, and header files in:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;External/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;External/include&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;External/lib&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;External/debug/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;External/debug/lib&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Solution uses the following lib files:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Iphlpapi.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ws2_32.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;wsock32.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;netapi32.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mkl_core.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mkl_rt.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mkl_sequential.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mkl_sycl.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;mkl_tbb_thread.lib&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As a Post-Event, my VS solution copies all the DLLs inside &lt;FONT face="courier new,courier"&gt;External/debug/bin&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="courier new,courier"&gt;External/bin&lt;/FONT&gt;&amp;nbsp;to &lt;FONT face="courier new,courier"&gt;$(SolutionDir)/x64/Debug&lt;/FONT&gt;&amp;nbsp;and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;$(SolutionDir)/x64/Release&lt;/FONT&gt;, respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#C81326"&gt;Second Machine (Similar to the First Machine):&lt;/FONT&gt; &lt;FONT color="#C81326"&gt;The Issue:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can successfully build the same Solution using Visual Studio 2022 Community on a different Windows machine but when I run it I get the following error.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Unhandled exception at 0x68945314 (KernelBase.dll). Module not found. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the second machine, I have made sure OneAPI install folder is not in the system Path. My VS Solution is self-contained and does not use any dependencies other than the one in the External folder (I am not using &lt;FONT face="courier new,courier"&gt;vcpkg&lt;/FONT&gt; VS integration) and I expect the executable to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#1E2EB8"&gt;Even as another test, I copied the build folder&amp;nbsp;&lt;FONT face="courier new,courier"&gt;$(SolutionDir)/x64/Debug&lt;/FONT&gt;&amp;nbsp;and&amp;nbsp;&lt;FONT face="courier new,courier"&gt;$(SolutionDir)/x64/Release&lt;/FONT&gt;&amp;nbsp;from the first machine to the second machine and ran my executable but the problem still exits. These build folders have all the dependent MKL DLLs in them. &lt;U&gt;This test is trying to tell me something about my crashing executable on the second machine but I can't figure it out.&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help on what I could be missing that is causing this. I feel like my VS solution is not using the correct lib file and/or DLLs. The confusing part for me is that, then why is it working on the first machine?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:34:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1588225#M36013</guid>
      <dc:creator>AhmadOneAPI</dc:creator>
      <dc:date>2024-04-11T14:34:14Z</dc:date>
    </item>
    <item>
      <title>Re:Unhandled exception at 0x68945314 (KernelBase.dll). Module not found.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1589386#M36034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recommend you to use neMKL link advisor below for oneMKL compile and linkage options.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html" rel="noopener noreferrer" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you still have problem, please provide out a simple reproducer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Apr 2024 01:46:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1589386#M36034</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-04-16T01:46:51Z</dc:date>
    </item>
    <item>
      <title>Re:Unhandled exception at 0x68945314 (KernelBase.dll). Module not found.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1593165#M36072</link>
      <description>&lt;P&gt;As there was no response, I assume that the above link might have been able to resolve the issue.&lt;/P&gt;&lt;P&gt;I am closing this thread for now.&lt;/P&gt;&lt;P&gt;Please open a separate thread if you face any further issues.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Apr 2024 01:51:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unhandled-exception-at-0x68945314-KernelBase-dll-Module-not/m-p/1593165#M36072</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-04-28T01:51:19Z</dc:date>
    </item>
  </channel>
</rss>

