<?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' file not found in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1363664#M32791</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Reminder:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with an update regarding the issue? If it is resolved, please confirm whether we can close this thread from our end.&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>Fri, 25 Feb 2022 06:53:18 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-02-25T06:53:18Z</dc:date>
    <item>
      <title>fatal error: 'mkl.h' file not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1361500#M32756</link>
      <description>&lt;P&gt;Hi, this the first time I’m trying to run C++ code in command line and I need to use mkl.h library. I have downloaded the oneAPI base toolkit but I don't know how to make the command line knows the downloaded library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using terminal on macos system.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 05:10:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1361500#M32756</guid>
      <dc:creator>A_P</dc:creator>
      <dc:date>2022-02-18T05:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: fatal error: 'mkl.h' file not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1361511#M32757</link>
      <description>&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;You can follow the link line advisor suggestions for successfully compiling and linking your application with MKL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link Line advisor tool helps you to get the compiling and linking options with respect to your environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the link for the link line advisor tool:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html?wapkw=link%20line%20advisor#gs.pzy22d" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html?wapkw=link%20line%20advisor#gs.pzy22d&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another way is to simply include the -qmkl option in your command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-macos-developer-guide/top/linking-your-application-with-onemkl/linking-quick-start/using-the-qmkl-compiler-option.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-macos-developer-guide/top/linking-your-application-with-onemkl/linking-quick-start/using-the-qmkl-compiler-option.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;icpc -qmkl &amp;lt;filename.cpp&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(icpc is the Intel compiler for C++ language and you can get this by downloading oneAPI HPC Toolkit)&lt;/P&gt;
&lt;P&gt;Before this, you need to run the setvars.sh script file(command: source /opt/intel/oneapi/setvars.sh) to set the environment variables&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/onemkl-macos-developer-guide/top/getting-started/setting-environment-variables.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/onemkl-macos-developer-guide/top/getting-started/setting-environment-variables.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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, 18 Feb 2022 06:28:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1361511#M32757</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-02-18T06:28:59Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: 'mkl.h' file not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1363664#M32791</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Reminder:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with an update regarding the issue? If it is resolved, please confirm whether we can close this thread from our end.&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>Fri, 25 Feb 2022 06:53:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1363664#M32791</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-02-25T06:53:18Z</dc:date>
    </item>
    <item>
      <title>Re:fatal error: 'mkl.h' file not found</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1365775#M32862</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As we haven't heard back from you, we assume that your issue is resolved with the provided information in the previous posts and hence closing this thread. 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;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2022 09:30:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/fatal-error-mkl-h-file-not-found/m-p/1365775#M32862</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-03-04T09:30:56Z</dc:date>
    </item>
  </channel>
</rss>

