| February 25, 2010 11:00 PM PST | |
The Intel® Math Kernel Library (Intel® MKL) is designed to run on multiple processors and operating systems. It is also compatible with several compilers and third party libraries, and provides different interfaces to the functionality. To support these different environments, tools, and interfaces Intel MKL provides mutliple libraries from which to choose.
To see what libraries are recommended for a particular use case, specify the parameters in the drop down lists below.
Note: For applications running on IA-32 with the Windows* operating system it is possible to use mkl_intel_s.lib instead of mkl_intel_c.lib (or mkl_intel_s_dll.lib instead of mkl_intel_c_dll.lib). This interface is compatible with the Compaq* Visual Fortran calling convention.
Find more information on linking in the Intel® MKL User's Guide
This article applies to: Intel® Math Kernel Library Knowledge Base
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (34) 
| June 18, 2009 2:57 PM PDT
nooj
|
This is a great idea! Morplzkthx! Could you make it do something like: choose os/compiler/etc choose a desired function (SSYEVD, say) see a compile/link line Because one of my systems got upgraded to MKL 10.3 (I think I am saying this right), and the fortran lapack prototype include files changed names: old new mkl_lapack.f90 lapack.f90 mkl_lapack_protos.f90 lapack_interfaces.f90 mkl77_lapack.mod f77_lapack.mod mkl77_lapack1.mod f77_lapack1.mod |
| July 7, 2009 8:28 AM PDT
michel.devel@univ-fcomte.fr
|
Great idea !!! Maybe you could add a version for the intel compilers and libraries if link line sometimes changes between versions |
| September 9, 2009 6:53 AM PDT
Tianxing Wang | Great! It helps me much! |
| October 21, 2009 12:18 PM PDT
Mark Borgerding |
My company delivers versions of code that has to build and work with multiple versions of intel compilers and MKL. This has proven to be a real pain. This webpage will help make it easier. Thanks. What would be better than a webpage is a link line that doesn't change from version to version. Or at least a script that could could be scripted to make the link line for any recent version. pkgconfig would be a good way to go for future versions. e.g. libmkl_ia32.a was removed in version 11.1 so now there is yet another special case we have to code around. |
| November 1, 2009 2:54 PM PST
heinz
|
some more feedback: a very helpful tool, I linked it as « Reply #11 on: 03 May 2009, 06:37:49 pm » to the developer forum at Lunatics Thanks for using it. I voted:***** |
| November 25, 2009 12:48 AM PST
ahmed107179 | thank you |
| November 25, 2009 11:50 AM PST
mfactor
| Could this tool be downloaded and used offline? That would be great. |
| December 12, 2009 3:26 AM PST
isolat
|
Very useful ! it should be added to the documentation package of mkl Thank you… |
| December 14, 2009 10:57 PM PST
serg@parallel.ru |
Great tool. Please, set (as comment?) description of difference between IA-64 and Intel-64. Not all of users do know... Also, many verions of MKL and compilers must be supprted - it really does troubles. |
| February 3, 2010 12:46 AM PST
Gennady Fedorov (Intel)
| Sergey, please see at the KB article:"What do IA-32, Intel(R) 64 and IA-64 Architecture mean?" followin the link http://software.intel.com/en-us/articles/ia-32-intelr-64-ia-..... ture-mean/ |
| February 12, 2010 5:22 PM PST
Tianxing Wang | It helps me much! |
| February 24, 2010 6:46 AM PST
Jens Decker |
Combining that tool with IPP would be great! We have so far been unable to do a static linking without thousands of warnings and had to force our colleagues (using our domain specific numerical libraries) to use the dynamic linking and to manage another set of DLLs. It would be great if this problem would also be addressed. Visual Studio 2005/8/10 are just to be considered as Intel compatible compilers? |
| March 1, 2010 2:31 PM PST
Daniel | Boy, if they didn't put available this tool I'd be f***** |
| March 18, 2010 8:49 AM PDT
sunchao
|
ok it seems that I haven't use the interface after I use the LAPACK interface: use mkl95_lapack and use mkl95_precision it seems work.But I still don't very sure about that.Any body else? |
| April 10, 2010 3:53 AM PDT
sufyan | thank you |
| June 7, 2010 2:29 PM PDT
JoshWebb | Thanks! This was so helpful! |
| July 19, 2010 3:47 AM PDT
Victor Pasko (Intel)
|
Currently for using PGI compiler with pgi-threading: option -pgf90libs is suggested but it is needed only for PGI C-compiler not for PGI Fortran compiler |
| July 19, 2010 3:52 AM PDT
Victor Pasko (Intel)
|
It will be helpful to add comments after selecting ILP64 model to use compiler options: - for C/C++: -DMKL_ILP64 - for Intel and PGI FORTRAN: -i8 - for GNU FORTRAN: -fdefault-integer-8 |
| September 30, 2010 12:07 AM PDT
Victor Pasko (Intel)
| It would be helpful to add selecting MKL version in order to have just one tool for different MKL releases. Also, advisor could inform about obsolete libraries, etc when migrating to newer version. |
| January 2, 2011 7:21 AM PST
alaoui |
Thanks !! very helpful ! Is It not necessary to install lapack under Ubuntu ? |
| January 24, 2011 6:41 AM PST
est |
It would be very useful to include the Pardiso in the "Select cluster library" menu for linking thanks |
| February 16, 2011 8:52 AM PST
Brock palen |
There is a bug in the version of this 2/16/2011 Some selections of options give results like: $(MKLROOT)/lib/intel64/mkl_core.a Where the value should be: $(MKLROOT)/lib/intel64/libmkl_core.a Just FYI, caused some confusion for a moment for me. Note all values do this as BLACS still shows up correctly if selected. |
| February 17, 2011 1:37 AM PST
Victor Pasko (Intel)
| Thanks for finding out a bug. Will fix ASAP. |
| February 17, 2011 8:30 AM PST
Julia Sukharina (Intel)
| The MKL Link Line Advisor was updated. That issue is fixed now. |
| March 24, 2011 12:13 PM PDT
Irina | Thank you! It help me much! |
| April 5, 2011 7:58 AM PDT
Ulf Markwardt
| Why does this good work stop with MKL version 10.x ? |
| April 6, 2011 8:51 PM PDT
Todd Rosenquist (Intel)
|
Ulf: Intel MKL 10.3 is the very latest version. For those that use the new Intel Composer XE products, this is the right option to choose in the menu. We can try to make that more obvious. The work will continue! ... or did I misunderstand the question? |
| July 5, 2011 3:06 AM PDT
Sergey | Where is the file libmkl_blacs_openmpi_lp64.a? That is compiled ifort or mpif90? Help me! |
| July 16, 2011 9:44 AM PDT
oleglebedev
|
I wrote in my makefile the following: FC:=ifort FFOPTIMIZE:=-O3 -ipo8 -static -fast -parallel -align all -mp1 -mtune=pentium4m -pad -pc80 -prec-div -prec-sqrt -scalar-rep -simd -unroll4 -unroll-aggressive -diag-file=diag.out MKLROOT=/opt/intel/composerxe-2011.3.174/mkl FF_MKL= $(MKLROOT)/lib/intel64/libmkl_scalapack_ilp64.a -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_ilp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_blacs_intelmpi_ilp64.a -Wl,--end-group -lpthread -i8 FFLAGS=$(FFOPTIMIZE) $(FF_MKL) When I try to compile my project I have an error: "ifort: error #10104: unable to open '--start-group'". |
| July 22, 2011 6:28 AM PDT
Victor Pasko (Intel)
|
Hi, Please select namely Intel(r) FORTRAN compiler because optins -Wl,--start-group -Wl,--end-group are from C-compiler. Also why do you both libmkl_intel_thread.a and libmkl_sequential.a libraries? |
| August 14, 2011 6:47 PM PDT
jin sik | Intel® Math Kernel Library Link Line Advisor |
| April 20, 2012 9:10 PM PDT
james |
I have an intel centrino duo computer. I have installed intel fortran composer Xe 2011 I am confused what to write in my linker flags. is it similar to the link line provided above by intel advisor? what will be my preprocessor flags and real library link? |
| May 1, 2012 1:19 PM PDT
Francisco Neto |
Good tool, it help me to compile MUMPS 4.10 without any errors , from Intel composer XE 2013 beta, good work !! Thanks. |
Trackbacks (4)
- compiling WIEN2k using Intel Compiler 11 and MKL « Only gossips and gossips only
April 18, 2010 6:19 PM PDT -
Twitter Trackbacks for
Intel® Math Kernel Library Link Line Advisor - Intel® Software Network
[intel.com]
on Topsy.com
November 10, 2010 9:59 AM PST - Link advaisor | Kgdco
September 21, 2011 12:22 PM PDT - Paths and Compiling in an HPC Context | Evil Quark Labs
January 4, 2012 11:25 AM PST
Leave a comment 
Todd Rosenquist (Intel)
| ||
Julia Sukharina (Intel)
|




Wayne Wilson