- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to build my binary by including the intel MKL libraries statically (on OS X).
I have explored the following options:
[1] using -lmkl_intel_ilp64, etc at the link stage but this dynamically links the libraries despite the .dylib's and .a's existing under /opt/intel/composer_xe_2013.0.088/mkl/lib. The top rated answer on http://stackoverflow.com/questions/844819/how-to-static-link-on-os-x shows that in cases where the .dylib and .a appear in the same directory, the .dylib (shared linking) is used.
[2] Manually adding the full paths to the MKL libraries to the link line. I would not have to rely on fixed paths as I'm developing a cross platform application.
I would like to use option [1] as its environment agnostic, but not have to physically remove/relocate the .dylib's so that the linker will be forced to use the static version.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page