<?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 make a custom DLL of MKL routines in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1523255#M35109</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Sep 2023 06:38:38 GMT</pubDate>
    <dc:creator>VarshaS_Intel</dc:creator>
    <dc:date>2023-09-13T06:38:38Z</dc:date>
    <item>
      <title>How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1519469#M35012</link>
      <description>&lt;P class=""&gt;Does anyone know how to modify the following two commands to work for Visual Studio 2022 and IVF 2023.2?&amp;nbsp; ipsxe-comp-vars.bat is not among the files installed with IVF 2023.2.&amp;nbsp; These commands worked great for VS 2019 and IVF 19.1, but not with today's VS &amp;amp; IVF.&lt;/P&gt;&lt;PRE&gt;C:\Windows\System32\cmd.exe /E:ON /V:ON /K ""C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\bin\ipsxe-comp-vars.bat" intel64 vs2019"

nmake libintel64 interface=lp64 threading=sequential cluster=no export=subs.txt name=myMKL_x64&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 20:14:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1519469#M35012</guid>
      <dc:creator>Brian_Murphy</dc:creator>
      <dc:date>2023-08-31T20:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1520312#M35035</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;ipsxe-comp-vars.bat is not among the files installed with IVF 2023.2.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;As ipsxe-comp-vars.bat is present in Intel Parallel Studio but when it comes to Intel oneAPI we need to use the below command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Linux:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To initialize the Intel oneAPI Environment:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;source /opt/intel/oneapi/setvars.sh&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Windows:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can use the Intel oneAPI Command Prompt (or) You can also use the command prompt and run the command "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" to initialize the Intel oneAPI Environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, the Intel Fortran compiler comes from the Intel HPC Toolkit you can download from this &lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html?operatingsystem=linux&amp;amp;distributions=offline" target="_blank" rel="noopener"&gt;link&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to use Custom DLL with Intel MKL routine for linking, could you please find the below link for more details:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-2/using-the-custom-dll-builder-in-command-line-mode.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-2/using-the-custom-dll-builder-in-command-line-mode.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Varsha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 14:44:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1520312#M35035</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-04T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1520484#M35038</link>
      <description>&lt;P&gt;Thank you for the reply, but I get an error that "source" is not a recognized program.&lt;/P&gt;&lt;P&gt;Anyhow, I got commands from the Start menu items for launching the command window.&amp;nbsp; One item is for 32 bit and one is for 64 bit.&lt;/P&gt;&lt;P&gt;For 64 bit it is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%ComSpec% /E:ON /K ""C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 vs2022"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this, the following nmake command successfully made myMKL_x64.dll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nmake libintel64 interface=lp64 threading=sequential cluster=no export=subs.txt name=myMKL_x64&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this approach did not work for 32 bit.&amp;nbsp; setvars seemed to work ok, but not the nmake command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%ComSpec% /E:ON /K ""C:\Program Files (x86)\Intel\oneAPI\setvars.bat" ia32 vs2022"&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;nmake libia32 interface=cdecl threading=sequential cluster=no export=subs.txt name=myMKL&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The nmake command generates the following linker error:&lt;/P&gt;&lt;P&gt;LINK : fatal error LNK1181: cannot open input file 'mkl_intel_c.lib'&lt;/P&gt;&lt;P&gt;This file is not on my system.&amp;nbsp; Evidently installing the default HPC base toolkit only installs 64 bit support.&amp;nbsp; I got 32 bit to work after I installed&amp;nbsp;&lt;A class="" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=window&amp;amp;distributions=online&amp;amp;version=2023.2.0#collapseCollapsible1690845058803" target="_blank" rel="noopener"&gt;Intel oneAPI&amp;nbsp;Base Toolkit for Windows&amp;nbsp;(32 bit)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 01:29:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1520484#M35038</guid>
      <dc:creator>Brian_Murphy</dc:creator>
      <dc:date>2023-09-05T01:29:50Z</dc:date>
    </item>
    <item>
      <title>Re:How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1522481#M35089</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It's great to know that you are able to create and use DLLs without any error on 64-bit.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I got 32 bit to work after I installed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm if you are able to run successfully on 32-bit or not?&lt;/P&gt;&lt;P&gt;If not, could you please provide us with the complete files and steps you are following to reproduce the issue at our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2023 12:11:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1522481#M35089</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-11T12:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1523060#M35105</link>
      <description>&lt;P&gt;Yes, after installing 32 bit support for MKL, I can build and run 32-bit as well as 64-bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:18:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1523060#M35105</guid>
      <dc:creator>Brian_Murphy</dc:creator>
      <dc:date>2023-09-12T19:18:25Z</dc:date>
    </item>
    <item>
      <title>Re:How to make a custom DLL of MKL routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1523255#M35109</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2023 06:38:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-make-a-custom-DLL-of-MKL-routines/m-p/1523255#M35109</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-13T06:38:38Z</dc:date>
    </item>
  </channel>
</rss>

