- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please look at this thread and and check if it will works from command line - http://software.intel.com/en-us/forums/topic/281190 t

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page