<?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:Failed using OpenMP Threading Library in the VS2019 with MKL 2021.3 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1321323#M32182</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Oct 2021 11:36:10 GMT</pubDate>
    <dc:creator>ShanmukhS_Intel</dc:creator>
    <dc:date>2021-10-12T11:36:10Z</dc:date>
    <item>
      <title>Failed using OpenMP Threading Library in the VS2019 with MKL 2021.3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1317680#M32107</link>
      <description>&lt;P&gt;Hello, Experts&lt;/P&gt;
&lt;P&gt;I am an newbie using intel MKL. Recently, I developed my source code in the VS2019 IDE environment. First, I started with the sequential mode, and the compilation is correct, and the final executable file can be executed correctly.&lt;/P&gt;
&lt;P&gt;Then I tried the parallel mode by using OpenMP threading library. Environments setting are below:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; VC++ Directories/Include Directories： &lt;STRONG&gt;&amp;lt;Root&amp;gt;\oneAPI\mkl\2021.3.0\include&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2. VC++ Directories/Library Directories: &lt;STRONG&gt;&amp;lt;Root&amp;gt;\oneAPI\mkl\2021.3.0\lib\intel64&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;&amp;lt;Root&amp;gt;\oneAPI\compiler\2021.3.0\windows\compiler\lib\intel64_win&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;3. Linker/Input:&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;mkl_intel_lp64.lib&lt;/STRONG&gt;,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;mkl_intel_thread.lib&lt;/STRONG&gt;,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;mkl_core.lib&lt;/STRONG&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;libiomp5md.lib&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;4. C/C++/Code Generation/Runtime Library: &lt;STRONG&gt;Multi-Threaded Debug DLL&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-28_162816.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19642i0706B83CF21C024F/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="2021-09-28_162816.jpg" alt="2021-09-28_162816.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-28_162930.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19643iEEE1BC7218624086/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="2021-09-28_162930.jpg" alt="2021-09-28_162930.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With such settings above, the compilation and building are correct, &lt;FONT color="#FF0000"&gt;but when i started debugging, it hits an error&lt;/FONT&gt;. The code i used is one of code examples from Intel official website.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-09-28_160625.jpg" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19641iA1DC98D5ADEA0A42/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="2021-09-28_160625.jpg" alt="2021-09-28_160625.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;with this error, I found the reason is missing the&amp;nbsp;&lt;STRONG&gt;libiomp5md.dll&lt;/STRONG&gt;. so I copy this file from "&lt;STRONG&gt;&amp;lt;Root&amp;gt;\oneAPI\compiler\2021.3.0\windows\redist\intel64_win\compiler&lt;/STRONG&gt;" to the directory where the executable file is. then, I can execute this code without error.&lt;/P&gt;
&lt;P&gt;It seems that the "&lt;STRONG&gt;&amp;lt;Root&amp;gt;\oneAPI\compiler\2021.3.0\windows\compiler\lib\intel64_win&lt;/STRONG&gt;" in the&amp;nbsp;Library Directories is not functioning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know how to correct this error in the VS2019, because copying the&amp;nbsp;&lt;STRONG&gt;libiomp5md.dll&amp;nbsp;&lt;/STRONG&gt;to directory where the executable file is not an elegant way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 08:31:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1317680#M32107</guid>
      <dc:creator>CrazyWilliam</dc:creator>
      <dc:date>2021-09-28T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed using OpenMP Threading Library in the VS2019 with MKL 2021.3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1317992#M32112</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parallel_exec_dgemm_cblas.PNG" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19664i9947C4D10F49A93D/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Parallel_exec_dgemm_cblas.PNG" alt="Parallel_exec_dgemm_cblas.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sequential_exec_dgemm_cblas.PNG" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/19665i17D63FD3E1389EDD/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Sequential_exec_dgemm_cblas.PNG" alt="Sequential_exec_dgemm_cblas.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;  &lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have tried executing the code "Computing matrix product using Intel(R) MKL dgemm function via CBLAS interface" in both sequential and parallel mode using VS2019 with MKL version. However, the code got compiled and executed successfully. Attached the screenshots for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would suggest you to execute the code on oneAPI command prompt and let us know if the issue persists. Besides this, could you please share us the steps followed in installing oneAPI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 10:19:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1317992#M32112</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2021-09-29T10:19:19Z</dc:date>
    </item>
    <item>
      <title>Re:Failed using OpenMP Threading Library in the VS2019 with MKL 2021.3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1319657#M32148</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Has the solution provided helped. Please let us know if the issue still persists.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2021 11:37:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1319657#M32148</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2021-10-06T11:37:45Z</dc:date>
    </item>
    <item>
      <title>Re:Failed using OpenMP Threading Library in the VS2019 with MKL 2021.3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1321323#M32182</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2021 11:36:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Failed-using-OpenMP-Threading-Library-in-the-VS2019-with-MKL/m-p/1321323#M32182</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2021-10-12T11:36:10Z</dc:date>
    </item>
  </channel>
</rss>

