<?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 How do I link oneMKL with Visual Studio 2019 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1248740#M30735</link>
    <description>&lt;P&gt;I have started to used oneMKL in VS 2019. I changed the setting in solution properties of&amp;nbsp; Use oneMKL to Parallel. However when I #include "mkl_sycl.hpp", it says cannot open source file "mkl_sycl.hpp".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 21:43:57 GMT</pubDate>
    <dc:creator>Nikhil_T</dc:creator>
    <dc:date>2021-01-21T21:43:57Z</dc:date>
    <item>
      <title>How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1248740#M30735</link>
      <description>&lt;P&gt;I have started to used oneMKL in VS 2019. I changed the setting in solution properties of&amp;nbsp; Use oneMKL to Parallel. However when I #include "mkl_sycl.hpp", it says cannot open source file "mkl_sycl.hpp".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 21:43:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1248740#M30735</guid>
      <dc:creator>Nikhil_T</dc:creator>
      <dc:date>2021-01-21T21:43:57Z</dc:date>
    </item>
    <item>
      <title>Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1249622#M30752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Kindly specify your oneAPI toolkit version, OS, and VS19 version. Please note that some of the header files have been moved (to a different directory) or renamed in the latest oneAPI release.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Give it a try with the latest MKL code samples located under:&lt;/P&gt;&lt;P&gt;&lt;B&gt;oneAPI_root/mkl/latest/examples/examples_sycl.zip&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You may rely on the Intel MKL link line advisor tool to check what all libraries are recommended for your application:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl/link-line-advisor.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jan 2021 11:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1249622#M30752</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-01-25T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1249847#M30758</link>
      <description>&lt;P&gt;How do I use the link line? Is it for the CLI execution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, how do I use the oneMKL in parallel mode in VS 2019?&amp;nbsp; My Version for VS 2019 is&amp;nbsp;16.8.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 00:31:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1249847#M30758</guid>
      <dc:creator>Nikhil_T</dc:creator>
      <dc:date>2021-01-26T00:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1250765#M30775</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set MKL mode to parallel:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the property pages of your project.&lt;/LI&gt;
&lt;LI&gt;Select Intel libraries for oneAPI on the left column and double click on use oneMKL under the Intel oneMKL tab to change the MKL mode to parallel/sequential/cluster.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RahulV_intel_1-1611826310093.png" style="width: 1920px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14999i3934C912252B52A6/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="RahulV_intel_1-1611826310093.png" alt="RahulV_intel_1-1611826310093.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;oneMKL may also require additional library dependencies for your application to run. Kindly include these additional dependencies as suggested by the link line advisor tool.&lt;/P&gt;
&lt;DIV id="tinyMceEditor_4b1b5894b92fd3RahulV_intel_12" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_4b1b5894b92fd3RahulV_intel_13" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;To include additional dependencies:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the property pages of your project.&lt;/LI&gt;
&lt;LI&gt;Select the Linker tab on your left column and click on Input.&lt;/LI&gt;
&lt;LI&gt;Type in the additional dependency libraries. (mkl_core_dll.lib, mkl_tbb_thread_dll.lib)&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV id="tinyMceEditor_4b1b5894b92fd3RahulV_intel_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RahulV_intel_0-1611826589523.png" style="width: 1920px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/15000i3BE1F9A3FCDDD4FE/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="RahulV_intel_0-1611826589523.png" alt="RahulV_intel_0-1611826589523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:36:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1250765#M30775</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-01-28T09:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1252345#M30803</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/143036"&gt;@Nikhil_T&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any updates?&lt;/P&gt;
&lt;P&gt;Let us know if your query is resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 11:32:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1252345#M30803</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-02T11:32:51Z</dc:date>
    </item>
    <item>
      <title>Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1252652#M30823</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. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Feb 2021 06:17:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1252652#M30823</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-02-03T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1288419#M31480</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46"&gt;@RahulV_intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to link oneMKL using the above mentioned process. Also trying to include the additional libraries. However, while building, the process seems to get stuck and does not compile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using oneAPI 2021.1.0 and VS 2019.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even when I use a simple "hello world" code and try to link oneMKL (even though there is no use of MKL in the code), the simple hello world code does not compile. The same code however compiles and prints hello world when i set&amp;nbsp;&lt;STRONG&gt;use mkl&amp;nbsp;&lt;/STRONG&gt; to&amp;nbsp;&lt;STRONG&gt;no&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, while compiling, the task manager shows SYCL post link tool using almost the whole CPU.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 12:03:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1288419#M31480</guid>
      <dc:creator>Nikhil_T</dc:creator>
      <dc:date>2021-06-09T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1288748#M31486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/143036"&gt;@Nikhil_T&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue has been fixed in the latest release of oneAPI 2021.2. Could you try it out with the latest version and let us know if you face any issues?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Rahul&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 11:28:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1288748#M31486</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2021-06-10T11:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re:How do I link oneMKL with Visual Studio 2019</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1289224#M31489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46"&gt;@RahulV_intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using the above mentioned process. I am getting several errors like this::&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in TestingOneMkl-272333.obj TestingOneMkl D:\Camb research\Multigrid Code\TEMP\TestingOneMkl\mkl_tbb_thread.lib(vml_tbb_threading_templates.obj) : 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the one as :&lt;/P&gt;
&lt;P&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error linker command failed with exit code 1319 (use -v to see invocation) TestingOneMkl D:\Camb research\Multigrid Code\TEMP\TestingOneMkl\dpcpp: 1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have set use MKL to Parallel mode. and rest settings as default. I am now using oneapi 2021.2.0 and VS 2019. Still getting the errors&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 21:54:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-do-I-link-oneMKL-with-Visual-Studio-2019/m-p/1289224#M31489</guid>
      <dc:creator>Nikhil_T</dc:creator>
      <dc:date>2021-06-11T21:54:29Z</dc:date>
    </item>
  </channel>
</rss>

