<?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: What is mkl.h and mkl_c.lib ? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-mkl-h-and-mkl-c-lib/m-p/958441#M15673</link>
    <description>&lt;P&gt;MKL is largely independent of compilers. But interfaces as defined by various standards change. MKL supports two interfaces - cdecl and Compaq Visual Fortran default, which is very similar to stdcall except in how strings are passed.&lt;/P&gt;
&lt;P&gt;So, mkl_c.lib supports cdecl and mkl_s.lib supports CVF default. &lt;/P&gt;
&lt;P&gt;All characters are to be passed by reference just like other scalars are since underneath is a routine that obeys Fortran rules.&lt;/P&gt;
&lt;P&gt;If you use Microsoft tools, you should link to mkl_c.lib. &lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 18 May 2004 17:25:52 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-05-18T17:25:52Z</dc:date>
    <item>
      <title>What is mkl.h and mkl_c.lib ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-mkl-h-and-mkl-c-lib/m-p/958440#M15672</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;I very naive question.&lt;/DIV&gt;
&lt;DIV&gt;What is mkl_c.lib ? Is it a C wrapper library (C code compiled into lib) to use LAPACK routines in c ? OR is it the original fortranlib file (Fortran code compiled to a lib).&lt;/DIV&gt;
&lt;DIV&gt;I understand mkl.h is the (only) header that we need to use all the MKL routines.&lt;/DIV&gt;
&lt;DIV&gt;I come to this question since I have code that runs fine in VC++ 6.0 but does not run at all with VC++.NET with managed extensions. Any function that doesnt take a char parameter works but the one with char parameter doesnt work. I am wondering if I need to pass the character in fortran style.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks for your patience.&lt;/DIV&gt;
&lt;DIV&gt;vikrantca&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 May 2004 00:26:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-mkl-h-and-mkl-c-lib/m-p/958440#M15672</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-15T00:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is mkl.h and mkl_c.lib ?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-mkl-h-and-mkl-c-lib/m-p/958441#M15673</link>
      <description>&lt;P&gt;MKL is largely independent of compilers. But interfaces as defined by various standards change. MKL supports two interfaces - cdecl and Compaq Visual Fortran default, which is very similar to stdcall except in how strings are passed.&lt;/P&gt;
&lt;P&gt;So, mkl_c.lib supports cdecl and mkl_s.lib supports CVF default. &lt;/P&gt;
&lt;P&gt;All characters are to be passed by reference just like other scalars are since underneath is a routine that obeys Fortran rules.&lt;/P&gt;
&lt;P&gt;If you use Microsoft tools, you should link to mkl_c.lib. &lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 May 2004 17:25:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-is-mkl-h-and-mkl-c-lib/m-p/958441#M15673</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-18T17:25:52Z</dc:date>
    </item>
  </channel>
</rss>

