<?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 Linking MKL libraries in MacOSX 10.7.2 (Lion) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797768#M2796</link>
    <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=529573" class="basic" href="https://community.intel.com/en-us/profile/529573/"&gt;Laura De Lorenzis&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;I found out that if I type&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;source /Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/bin/mklvars.sh intel64&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;in the command line, the program starts working!&lt;/DIV&gt;&lt;DIV&gt;But I don't like to have to type this anytime I open a new terminal window...I thought having this line in the .bash_profile would suffice, instead it does not.&lt;/DIV&gt;&lt;DIV&gt;Anybody can help?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Short answer: move it from .bash_profile to .bashrc !&lt;/P&gt;&lt;P&gt;In the original design of Unix shells, putting this kind of command in .bash_profile should have sufficed, but there are now so many ways to start shells that bypass the effects of .bash_profile (or its equivalent for other shell programs) that it is more practical to put things in the more ubiquitous .bashrc (or its equivalent for other shell programs).&lt;/P&gt;&lt;P&gt;-Kurt&lt;/P&gt;</description>
    <pubDate>Sun, 06 Nov 2011 20:41:39 GMT</pubDate>
    <dc:creator>Hirchert__Kurt_W</dc:creator>
    <dc:date>2011-11-06T20:41:39Z</dc:date>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797766#M2794</link>
      <description>Hallo all,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm linking the MKL libraries using the loading option&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;-L /Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/lib -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_solver_lp64 -lmkl_core -lmkl_intel_thread&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;but I get the following error message while running the program:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;dyld: Library not loaded: libmkl_intel_lp64.dylib&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; Referenced from: /Users/Work/my_dir/program_folder/main/./program_name&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; Reason: image not found&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Trace/BPT trap: 5&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I thought the problem was the setting of the environment variables. I did this by running the scriptmklvars_intel64.sh, but nothing changed. I also tried editing the .bash_profile and adding the lines&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;source /Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/bin/intel64/mklvars_intel64.sh&lt;/DIV&gt;&lt;DIV&gt;export DYLD_LIBRARY_PATH='/Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/lib'&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;but this also didn't work. Anybody can please help?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot in advance.&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Nov 2011 20:14:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797766#M2794</guid>
      <dc:creator>Laura_De_Lorenzis</dc:creator>
      <dc:date>2011-11-05T20:14:06Z</dc:date>
    </item>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797767#M2795</link>
      <description>I found out that if I type&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;source /Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/bin/mklvars.sh intel64&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;in the command line, the program starts working!&lt;/DIV&gt;&lt;DIV&gt;But I don't like to have to type this anytime I open a new terminal window...I thought having this line in the .bash_profile would suffice, instead it does not.&lt;/DIV&gt;&lt;DIV&gt;Anybody can help?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 Nov 2011 12:25:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797767#M2795</guid>
      <dc:creator>Laura_De_Lorenzis</dc:creator>
      <dc:date>2011-11-06T12:25:30Z</dc:date>
    </item>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797768#M2796</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=529573" class="basic" href="https://community.intel.com/en-us/profile/529573/"&gt;Laura De Lorenzis&lt;/A&gt;&lt;/DIV&gt;
                &lt;DIV style="background-color: #e5e5e5; padding: 5px; border: 1px; border-style: inset; margin-left: 2px; margin-right: 2px;"&gt;&lt;I&gt;I found out that if I type&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;source /Developer/opt/intel/composer_xe_2011_sp1.6.038/mkl/bin/mklvars.sh intel64&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;in the command line, the program starts working!&lt;/DIV&gt;&lt;DIV&gt;But I don't like to have to type this anytime I open a new terminal window...I thought having this line in the .bash_profile would suffice, instead it does not.&lt;/DIV&gt;&lt;DIV&gt;Anybody can help?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Short answer: move it from .bash_profile to .bashrc !&lt;/P&gt;&lt;P&gt;In the original design of Unix shells, putting this kind of command in .bash_profile should have sufficed, but there are now so many ways to start shells that bypass the effects of .bash_profile (or its equivalent for other shell programs) that it is more practical to put things in the more ubiquitous .bashrc (or its equivalent for other shell programs).&lt;/P&gt;&lt;P&gt;-Kurt&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2011 20:41:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797768#M2796</guid>
      <dc:creator>Hirchert__Kurt_W</dc:creator>
      <dc:date>2011-11-06T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797769#M2797</link>
      <description>Thanks Kurt, but actually I had already tried that, and it doesn't work...is there a way I can find out which file is used as profile for my shell?&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Laura&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Nov 2011 22:31:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797769#M2797</guid>
      <dc:creator>Laura_De_Lorenzis</dc:creator>
      <dc:date>2011-11-07T22:31:12Z</dc:date>
    </item>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797770#M2798</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;Try putting it in your ~/.profile(it works for me).&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 13:49:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797770#M2798</guid>
      <dc:creator>Wich</dc:creator>
      <dc:date>2011-11-08T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Linking MKL libraries in MacOSX 10.7.2 (Lion)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797771#M2799</link>
      <description>unfortunately it doesn't work for me :-(&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;anyway thanks for trying to help!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Laura&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Nov 2011 13:02:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-MKL-libraries-in-MacOSX-10-7-2-Lion/m-p/797771#M2799</guid>
      <dc:creator>Laura_De_Lorenzis</dc:creator>
      <dc:date>2011-11-10T13:02:43Z</dc:date>
    </item>
  </channel>
</rss>

