<?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: How to include the necessary MKL objects into an executable to be used elsewhere? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642763#M36633</link>
    <description>&lt;P&gt;Here is how I did it. It works. Basicaly the Runtime Library must ve /libs:static.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" style="width: 983px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/60264i983326841D4DB11C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" alt="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 13:43:15 GMT</pubDate>
    <dc:creator>Ever</dc:creator>
    <dc:date>2024-11-12T13:43:15Z</dc:date>
    <item>
      <title>How to include the necessary MKL objects into an executable to be used elsewhere?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642570#M36631</link>
      <description>&lt;P&gt;I use VS2019 and Intel oneAPI 2023 to build an application intended to run on a Win 10 machine that has no VS and no oneAPI. If the application would not use MKL, then the executable runs fine on the target machine, but now I need to use MKL. On the target machine I get an error, mklsequential.2.dll not available.&lt;/P&gt;&lt;P&gt;I have never used the command line to link a project, all I know is VS.&amp;nbsp; On VS, Project &amp;gt; Properties &amp;gt; Fortran &amp;gt; Libraries, Use Intel math Kernel Library: /Qmklsequential, and in Runtime Library: well, I tried all the options, nothing works.&lt;/P&gt;&lt;P&gt;The project runs fine when executed inside VS. In solution explorer picture below, you can see that most of the code is already compiled into and .obj file, and there are the calls to the MKL. &lt;EM&gt;Maybe I have to do something special when I compile that code?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Update:&amp;nbsp;&lt;/EM&gt;I deleted the .obj file, and brought in all the source code to replace that. I compiled and linked in VS in the usual way: Build, Rebuild Solution. No luck. Double-click on the .exe, get "mklsequential.2.dll not available".&lt;/P&gt;&lt;P&gt;I tried to read the oneAPI documentation, but it blew my mind. I'm just a materials science teacher with Fortran coding experience, no more. What can I do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="configurationManagerFortranLibraries.png" style="width: 983px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/60247i264173E6749DD313/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="configurationManagerFortranLibraries.png" alt="configurationManagerFortranLibraries.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solutionExplorerFortranLibraries.png" style="width: 397px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/60246i837B450331989D76/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="solutionExplorerFortranLibraries.png" alt="solutionExplorerFortranLibraries.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 19:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642570#M36631</guid>
      <dc:creator>Ever</dc:creator>
      <dc:date>2024-11-11T19:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to include the necessary MKL objects into an executable to be used elsewhere?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642590#M36632</link>
      <description>&lt;P&gt;This is really an MKL question that could be asked in&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/bd-p/oneapi-math-kernel-library" target="_blank"&gt;Intel® oneAPI Math Kernel Library - Intel Community&lt;/A&gt;&amp;nbsp; Basically, what you want is to link to static MKL libraries - it's been a while since I looked at this so don't know if that's still an option. Yes, Intel Fortran has some convenient options to link to MKL, but you don't get much control over which set.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 20:04:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642590#M36632</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-11-11T20:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to include the necessary MKL objects into an executable to be used elsewhere?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642763#M36633</link>
      <description>&lt;P&gt;Here is how I did it. It works. Basicaly the Runtime Library must ve /libs:static.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" style="width: 983px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/60264i983326841D4DB11C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" alt="configurationManagerFortranLibrariesRuntimeLibrarySOLVED.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 13:43:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-include-the-necessary-MKL-objects-into-an-executable-to/m-p/1642763#M36633</guid>
      <dc:creator>Ever</dc:creator>
      <dc:date>2024-11-12T13:43:15Z</dc:date>
    </item>
  </channel>
</rss>

