<?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: mkl_intel_thread.1.dll was not found in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436107#M33964</link>
    <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for getting back to us.&lt;/P&gt;
&lt;P&gt;You can refer to the following link for more details regarding linking a project in VS with Intel oneMKL&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/linking-your-application-with-onemkl.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/linking-your-application-with-onemkl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If there are no further queries, could you please confirm if we can close this thread from our end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Dec 2022 13:58:49 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-12-06T13:58:49Z</dc:date>
    <item>
      <title>mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1428787#M33845</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some problems running Fortran under Visual Studio 2019.&amp;nbsp;The versions of products I have are Intel Parallel Studio XE 2020, Fortran Numerical Library for Windows/Intel Parallel Studio XE (x64), and Intel one API Base &amp;amp; HPC 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solutions can be built with no error except that a window pops up saying that "The code execution cannot proceed because mkl_intel_thread.1.dll was not found. Reinstalling the program may fix this problem." In particular, it occurs when I call a function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My issue looks similar to the one here&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/td-p/1287801" target="_blank"&gt;https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/td-p/1287801&lt;/A&gt;&amp;nbsp;I tried to add a path under Environment Variable&amp;nbsp;&lt;SPAN&gt;but it did not work. Could anyone please elaborate on what I should do? Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 15:25:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1428787#M33845</guid>
      <dc:creator>yzhu</dc:creator>
      <dc:date>2022-11-09T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1428968#M33849</link>
      <description>&lt;P&gt;Hi Yifan,&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;Could you please confirm if you have enabled /Qmkl option (as shown in the screenshot) in the project configuration properties and still getting the error?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VidyalathaB_Intel_0-1668056010172.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/34988i5315994F250DDFC6/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VidyalathaB_Intel_0-1668056010172.png" alt="VidyalathaB_Intel_0-1668056010172.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If yes, we request you please share your VS project file with a sample reproducer so that we can check it from our end as well.&lt;/P&gt;
&lt;P&gt;You can refer to the following article for more details&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/training/how-to-build-onemkl-application-in-visual-fortran-msvs.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/articles/training/how-to-build-onemkl-application-in-visual-fortran-msvs.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, we suggest you to please try running the code from Intel oneAPI command prompt and do let us know if you still face the same issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 04:53:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1428968#M33849</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-11-10T04:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429091#M33851</link>
      <description>&lt;P&gt;Hi Vidya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply! I have attached the project that has this issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have compared my settings with those in the sample project found in your link. In fact, this problem can be fixed when I change the line&amp;nbsp;"INCLUDE 'LINK_FNL_SHARED.h'" to "INCLUDE 'LINK_FNL_SHARED&lt;STRONG&gt;_IMSL&lt;/STRONG&gt;.h'", though I am not sure about the mechanism.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apart from that, using the same settings, when I run the two validating programs provided by imsl (&lt;A href="https://help.imsl.com/fortran/current/common/README.html)," target="_blank"&gt;https://help.imsl.com/fortran/current/common/README.html),&lt;/A&gt;&amp;nbsp;I receive the error messages (please see the attached). Are they also related to my previous issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 13:17:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429091#M33851</guid>
      <dc:creator>yzhu</dc:creator>
      <dc:date>2022-11-10T13:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429427#M33853</link>
      <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let us know if you are calling routines from Intel oneMKL library in your code and not from IMSL?&lt;/P&gt;
&lt;P&gt;I tried running the code and below is the error message that I'm getting that is different from yours.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VidyalathaB_Intel_0-1668168702835.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/35042i326DA4B50DE4CD75/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="VidyalathaB_Intel_0-1668168702835.png" alt="VidyalathaB_Intel_0-1668168702835.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;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 12:11:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429427#M33853</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-11-11T12:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429529#M33854</link>
      <description>&lt;P&gt;Hi Vidya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply. I have attached a new project using the sample codes of CNR (&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/obtaining-numerically-reproducible-results/code-examples.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/obtaining-numerically-reproducible-results/code-examples.html&lt;/A&gt;) with a screenshot of the result.&lt;SPAN&gt;&amp;nbsp;I think I am only using the OneAPI MKL library this time.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to use IMSL at some point. But would you please let me know if the attached figure means that I have misspecified anything for the OneAPI MKL?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for your time.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 21:12:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1429529#M33854</guid>
      <dc:creator>yzhu</dc:creator>
      <dc:date>2022-11-11T21:12:52Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1431675#M33893</link>
      <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing us the details.&lt;/P&gt;&lt;P&gt;We are working on this issue, we will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Nov 2022 05:19:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1431675#M33893</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-11-21T05:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1435178#M33944</link>
      <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize for the delay and thanks for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the reproducer code, Include 'mkl.fi' is commented out in line 2, therefore the attempt to call mkl_malloc triggers an access violation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After including the mkl.fi file, we see errors because of multiple declarations of mkl_malloc and mkl_free, so comment out the corresponding lines (7-12). Besides that, the arguments of mkl_malloc cause another error. You may remove the %VAL calls. An example of calling mkl_malloc in Fortran can be found in $MKLROOT/examples/f/service/source/servicefuncs.f.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached project file with the above changes, try running it, and do let us know if you face any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 11:06:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1435178#M33944</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-12-02T11:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436105#M33963</link>
      <description>&lt;P&gt;Hi Vidya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and all the explanations! I can get those errors when I comment on different parts of the codes.&lt;/P&gt;
&lt;P&gt;In fact, I am able to run my own Fortran codes with these libraries. Setting up the properties can be very tricky but I have not encountered many serious issues so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Yifan&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:40:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436105#M33963</guid>
      <dc:creator>yzhu</dc:creator>
      <dc:date>2022-12-06T13:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436107#M33964</link>
      <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for getting back to us.&lt;/P&gt;
&lt;P&gt;You can refer to the following link for more details regarding linking a project in VS with Intel oneMKL&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/linking-your-application-with-onemkl.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-windows-developer-guide/top/linking-your-application-with-onemkl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If there are no further queries, could you please confirm if we can close this thread from our end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:58:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436107#M33964</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-12-06T13:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436516#M33972</link>
      <description>&lt;P&gt;Hi Vidya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no further queries. Please close the thread. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Yifan&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 16:32:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436516#M33972</guid>
      <dc:creator>yzhu</dc:creator>
      <dc:date>2022-12-07T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_intel_thread.1.dll was not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436680#M33973</link>
      <description>&lt;P&gt;Hi Yifan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation! (you can help others with a similar issue by marking the reply which helped you as an accepted solution)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please post a new question if you need any additional information from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2022 02:50:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-intel-thread-1-dll-was-not-found/m-p/1436680#M33973</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-12-08T02:50:16Z</dc:date>
    </item>
  </channel>
</rss>

