- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some of the IMSL subroutines utilizing the high performance LAPACK, how do I know that the program is linking to the right LAPACK ? I am using Visual Studio 2013. Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many of us never had access to an Intel-compatible IMSL.
Some possibilities:
add -# option in your link step to get an echo of all libraries used, if not already evident in your build log
Dependency Walker to see which .dll is used by your .exe.
Even if the lapack functions came from outside MKL, it's more important to know which BLAS functions are linked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The way IMSL works, if you're linking to IMSL at all, you select the MKL-accelerated LAPACK by which set of libraries you link to (typically by choice of LINK_FNL_xxx.h INCLUDE file.) In IMSL 6, the default was the non-MKL version and to get the MKL version you specified the _HPC include file. In version 7 the default is MKL-accelerated and you have to ask for the "IMSL-only" library specifically.
You could, of course, also call the version of LAPACK in MKL by linking to that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I am using IMSL 7.01, Intel Fortran 2015. So, can I assume that it is linked to the MLK, By the way, in the manual: Using the IMSL Libraries from the Integrated Development Environment (Windows* OS)
To use the static library form of the libraries and the Intel® Math Kernel Library:
INCLUDE 'link_fnl_static_hpc.h' This does NOT work.
INCLUDE 'link_fnl_static.h' This works.
that is why I am not sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wen C. wrote:
INCLUDE 'link_fnl_static_hpc.h' This does NOT work.
That include file is no longer provided with IMSL 7. See https://software.intel.com/en-us/articles/installing-and-using-the-imsl-libraries . That page is dated September 2011, but obviously has been updated with more recent information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm away from my installation right now, but yes, the _hpc .h file is no longer there. I think the new one, which doesn't use MKL, is something like link_fnl_static_imsl.h. Look in the Include folder to see what it's called. The article will get updated to include the new include file info, as will the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, the https site explains well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now that I'm back with my IMSL install, yes, the non-MKL versions are now link_fnl_static_imsl.h and link_fnl_shared_imsl.h.

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