- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
I'm running Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.4.184 Build 20110503 with xcode 3.2.4 and xcode 4.0.2. I am trying a to link MKL to both versions of xcode. I am using these articles as a guide
I have this working in the xcode debugger console but when I try to run it through my mac terminal it gives the error
dyld: Library not loaded: libmkl_intel_lp64.dylib Referenced from: /Users/charlescherqui/Documents/MKL_dgemm_f/build/Debug/MKL_dgemm_f
Reason: image not found
Trace/BPT trap
logout
[Process completed]
[Process completed]
I am using the example code from the forst link I posted. Can antone tell me why it would work in the xcode debugger window but not my mac window? I really want to use this in xcode 3.2.4 since it has the syntax coloring and xcode 4 does not (is that fixed btw?), I just got it working in xcode 4 first since it was a bit easier to do so, I then got it working in xcode 3.2.4, but in both cases only in the debugger window. Thanks.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Maybe you need to use mklvars.* to create correct envirinmet for MKL in your terminal before.
Please check that libmkl_intel_lp64.dylibcan be found by your DYLD_LIBRARY_PATH settings
Maybe you need to use mklvars.* to create correct envirinmet for MKL in your terminal before.
Please check that libmkl_intel_lp64.dylibcan be found by your DYLD_LIBRARY_PATH settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Thebuttonfreak,
The error message dyld: Library not loaded: libmkl_intel_lp64.dylib means the system can't find the library.
So whatever in Xcode environment (either4.0 or 3.2.4)or in terminal environment, to define DYLD_LIBRARY_PATH environment variable is required.
You candefinethe variable eitherby mklvars.* or define the DYLD_LIBRARY_PATH manually.
I upload a terminal environment screencopy for your reference. ( i'm use putty, but it should be same if you start a terminal windows from MaC OS desktop.

Best Regards,
Ying
The error message dyld: Library not loaded: libmkl_intel_lp64.dylib means the system can't find the library.
So whatever in Xcode environment (either4.0 or 3.2.4)or in terminal environment, to define DYLD_LIBRARY_PATH environment variable is required.
You candefinethe variable eitherby mklvars.* or define the DYLD_LIBRARY_PATH manually.
I upload a terminal environment screencopy for your reference. ( i'm use putty, but it should be same if you start a terminal windows from MaC OS desktop.

Best Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I updated my path and it worked like a charm.

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