<?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 catastrophic error: cannot open source file &amp;quot;mkl.h&amp;quot; in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786176#M1852</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;Can you please select MKL from the project properties as seen below and try? This basically sets the library and include paths for MKL in Parallel Composer 2011.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG height="1022" width="1200" src="http://software.intel.com/file/32139" alt="MKL selection from the project properties in MS VS 2010" /&gt;</description>
    <pubDate>Mon, 15 Nov 2010 17:19:15 GMT</pubDate>
    <dc:creator>VipinKumar_E_Intel</dc:creator>
    <dc:date>2010-11-15T17:19:15Z</dc:date>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786175#M1851</link>
      <description>After installing the new FORTRAN compiler c++ can no longer find mkl.h.&lt;BR /&gt;&lt;BR /&gt;I have added $(IFortInstallDir)mkl\\lib\\ia32 to the Parallel composer 2011 library and the VC++ library list.&lt;BR /&gt;&lt;BR /&gt;Also, $(IFortInstallDir)mkl\\include has been added to Parallel composer 2011 include list and the VC++ include list.</description>
      <pubDate>Mon, 15 Nov 2010 10:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786175#M1851</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2010-11-15T10:27:19Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786176#M1852</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Can you please select MKL from the project properties as seen below and try? This basically sets the library and include paths for MKL in Parallel Composer 2011.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG height="1022" width="1200" src="http://software.intel.com/file/32139" alt="MKL selection from the project properties in MS VS 2010" /&gt;</description>
      <pubDate>Mon, 15 Nov 2010 17:19:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786176#M1852</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2010-11-15T17:19:15Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786177#M1853</link>
      <description>&lt;P&gt;Unfortunately I cant do what you suggest because my version of Parallel studio provides no such option. Under Configuration Properties my options are General, Debugging, Intel Debugging, c/c++, Linker, Manifest Tool, Browse Information, Build Events, Custom Build Step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would post a screen capture but the website does not seem to want to display a screen capture.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2010 19:32:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786177#M1853</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2010-11-15T19:32:34Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786178#M1854</link>
      <description>The answer is ......the c++ compiler no longer recognizes the fortran directory macro. All mkl lib &amp;amp; include directories must be explicitly stated.</description>
      <pubDate>Tue, 16 Nov 2010 11:26:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786178#M1854</guid>
      <dc:creator>Frank_M</dc:creator>
      <dc:date>2010-11-16T11:26:29Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786179#M1855</link>
      <description>Could somebody expand on this...I just installed the c++ compiler package for mac os x (10.6.5), which included the mkl library. &lt;BR /&gt;&lt;BR /&gt;I elected to install both the developer/Xcode and regular terminal forms of the package.&lt;BR /&gt;&lt;BR /&gt;The mian terminal builds appear to be in /opt/intel/composerxe-2011.1.122/, which includes the mkl libraries, etc.&lt;BR /&gt;&lt;BR /&gt;The executable I tried to use for compiling is in /opt/intel/composerxe-2011.1.122/bin/intel64&lt;BR /&gt;&lt;BR /&gt;When I try to use this executable to compile I get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="sectionBodyText"&gt;&lt;I&gt;naliboff &amp;gt;&amp;gt; /opt/intel/composerxe-2011.1.122/bin/intel64/icc -o in2fast in2fast.c -lmkl_solver_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread -mcmodel=medium&lt;BR /&gt;icc: command line warning #10152: option '-mcmodel medium' not supported&lt;BR /&gt;in2fast.c(5): catastrophic error: cannot open source file "mkl.h"&lt;BR /&gt; #include &lt;MKL.H&gt;&lt;BR /&gt; ^&lt;BR /&gt;&lt;BR /&gt;compilation aborted for in2fast.c (code 4)&lt;BR /&gt;naliboff &amp;gt;&amp;gt; &lt;/MKL.H&gt;&lt;/I&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;I've tried using other icc executables (in /usr/bin, etc) but I always get this errror. The licencse file (I'm doing the 28 trial) is on my desktop and in my .cshrc file I set &lt;I&gt;setenv INTEL_LICENSE_FILE /Users/naliboff/Desktop&lt;/I&gt;.&lt;BR /&gt;&lt;BR /&gt;So fom Frank_M's post it seems I need to explicitly state all the mkl lib &amp;amp; include directories, but I'm not sure how to go about this.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for the input.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;John</description>
      <pubDate>Thu, 30 Dec 2010 01:47:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786179#M1855</guid>
      <dc:creator>John_Naliboff</dc:creator>
      <dc:date>2010-12-30T01:47:37Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786180#M1856</link>
      <description>John,&lt;DIV&gt;Could you please look at the article "&lt;A href="http://software.intel.com/en-us/articles/how-to-link-application-against-intel-mkl-using-xcode-ide/"&gt;How to link application against MKL using XCode IDE...&lt;/A&gt;".&lt;/DIV&gt;&lt;DIV&gt;You will find there how to do that step by step...&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:21:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786180#M1856</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-12-30T04:21:16Z</dc:date>
    </item>
    <item>
      <title>catastrophic error: cannot open source file "mkl.h"</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786181#M1857</link>
      <description>Gennady,&lt;BR /&gt;Thank you for the link, if I end up compiling with the Xcode version of icc that link has all the needed info. However, I would prefer to not use Xcode (and the Xcode versions of icc) for compiling as eventually I will be operating and compiling remotely, as well as on a cluster. As such, is there an additional step I can take to link the non-xcode versions of icc (i.e. in my /usr/bin or in /opt/intel/composerxe-2011.1.122/bin/intel64) to mkl? When I did the installation there was a separate xcode version of icc/mkl/etc installed. Thank you again for your quick reply and the helpful link.&lt;BR /&gt;Cheers,&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Dec 2010 19:28:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786181#M1857</guid>
      <dc:creator>John_Naliboff</dc:creator>
      <dc:date>2010-12-30T19:28:50Z</dc:date>
    </item>
    <item>
      <title>I have the same error running</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786182#M1858</link>
      <description>&lt;P&gt;I have the same error running the following on terminal:&lt;/P&gt;&lt;P&gt;icc -c -xAVX optimizedV6.c&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;P&gt;optimizedV6.c(12): catastrophic error: cannot open source file "mkl.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp; #include "mkl.h"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;compilation aborted for optimizedV6.c (code 4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last time I ran the exact same line on terminal for version 4 and the code compiled perfectly in the same directory. I also tried removing the previously compiled code from the directory, but I am still getting the same problem.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 20:20:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/catastrophic-error-cannot-open-source-file-quot-mkl-h-quot/m-p/786182#M1858</guid>
      <dc:creator>Nibbe__Evan</dc:creator>
      <dc:date>2019-06-05T20:20:29Z</dc:date>
    </item>
  </channel>
</rss>

