<?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 Hi Doron,. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090155#M23197</link>
    <description>&lt;P&gt;Hi Doron,.&lt;/P&gt;

&lt;P&gt;Looks like the problem caused by OS X 10.11 SIP. But it is really weird that setting DYLD_LIBRARY_PATH does not help.&lt;/P&gt;

&lt;P&gt;Could you please share all the steps: linking the application, setting DYLD_LIBRARY_PATH, and running it?&lt;/P&gt;

&lt;P&gt;Did you take a look at the section 'Dynamic Library Dependencies' here: &lt;A href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016"&gt;https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2016 07:05:39 GMT</pubDate>
    <dc:creator>Evarist_F_Intel</dc:creator>
    <dc:date>2016-02-27T07:05:39Z</dc:date>
    <item>
      <title>run--time error: cannot find mkl library on OS X 10.11 el capitan</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090154#M23196</link>
      <description>&lt;P&gt;Fort and Xcode give error message on OS X El Capitan on run-time error when trying to use openmp&lt;BR /&gt;
	or mkl options. I have set DYLD_LIBRARIES_PATH parameter but it does not help.&lt;BR /&gt;
	This is the error message on ifort:&lt;BR /&gt;
	dyld: Library not loaded: @rpath/libmkl_intel_lp64.dylib&lt;BR /&gt;
	Referenced from: /Users/dorongepner/Documents/./a.out&lt;BR /&gt;
	Reason: image not found&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 23:35:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090154#M23196</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-02-26T23:35:08Z</dc:date>
    </item>
    <item>
      <title>Hi Doron,.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090155#M23197</link>
      <description>&lt;P&gt;Hi Doron,.&lt;/P&gt;

&lt;P&gt;Looks like the problem caused by OS X 10.11 SIP. But it is really weird that setting DYLD_LIBRARY_PATH does not help.&lt;/P&gt;

&lt;P&gt;Could you please share all the steps: linking the application, setting DYLD_LIBRARY_PATH, and running it?&lt;/P&gt;

&lt;P&gt;Did you take a look at the section 'Dynamic Library Dependencies' here: &lt;A href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016"&gt;https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 07:05:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090155#M23197</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-02-27T07:05:39Z</dc:date>
    </item>
    <item>
      <title>Here are the steps that I did</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090156#M23198</link>
      <description>Here are the steps that I did. I set DYLD_LIBRARY_PATH inside Xcode (attached file: percolate4.xcodeproj). Then I run
ifort -mkl try.f90
and then 
./a.out
and I get the message:
dyld: Library not loaded: @rpath/libmkl_intel_lp64.dylib
  Referenced from: /Users/dorongepner/Documents/./a.out
  Reason: image not found
Trace/BPT trap: 5

I looked in this file you mention, but it did not seem to help.
Thanks, Doron</description>
      <pubDate>Sat, 27 Feb 2016 10:38:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090156#M23198</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-02-27T10:38:34Z</dc:date>
    </item>
    <item>
      <title>Could you please try to link</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090157#M23199</link>
      <description>&lt;P&gt;Could you please try to link your application with rpath set to MKL library dir (replace $MKLROOT with actual MKL directory)?&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ ifort -mkl -Wl,-rpath,$MKLROOT/lib try.f90&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Feb 2016 10:59:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090157#M23199</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-02-27T10:59:58Z</dc:date>
    </item>
    <item>
      <title>I tried this. I get the same</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090158#M23200</link>
      <description>I tried this. I get the same error message.
Thanks, Doron</description>
      <pubDate>Sat, 27 Feb 2016 11:17:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090158#M23200</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-02-27T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Oh it might happen because</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090159#M23201</link>
      <description>&lt;P&gt;Oh it might happen because the application could not locate Intel OMP library (for the same reason: OS X SIP).&lt;/P&gt;

&lt;P&gt;Could you please also add -Wl,-rpath,$ICLROOT/lib into the link line (libiomp5.dylib should be in $ICLROOT/lib)?&lt;/P&gt;

&lt;P&gt;BTW, what MKL and ICL version do you use? Not sure about ICL, but MKL starts support OS X 10.11 since 11.3.1+ (almost the latest available version of MKL)...&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 12:03:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090159#M23201</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-02-27T12:03:38Z</dc:date>
    </item>
    <item>
      <title>Hi I tried this and ifort</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090160#M23202</link>
      <description>&lt;P&gt;Hi I tried this and ifort actually works in command line. I cannot still run it on Xcode.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 12:28:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090160#M23202</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-02-27T12:28:50Z</dc:date>
    </item>
    <item>
      <title>Sorry for delay.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090161#M23203</link>
      <description>&lt;P&gt;Sorry for delay.&lt;/P&gt;

