<?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 Setting environment variables in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environment-variables/m-p/802188#M3149</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You need just select needed for you script in order to sourceit in the command shell.&lt;/P&gt;&lt;P&gt;All MKL-related env-variables will be set.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2010 11:42:39 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2010-10-21T11:42:39Z</dc:date>
    <item>
      <title>Setting environment variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environment-variables/m-p/802187#M3148</link>
      <description>Hi all,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm having some problems setting the environment variables which is the second step in the 'Getting Started'-section in the user's guide. The text says:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;I&gt;When the installation of Intel MKL for Mac OS* X is complete, set the INCLUDE, MKLROOT, DYLD_LIBRARY_PATH, MANPATH, LIBRARY_PATH, CPATH, and FPATH environment variables in the command shell using one of the script files in the tools/environment directory. Choose the script corresponding to your system architecture and command shell as explained in Table 2-1:&lt;/I&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But I have no experience what so ever with configuring the script-files. Could one of you maybe explain a newbie what he should add in the following script to connect properly to the MKL library?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;P style="padding-left: 20pt;"&gt;export MKLROOT="/opt/intel/Compiler/11.1/089/Frameworks/mkl"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${INCLUDE}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export INCLUDE="${MKLROOT}/Headers"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export INCLUDE="${MKLROOT}/Headers:$INCLUDE"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${DYLD_LIBRARY_PATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export DYLD_LIBRARY_PATH="${MKLROOT}/lib/em64t"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export DYLD_LIBRARY_PATH="${MKLROOT}/lib/em64t:$DYLD_LIBRARY_PATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${MANPATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export MANPATH="${MKLROOT}/man/en_US:$(manpath)"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export MANPATH="${MKLROOT}/man/en_US:$MANPATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${LIBRARY_PATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export LIBRARY_PATH="${MKLROOT}/lib/em64t"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export LIBRARY_PATH="${MKLROOT}/lib/em64t:$LIBRARY_PATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${CPATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export CPATH="${MKLROOT}/include"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export CPATH="${MKLROOT}/include:$CPATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${FPATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export FPATH="${MKLROOT}/include"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export FPATH="${MKLROOT}/include:$FPATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;if [ -z "${NLSPATH}" ]&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;then&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export NLSPATH="${MKLROOT}/lib/em64t/locale/%l_%t/%N"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;else&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;  export NLSPATH="${MKLROOT}/lib/em64t/locale/%l_%t/%N:$NLSPATH"&lt;/P&gt;
&lt;P style="padding-left: 20pt;"&gt;fi&lt;/P&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="padding-left: 20pt;"&gt;Have a 64-bit processor and running Snow Leo, ver. 10.6.4).&lt;/P&gt;&lt;P style="padding-left: 20pt;"&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 10:51:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environment-variables/m-p/802187#M3148</guid>
      <dc:creator>inteljc</dc:creator>
      <dc:date>2010-10-21T10:51:41Z</dc:date>
    </item>
    <item>
      <title>Setting environment variables</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environment-variables/m-p/802188#M3149</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You need just select needed for you script in order to sourceit in the command shell.&lt;/P&gt;&lt;P&gt;All MKL-related env-variables will be set.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2010 11:42:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Setting-environment-variables/m-p/802188#M3149</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-10-21T11:42:39Z</dc:date>
    </item>
  </channel>
</rss>

