<?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 When you use external in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030305#M20110</link>
    <description>&lt;P&gt;When you use external subprograms without providing interfaces, you are probably operating in "separate compilation" mode unless you tell the compiler to do cross-routine checking. Likewise, the MKL (or any such external library) is not going to be searched for missing routines unless you so order the compiler.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The mere fact of having installing MKL does not cause the MKL libraries to be added by default to a new project. You have to select one of the options in the IDE to make the search happen.&lt;/P&gt;

&lt;P&gt;For your toy example, &lt;STRONG&gt;ifort /Qmkl Console1.f90 MyExit.f90&lt;/STRONG&gt; will produce an executable file at the command line. Note the /Qmkl option (on Linux, it is -mkl).&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2014 23:35:00 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-10-20T23:35:00Z</dc:date>
    <item>
      <title>compiler doesn't recongnize mkl_set_exit_handler.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030304#M20109</link>
      <description>Hi, 
I installed the Intel MKL v11.1 update 4 and I am trying to use mkl_set_exit_handler to capture the system errors (#136) we have been seeing lately on our Fortran applications. The compiler doesn't seem to recognize this subroutine as I keep getting the unresolved external symbol error. 

Do I need any use statements for to call this mkl subroutine? 

I attached my test project for your reference. It is the same as the one in the manual.

Thanks,
Pramod</description>
      <pubDate>Mon, 20 Oct 2014 22:40:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030304#M20109</guid>
      <dc:creator>Pramod_V_</dc:creator>
      <dc:date>2014-10-20T22:40:16Z</dc:date>
    </item>
    <item>
      <title>When you use external</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030305#M20110</link>
      <description>&lt;P&gt;When you use external subprograms without providing interfaces, you are probably operating in "separate compilation" mode unless you tell the compiler to do cross-routine checking. Likewise, the MKL (or any such external library) is not going to be searched for missing routines unless you so order the compiler.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The mere fact of having installing MKL does not cause the MKL libraries to be added by default to a new project. You have to select one of the options in the IDE to make the search happen.&lt;/P&gt;

&lt;P&gt;For your toy example, &lt;STRONG&gt;ifort /Qmkl Console1.f90 MyExit.f90&lt;/STRONG&gt; will produce an executable file at the command line. Note the /Qmkl option (on Linux, it is -mkl).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2014 23:35:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030305#M20110</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-10-20T23:35:00Z</dc:date>
    </item>
    <item>
      <title>I realize that I need to turn</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030306#M20111</link>
      <description>&lt;P&gt;I realize that I need to turn on the MKL compiler switch, but it still doesn't recognize this function. I also added the interface for the myexit, but doesn't help.&lt;/P&gt;

&lt;P&gt;It seems mkl_set_exit_handler is one of the recently released with 11.1 update 4.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:55:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030306#M20111</guid>
      <dc:creator>Pramod_V_</dc:creator>
      <dc:date>2014-10-21T13:55:45Z</dc:date>
    </item>
    <item>
      <title>In your project properties</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030307#M20112</link>
      <description>&lt;P&gt;In your project properties pop-up window, set Configuration Properties-&amp;gt;Fortran-&amp;gt;Libraries-&amp;gt;Use Intel Math Kernel Library to one of the options provided (e.g., Sequential). In your present configuration, that line is blank, so MKL libraries are not searched.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 22:40:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compiler-doesn-t-recongnize-mkl-set-exit-handler/m-p/1030307#M20112</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-10-21T22:40:30Z</dc:date>
    </item>
  </channel>
</rss>

