Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

dyld: Library not loaded: libmkl_intel_lp64.dylib

$
0
0

Good afternoon everyone, hope you have a nice thanksgiving! Now I have a problem of Library loading, and the error message is:

dyld: Library not loaded: libmkl_intel_lp64.dylib

Before compile the code, in order to load the library, I put the following command line:

1. Type "touch .bash_profile" to create a new file if the file does not exist yet.

2. Type "open -e .bash_profile" to open it in TextEdit, and add the following command lines:

    source /opt/intel/composer_xe_2011_sp1/bin/compilervars.sh intel64

    alias ifort16="ifort -O3 -parallel -mkl -r16"

    alias ifort8="ifort -O3 -parallel -mkl -r8"

And later I used ifort16 to compile my code, with the error messages:

ifort16 -heap-arrays /Users/wangqian0410/Deskop/Research/code11.26.2013\ copy.f 
QIANs-MacBook-Pro:~ wangqian0410$ ./a.out
dyld: Library not loaded: libmkl_intel_lp64.dylib
  Referenced from: /Users/wangqian0410/./a.out
  Reason: image not found
Trace/BPT trap: 5

I have attached my code and it would be very nice of you if anyone can give my any idea on how to load the library and run the code. Thanks again!

 

AttachmentSize
Downloadcode11.26.2013 copy.f53.68 KB

Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>