<?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: Getting started with custom MKL dll in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1225903#M30288</link>
    <description>&lt;P&gt;Well, naturally, the answer is simple...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I looked again at the MKL documentation, and found this:&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;Set the&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword"&gt; &lt;/VAR&gt;MKLROOT&amp;nbsp;&lt;SPAN&gt;environment variable with the installation directory of the&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Intel® MKL&amp;nbsp;&lt;/SPAN&gt;&lt;LI-WRAPPER&gt;&lt;SPAN&gt;version you are going to use."&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So I created the MKLROOT environment variable in the system settings, and guessed that the path I needed is "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mklC:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mkl". Now I can build the example solution AFTER RESTARTING visual studio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On to the next problem...&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 00:36:13 GMT</pubDate>
    <dc:creator>Weeks__John</dc:creator>
    <dc:date>2020-11-06T00:36:13Z</dc:date>
    <item>
      <title>Getting started with custom MKL dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1223385#M30249</link>
      <description>&lt;P&gt;I have just installed Intel Parallel Studio XE 2020 update 2, and I would like to build a custom dll for MKL. It seems like there may be a problem with installation, and I seem to be pretty clueless. If there is some detailed description that assumes no knowledge, point me at it!&lt;/P&gt;
&lt;P&gt;Can I copy the libintel64.sln and supporting folders/files to a location in my user folders? Seems like I should, and it seems bad to alter the files in the installation directory.&lt;/P&gt;
&lt;P&gt;I changed the listed library to mkl_intel_ilp64.lib to support the ilp64 interface. Regradless, trying to build I get errors that the libraries can't be found:&lt;/P&gt;
&lt;P&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error LNK1104 cannot open file 'mkl_intel_lp64.lib' lp64_parallel C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mkl\tools\builder\MSVS_Projects\VS2019\libintel64\lp64_parallel\LINK 1 &lt;/P&gt;
&lt;P&gt;It appears that the path the libraries depends on a variable MKLROOT. My guess is that it has not been correctly set. How does it get set? Is it part of the initialization process described the Before You Begin document? That is, run psxevars.bat. I need to build both 32- and 64-bit applications, so I ran it twice. Is that OK?&lt;/P&gt;
&lt;P&gt;I am using VS 2019 community edition.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 21:48:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1223385#M30249</guid>
      <dc:creator>Weeks__John</dc:creator>
      <dc:date>2020-10-27T21:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with custom MKL dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1225903#M30288</link>
      <description>&lt;P&gt;Well, naturally, the answer is simple...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I looked again at the MKL documentation, and found this:&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;Set the&amp;nbsp;&lt;/SPAN&gt;&lt;VAR class="keyword"&gt; &lt;/VAR&gt;MKLROOT&amp;nbsp;&lt;SPAN&gt;environment variable with the installation directory of the&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;Intel® MKL&amp;nbsp;&lt;/SPAN&gt;&lt;LI-WRAPPER&gt;&lt;SPAN&gt;version you are going to use."&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So I created the MKLROOT environment variable in the system settings, and guessed that the path I needed is "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mklC:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mkl". Now I can build the example solution AFTER RESTARTING visual studio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On to the next problem...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 00:36:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1225903#M30288</guid>
      <dc:creator>Weeks__John</dc:creator>
      <dc:date>2020-11-06T00:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting started with custom MKL dll</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1289972#M31515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for accepting as a Solution!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread. If you require any additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a Good day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 05:28:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Getting-started-with-custom-MKL-dll/m-p/1289972#M31515</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-22T05:28:44Z</dc:date>
    </item>
  </channel>
</rss>

