<?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 Determingine MKL version number during compile in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804479#M3328</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion.Introducing kind of MKL_VERSION macro into &lt;MKL.H&gt; would be very helpful but only for C/C++ users.&lt;/MKL.H&gt;</description>
    <pubDate>Fri, 11 Feb 2011 07:43:20 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2011-02-11T07:43:20Z</dc:date>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804475#M3324</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does MKL #define anything that indicate its version number and that can be seen by the preprocessor during a compile (C/C++)? Some function definitions seem to have changed between MKL 10.1 and 10.2. For example, the LAPACK function 'cpptrf' changed from&lt;BR /&gt;&lt;BR /&gt; cpptrf(char*, int*, float*, int*)&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt; &lt;BR /&gt; cpptrf(char*,int*,(MKL_Complex8*),int*)&lt;BR /&gt;&lt;BR /&gt;Right now we have the user explicitly set a #define before comple to indicate which mkl version they have, but it would be nice if we could key off something that is set by MKL itself.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;John</description>
      <pubDate>Thu, 10 Feb 2011 16:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804475#M3324</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2011-02-10T16:57:00Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804476#M3325</link>
      <description>Look up the functions MKL_Get_Version() and MKL_Get_Version_String(). &lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2011 19:52:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804476#M3325</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-02-10T19:52:34Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804477#M3326</link>
      <description>I am aware of those functions, but those are at run time. I would like to #ifdef things at compile time depending on the MKL version.&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 10 Feb 2011 21:09:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804477#M3326</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2011-02-10T21:09:20Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804478#M3327</link>
      <description>In that case, why not insert your own version symbol into, say, mkl.h ? If needed, a comparison of the value of this preprocessor symbol to the return value of MKL_Get_Version() could be put in your initialization code as a sanity check .&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Feb 2011 04:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804478#M3327</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-02-11T04:42:00Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804479#M3328</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your suggestion.Introducing kind of MKL_VERSION macro into &lt;MKL.H&gt; would be very helpful but only for C/C++ users.&lt;/MKL.H&gt;</description>
      <pubDate>Fri, 11 Feb 2011 07:43:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804479#M3328</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2011-02-11T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804480#M3329</link>
      <description>That would be one solution. However, some users do not have write access to MKL libraries on the systems they are using.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Feb 2011 12:38:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804480#M3329</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2011-02-11T12:38:15Z</dc:date>
    </item>
    <item>
      <title>Determingine MKL version number during compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804481#M3330</link>
      <description>Victor,&lt;BR /&gt;&lt;BR /&gt;That would be great if some macros could be added.&lt;BR /&gt;&lt;BR /&gt;I am not sure if the Fortran libraries suffer from the same problem that the C/C++ libraries do, so maybe having the version available at compile time is not as useful on the Fortran side. For example, the C/C++ interface of 'cpptrf' changed between versions 11.1 and 11.2. I do not think (but I have not checked) the Fortran interface for this particular function changed between 11.1 and 11.2. I suppose subroutine interface changes could happen in the Fortran libraries as well though.&lt;BR /&gt;&lt;BR /&gt;That being said, if you want to make a macro available to Fortran users who do actually pre-process their files, you could create a separate header such as 'mkl_version.h'. Inside 'mkl_version.h' would only exist #define macros. That way a Fortran user who is using pre-processing could still #include it.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;John</description>
      <pubDate>Fri, 11 Feb 2011 12:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Determingine-MKL-version-number-during-compile/m-p/804481#M3330</guid>
      <dc:creator>John_Young</dc:creator>
      <dc:date>2011-02-11T12:45:20Z</dc:date>
    </item>
  </channel>
</rss>

