<?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 Adding MKL to Path in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Adding-MKL-to-Path/m-p/1045989#M20979</link>
    <description>&lt;P&gt;I just installed Parallel Studio and need to make use of the C compiler, Fortran compiler, and math kernel library. After installing, I add source /opt/intel/bin/compilervars.sh intel64 and source /opt/intel/mkl/bin/mklvars.sh intel64 to my bashrc file (I'm running Fedora linux). When I go to check that everything has correctly added to my path I run "which ifort" and "which icc" and see the location of the ifort and icc executables. However, this method doesn't seem to work with MKL given that I don't believe there are executables for which I could run "which &amp;lt;blank&amp;gt;".&lt;/P&gt;

&lt;P&gt;I'm wondering how to correctly add MKL to my path and environment and then confirm that it has been done correctly.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2015 20:46:46 GMT</pubDate>
    <dc:creator>Christopher_G_</dc:creator>
    <dc:date>2015-06-19T20:46:46Z</dc:date>
    <item>
      <title>Adding MKL to Path</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Adding-MKL-to-Path/m-p/1045989#M20979</link>
      <description>&lt;P&gt;I just installed Parallel Studio and need to make use of the C compiler, Fortran compiler, and math kernel library. After installing, I add source /opt/intel/bin/compilervars.sh intel64 and source /opt/intel/mkl/bin/mklvars.sh intel64 to my bashrc file (I'm running Fedora linux). When I go to check that everything has correctly added to my path I run "which ifort" and "which icc" and see the location of the ifort and icc executables. However, this method doesn't seem to work with MKL given that I don't believe there are executables for which I could run "which &amp;lt;blank&amp;gt;".&lt;/P&gt;

&lt;P&gt;I'm wondering how to correctly add MKL to my path and environment and then confirm that it has been done correctly.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 20:46:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Adding-MKL-to-Path/m-p/1045989#M20979</guid>
      <dc:creator>Christopher_G_</dc:creator>
      <dc:date>2015-06-19T20:46:46Z</dc:date>
    </item>
    <item>
      <title>If you installed your MKL and</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Adding-MKL-to-Path/m-p/1045990#M20980</link>
      <description>&lt;P&gt;If you installed your MKL and your compilers by the same installer, compilervars should be invoking mklvars automatically, so MKL will appear in LD_LIBRARY_PATH (something like dyld_library_path for Mac?)&lt;/P&gt;

&lt;P&gt;echo $LD_LIBRARY_PATH&lt;/P&gt;

&lt;P&gt;Does e.g. locate libmkl_intel_thread.so help?&amp;nbsp; (look at the full names of the MKL libraries of interest).&lt;/P&gt;

&lt;P&gt;"which" follows paths for executables.&amp;nbsp; shared libraries on Windows are found that way, but not on other OS.&lt;/P&gt;

&lt;P&gt;So, with bash in a WIndows compiler cmd window,&lt;/P&gt;

&lt;P&gt;$ which mkl_intel_thread.dll&lt;BR /&gt;
	/cygdrive/c/Program Files (x86)/Intel_sw_development_tools/compilers_and_libraries_2016.0.063/windows/redist/intel64/mkl/mkl_intel_thread.dll&lt;/P&gt;

&lt;P&gt;but you must adjust your habits to your OS.&amp;nbsp; I guess it's good to make these checks so you get the MKL version you intend.&lt;/P&gt;

&lt;P&gt;Try some general web discussion forums for the OS of your choice, if the question isn't specific to Intel tools e.g.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.linuxquestions.org/questions/linux-newbie-8/searching-in-linux-locate-vs-find-877774/" target="_blank"&gt;http://www.linuxquestions.org/questions/linux-newbie-8/searching-in-linux-locate-vs-find-877774/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:59:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Adding-MKL-to-Path/m-p/1045990#M20980</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2015-06-19T22:59:26Z</dc:date>
    </item>
  </channel>
</rss>