&lt;P&gt;Once you create an executable via XCode (which doesn't work), could you please run the following and dump the result here?&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ otool -L a.out
$ otool -l a.out | grep -A3 RPATH&lt;/PRE&gt;

&lt;P&gt;This will help us to understand whether the problem is in the libraries or in the executable.&lt;/P&gt;

&lt;P&gt;What MKL version and ICL do you use?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 10:49:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090161#M23203</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-02-28T10:49:54Z</dc:date>
    </item>
    <item>
      <title>Hi Evarist,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090162#M23204</link>
      <description>Hi Evarist,
Attached the two files you requested--output of your commands. I actually have another question. I tried to use in the project file the commands
OMP_NUM_THREADS 4; OMP_STACKSIZE 200M. However, they also do not work. Is there a way to do this in ifort command line?
Thanks, Doron</description>
      <pubDate>Mon, 29 Feb 2016 17:01:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090162#M23204</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-02-29T17:01:42Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090163#M23205</link>
      <description>Hi,
I upgraded my mac to OS X 10.11.3 and now Xcode does not work entirely with intel fortran. It sais upon running: "cannot launch try.f90" or any
other file I try to run. It might be that he cannot write the executable from security reasons. I wonder if there is an easy fix.
Thanks, Doron</description>
      <pubDate>Wed, 09 Mar 2016 12:17:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090163#M23205</guid>
      <dc:creator>Doron_G_</dc:creator>
      <dc:date>2016-03-09T12:17:07Z</dc:date>
    </item>
    <item>
      <title>Any updates on this? I'm</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090164#M23206</link>
      <description>&lt;P&gt;Any updates on this? I'm struggling with the same problem.&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ otool -l a.out | grep -A3 rpath
         name @rpath/libmkl_intel_lp64.dylib (offset 24)
   time stamp 2 Wed Dec 31 16:00:02 1969
      current version 0.0.0
compatibility version 0.0.0
--
         name @rpath/libmkl_intel_thread.dylib (offset 24)
   time stamp 2 Wed Dec 31 16:00:02 1969
      current version 0.0.0
compatibility version 0.0.0
--
         name @rpath/libmkl_core.dylib (offset 24)
   time stamp 2 Wed Dec 31 16:00:02 1969
      current version 0.0.0
compatibility version 0.0.0
--
         name @rpath/libiomp5.dylib (offset 24)
   time stamp 2 Wed Dec 31 16:00:02 1969
      current version 5.0.0
compatibility version 5.0.0
$ otool -l a.out | grep -A3 RPATH
$&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:24:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090164#M23206</guid>
      <dc:creator>Rasmus_F_</dc:creator>
      <dc:date>2016-04-07T20:24:00Z</dc:date>
    </item>
    <item>
      <title>I have this problem too. Can</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090165#M23207</link>
      <description>&lt;P&gt;I have this problem too. Can't find solution anywhere.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 05:34:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090165#M23207</guid>
      <dc:creator>Ngoc_Thanh_Nam_N_</dc:creator>
      <dc:date>2016-04-08T05:34:32Z</dc:date>
    </item>
    <item>
      <title>Hi Doron G and all, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090166#M23208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1337277" style="font-size: 11px; line-height: 16.5px;"&gt;Doron G&lt;/A&gt;&amp;nbsp;and all,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I recalled, there is some discussions about the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;specific to OS X* 10.11 (Please see &lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016" style="font-size: 1em; line-height: 1.5;"&gt;here&lt;/A&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;You may try some workaround on that article.&amp;nbsp;https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;For link MKL dylib library, another workaround: is it for ok you link static mkl library &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;for example, ifort&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;-mkl &amp;nbsp;-static-intel&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;H4&gt;Dynamic Library Dependencies&lt;/H4&gt;

&lt;P style="width: 765px;"&gt;Starting with OS X 10.11 DYLD_LIBRARY_PATH environment variable might be reset under OS X new&amp;nbsp;&amp;nbsp; security policy, System Integrity Protection. As a result&amp;nbsp;an application built with Intel® Parallel Studio version&amp;nbsp;&lt;STRONG&gt;2016&amp;nbsp;(Update 1) or earlier&amp;nbsp;&lt;/STRONG&gt;might not work since it is unable to locate dependent libraries such as libiomp5.dylib.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The following is suggested workaround: make all dynamic libraries run-path depended by following this&amp;nbsp;two step process.&lt;/P&gt;

&lt;P style="width: 725px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp; Add directories in which dependencies (required libraries) are located to the application rpath&amp;nbsp; during the application linking:&lt;/P&gt;

&lt;DIV class="syntaxhighlighter  bash" id="highlighter_741859"&gt;
	&lt;DIV class="bar    "&gt;
		&lt;DIV class="toolbar"&gt;&lt;A class="item viewSource" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#viewSource" style="width: 16px; height: 16px;" title="view source"&gt;view source&lt;/A&gt;&lt;A class="item printSource" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#printSource" style="width: 16px; height: 16px;" title="print"&gt;print&lt;/A&gt;&lt;A class="item about" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#about" style="width: 16px; height: 16px;" title="?"&gt;?&lt;/A&gt;&lt;/DIV&gt;
	&lt;/DIV&gt;

	&lt;DIV class="lines"&gt;
		&lt;DIV class="line alt1"&gt;
			&lt;TABLE&gt;
				&lt;TBODY&gt;
					&lt;TR&gt;
						&lt;TD class="number"&gt;&lt;CODE&gt;1&lt;/CODE&gt;&lt;/TD&gt;
						&lt;TD class="content"&gt;&lt;CODE class="bash plain"&gt;$ icc x.o -Wl,-rpath,$ICLROOT/lib -L$ICLROOT/lib -liomp5 -o app.out&lt;/CODE&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;&amp;nbsp; Change the dependency from non-run-path-dependent library to run-path-dependent library:&lt;/P&gt;

&lt;DIV class="syntaxhighlighter  bash" id="highlighter_452078"&gt;
	&lt;DIV class="bar   "&gt;
		&lt;DIV class="toolbar"&gt;&lt;A class="item viewSource" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#viewSource" style="width: 16px; height: 16px;" title="view source"&gt;view source&lt;/A&gt;&lt;A class="item printSource" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#printSource" style="width: 16px; height: 16px;" title="print"&gt;print&lt;/A&gt;&lt;A class="item about" href="https://software.intel.com/en-us/articles/os-x-1011-support-in-intel-parallel-studio-xe-2016#about" style="width: 16px; height: 16px;" title="?"&gt;?&lt;/A&gt;&lt;/DIV&gt;
	&lt;/DIV&gt;

	&lt;DIV class="lines"&gt;
		&lt;DIV class="line alt1"&gt;
			&lt;TABLE&gt;
				&lt;TBODY&gt;
					&lt;TR&gt;
						&lt;TD class="number"&gt;&lt;CODE&gt;1&lt;/CODE&gt;&lt;/TD&gt;
						&lt;TD class="content"&gt;&lt;CODE class="bash plain"&gt;$ install_name_tool -change libiomp5.dylib @rpath/libiomp5.dylib app.out&lt;/CODE&gt;&lt;/TD&gt;
					&lt;/TR&gt;
				&lt;/TBODY&gt;
			&lt;/TABLE&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.&amp;nbsp;&amp;nbsp; Repeat Step 2 &amp;nbsp;for all dependencies from composer&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 05:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090166#M23208</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2016-04-08T05:56:00Z</dc:date>
    </item>
    <item>
      <title>Hi Rasmus,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090167#M23209</link>
      <description>&lt;P&gt;Hi Rasmus,&lt;/P&gt;

&lt;P&gt;you mentioned that:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ otool -l a.out | grep -A3 RPATH
$&lt;/PRE&gt;

&lt;P&gt;That is definitely bad. Ideally there should be at least two matches: one for MKL library path and another one for libiomp5.dylib library path. Do you add -Wl,-rpath,$MKLROOT/lib -Wl,-rpath,$MKLROOT/../compiler/lib during the linkage of the executable, as Ying suggested?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 07:16:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090167#M23209</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2016-04-08T07:16:42Z</dc:date>
    </item>
    <item>
      <title>My problem was solved some</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090168#M23210</link>
      <description>&lt;P&gt;My problem was solved some other way. Turns out it only happened when I ran my mkl-linked executable from a bash-script with #!/bin/bash shebang. Theres a description here:&amp;nbsp;https://forums.developer.apple.com/thread/9233 .. basically&amp;nbsp;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Myriad Set Pro', 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif; font-size: 16px; line-height: 23.5792px;"&gt;&amp;nbsp;If a script file begins with "#!/bin/bash", or any other #!/path/to/interpreter, the DYLD environment variables are omitted from the set of environment variables passed to that interpreter. This applies even if the current and new interpreters are instances of the same interpreter.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: 'Myriad Set Pro', 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif; font-size: 16px; line-height: 23.5792px;"&gt;This means that the DYLD_LIBRARY_PATH was not exported to the bash script. Sorry for the confusion. This seems like an incompatibility with how Intel/MKL is set up and the security in Mac OS 10.11, no?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:30:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/run-time-error-cannot-find-mkl-library-on-OS-X-10-11-el-capitan/m-p/1090168#M23210</guid>
      <dc:creator>Rasmus_F_</dc:creator>
      <dc:date>2016-04-26T22:30:49Z</dc:date>
    </item>
  </channel>
</rss>

