<?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:Finding different versions of MKL when using CMake on Windows in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1572822#M35839</link>
    <description>&lt;P&gt;You can use MKL_ROOT cmake variable to specify the oneMKL libs and headers location.&lt;/P&gt;&lt;P&gt;e.g. build for oneMKL examples from C:/Users/user/local_onemkl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmake .. -DTARGET_FUNCTIONS="blas/cblas_dgemmx"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;-- Found C:/Users/user/local_onemkl/lib/mkl_core_dll.lib&lt;/P&gt;&lt;P&gt;-- Found DLL: C:/Users/user/local_onemkl/bin/mkl_core.2.dll&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you can change the location with MKL_ROOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmake .. -DMKL_ROOT="&lt;A href="about:blank" rel="noopener noreferrer" target="_blank"&gt;C:\Program&lt;/A&gt;&amp;nbsp;Files (x86)\Intel\oneAPI\mkl\2024.0" -DTARGET_FUNCTIONS="blas/cblas_dgemmx"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;-- Found C:/Program Files (x86)/Intel/oneAPI/mkl/2024.0/lib/mkl_core_dll.lib&lt;/P&gt;&lt;P&gt;-- Found DLL: C:/Program Files (x86)/Intel/oneAPI/mkl/2024.0/bin/mkl_core.2.dll&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note, MKLConfig.cmake could be not always compatible with the older oneMKL packages because of library versions, missed dependencies or package structure.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Feb 2024 05:27:54 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2024-02-16T05:27:54Z</dc:date>
    <item>
      <title>Finding different versions of MKL when using CMake on Windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1570663#M35802</link>
      <description>&lt;P&gt;After installing MKL, CMake files are installed in&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\Intel\oneAPI\mkl\latest\lib\cmake\mkl\&lt;/P&gt;&lt;P&gt;Also as part of the installation process some change is made so CMake will always &amp;nbsp;look in the above location "first".&lt;BR /&gt;&lt;BR /&gt;Does anyone know where this is recorded? The Windows registry? Somewhere in the CMake installation?&lt;/P&gt;&lt;P&gt;I need to be able to change where CMake finds MKL ( to use older/different versions) and this behavior seems impossible to ovveride.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:22:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1570663#M35802</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2024-02-08T17:22:29Z</dc:date>
    </item>
    <item>
      <title>Re:Finding different versions of MKL when using CMake on Windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1572822#M35839</link>
      <description>&lt;P&gt;You can use MKL_ROOT cmake variable to specify the oneMKL libs and headers location.&lt;/P&gt;&lt;P&gt;e.g. build for oneMKL examples from C:/Users/user/local_onemkl,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmake .. -DTARGET_FUNCTIONS="blas/cblas_dgemmx"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;-- Found C:/Users/user/local_onemkl/lib/mkl_core_dll.lib&lt;/P&gt;&lt;P&gt;-- Found DLL: C:/Users/user/local_onemkl/bin/mkl_core.2.dll&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you can change the location with MKL_ROOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cmake .. -DMKL_ROOT="&lt;A href="about:blank" rel="noopener noreferrer" target="_blank"&gt;C:\Program&lt;/A&gt;&amp;nbsp;Files (x86)\Intel\oneAPI\mkl\2024.0" -DTARGET_FUNCTIONS="blas/cblas_dgemmx"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;-- Found C:/Program Files (x86)/Intel/oneAPI/mkl/2024.0/lib/mkl_core_dll.lib&lt;/P&gt;&lt;P&gt;-- Found DLL: C:/Program Files (x86)/Intel/oneAPI/mkl/2024.0/bin/mkl_core.2.dll&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note, MKLConfig.cmake could be not always compatible with the older oneMKL packages because of library versions, missed dependencies or package structure.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2024 05:27:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1572822#M35839</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2024-02-16T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Finding different versions of MKL when using CMake on Windows</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1573014#M35845</link>
      <description>&lt;P&gt;HI Gennady,&lt;/P&gt;&lt;P&gt;I just worked this out. The intel setvars.bat sets the variable CMAKE_PREFIX_PATH which is used to find MKL/IPP etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 21:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Finding-different-versions-of-MKL-when-using-CMake-on-Windows/m-p/1573014#M35845</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2024-02-16T21:22:00Z</dc:date>
    </item>
  </channel>
</rss>

