<?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 You may not have set the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918058#M12766</link>
    <description>&lt;P&gt;You may not have set the command correctly in your .profile.&amp;nbsp; ". space" is synonymous with "source ".&amp;nbsp; If you use the . notation, the space is mandatory.&lt;/P&gt;

&lt;P&gt;If you source the corresponding compilervars.sh intel64 script, it will take care of setting up the MKL if it is installed by the compiler install script.&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2013 15:31:33 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2013-11-24T15:31:33Z</dc:date>
    <item>
      <title>Setting environmental variables for MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918057#M12765</link>
      <description>&lt;P&gt;I am now studying to use Intel Fortran compiler in Linux. My operation system is Ubuntu 12.04.&lt;/P&gt;

&lt;P&gt;I followed the install procedures in the documents. Now, the command "ifort" runs well. However, when I attempt to link the source file with MKL, errors can be found.&lt;/P&gt;

&lt;P&gt;According to the documents, I've already added the following in the ~/.profile&lt;/P&gt;

&lt;P&gt;./opt/intel/composer_xe_2013_sp1.1.106/mkl/bin/intel64/mklvars_intel64.sh intel64 mod lp64&lt;/P&gt;

&lt;P&gt;After that, I tried to link the examples with MKL. For example, the source file "zgemvx.f" in the examples_core/blas/source. I used the following command&lt;/P&gt;

&lt;P&gt;ifort zgemvx.f -mkl&lt;/P&gt;

&lt;P&gt;However, it says "undefined reference to 'printvectorz_'"&lt;/P&gt;

&lt;P&gt;So I think I still have not yet configured the MKL well.&lt;/P&gt;

&lt;P&gt;What can I do now?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 13:07:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918057#M12765</guid>
      <dc:creator>Zichao_P_</dc:creator>
      <dc:date>2013-11-24T13:07:45Z</dc:date>
    </item>
    <item>
      <title>You may not have set the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918058#M12766</link>
      <description>&lt;P&gt;You may not have set the command correctly in your .profile.&amp;nbsp; ". space" is synonymous with "source ".&amp;nbsp; If you use the . notation, the space is mandatory.&lt;/P&gt;

&lt;P&gt;If you source the corresponding compilervars.sh intel64 script, it will take care of setting up the MKL if it is installed by the compiler install script.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 15:31:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918058#M12766</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-11-24T15:31:33Z</dc:date>
    </item>
    <item>
      <title>The undefined reference is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918059#M12767</link>
      <description>&lt;P&gt;The undefined reference is not to be found in the MKL libraries, but is contained (along with other service routines) in the file&amp;nbsp;common_func.f, which is either in the .../mkl/examples/blas/source directory (if you have extracted the tar/zip file with the examples), or is contained in the zip/tgz file with all the MKL examples. Try&lt;/P&gt;

&lt;P&gt;[bash]&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;ifort -mkl zgemvx.f common_func.f[/bash]&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14.399999618530273px;"&gt;or use the provided makefile.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 16:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environmental-variables-for-MKL-in-Ubuntu/m-p/918059#M12767</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-11-24T16:37:00Z</dc:date>
    </item>
  </channel>
</rss>

