- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a program that calls an MKL eigenvalue subroutine and I want to distribute copies of my program to others within my firm. Is it possible to link MKL statically? I understand this is not the preferred option, but static linking avoids many installation headaches. I am already linking the runtime libraries statically. Also, is there an option in Developer Studio for this? If not, I supposed I can still do it via the Command Line tab in DevStudio.
Thanks and my apologies if the question has been asked before.
Gabriel
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might want to look at:
https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
In the "Select dynamic or static linking:" field, choose "Static".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Roman for the suggestion. Unfortunately, it does not work. I still get asked for several dll's at startup and for others later when the eigenvalue subroutine DSPEVX.
Any other suggestions out there? BTW, I am using the latest IFORT and MKL 2017 and I use the Developer Studio Interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You haven't said how previous posts on this subject (mainly on the MKL forum) fall short of answering your question.
You would need to link the mkl_sequential library as there is no support for parallel without OpenMP or TBB parallel dll. This may not be evident by looking at the link advisor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to Tim P. for the response. I looked through the MKL forum but I did not find any guidance on how to link statically using the Developer Studio and Windows. BTW, I already decided to go with the sequential option because I suspected it was easier.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page