<?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:fatal error: mkl.h: No such file or directory in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1535433#M35332</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&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>Thu, 19 Oct 2023 10:32:14 GMT</pubDate>
    <dc:creator>VarshaS_Intel</dc:creator>
    <dc:date>2023-10-19T10:32:14Z</dc:date>
    <item>
      <title>fatal error: mkl.h: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1528093#M35290</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have installed intel One base toolkit on windows and I am trying to compile&amp;nbsp; a c code in R desktop. I am facing the following issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;gt; system("R CMD SHLIB example.c") 
using C compiler: 'gcc.exe (GCC) 12.2.0'
gcc  -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG     -I"c:/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c example.c -o example.o
example.c:3:10: fatal error: mkl.h: No such file or directory
    3 | #include &amp;lt;mkl.h&amp;gt;
      |          ^~~~~~~
compilation terminated.
make: *** [C:/PROGRA~1/R/R-43~1.1/etc/x64/Makeconf:265: example.o] Error 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/using-onemkl-with-r.html" target="_blank" rel="noopener"&gt;here&lt;/A&gt; &lt;SPAN&gt;instructions on utilizing R with Intel MKL, but those specific instructions are designed for Linux, and I don't have the expertise to modify the process as I'm not well-versed in Linux.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have tried also the following but&amp;nbsp; with no luck&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;&amp;gt; system("R CMD SHLIB -I 'C:/Program Files (x86)/Intel/oneAPI/mkl/latest/include' example.c")
using C compiler: 'gcc.exe (GCC) 12.2.0'
make: *** No rule to make target 'Files'.  Stop.
[1] 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;Maraki&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 13:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1528093#M35290</guid>
      <dc:creator>Maraki</dc:creator>
      <dc:date>2023-09-27T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: mkl.h: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1529333#M35291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know the Intel MKL version you are using? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, could you please provide us with the complete steps you are following on the R desktop along with the sample reproducer code you are using?&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;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Oct 2023 07:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1529333#M35291</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-10-02T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: mkl.h: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1530641#M35292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;example.c:3:10: fatal error: mkl.h: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;3 | #include &amp;lt;mkl.h&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;^~~~~~~&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;From this error, we can see that Intel MKL does not link properly. Also, from the compiler options provided by you, we did not see the option '-qmkl' so this might be causing an error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please try adding the flag and let us know if you still have any other issues?&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>Thu, 05 Oct 2023 11:09:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1530641#M35292</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-10-05T11:09:02Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: mkl.h: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1532968#M35293</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&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>Thu, 12 Oct 2023 08:13:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1532968#M35293</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-10-12T08:13:42Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: mkl.h: No such file or directory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1535433#M35332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&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>Thu, 19 Oct 2023 10:32:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-No-such-file-or-directory/m-p/1535433#M35332</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-10-19T10:32:14Z</dc:date>
    </item>
  </channel>
</rss>

