Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28995 Discussions

using lapack from mkl in intel visual fortran

flygaoonly
Beginner
424 Views
I want to use lapack from mkl in intel visual fortran. Formerly in compaq visual fortran, to use lapack from cxml, I can add a sentence "INCLUDE 'CXML_INCLUDE.F90' " in front of my program, then compile and build in visual studio under windows. Now is there a similar way to use lapack from mkl in intel visual fortran, since in the manual, the setup procedure is a little bit complex.
0 Kudos
2 Replies
TimP
Honored Contributor III
424 Views
Please read the help files and use the link advisor posted at the top of the MKL forum, then follow up there with any additional questions.l
0 Kudos
Michael_C_Intel4
Employee
424 Views
Hi,

you may include 'mkl_lapack.f90' in your program when using MKL.

If you want to link against MKLusing CVF calling convention, you'll need to link:

mkl_s.lib mkl_intel_thread.lib mkl_core.lib libiomp5.lib (or libguide.lib)

but it may be different if you want to link against dynamic MKL, for instance. Surely, querying MKL link advisor would be helpful.

Michael.
0 Kudos
Reply