MKL
The Intel Math Kernel Library (MKL) contains highly optimized and extensively threaded routines for engineering and scientific applications.
It includes linear algebra routines (BLAS, LAPACK, ScaLAPACK, and sparse solvers), FFTs, a vector math library, vector random number generators, and LINPACK benchmark routines.
Choosing which libraries to link to
For help in determining which libraries to link, to see the MKL Library Link Advisor provided by Intel.
Threaded MKL routines
Note that threaded MKL routines are based on OpenMP. Treat these routines as OpenMP parallel regions. Be sure that your thread count does not exceed the number of cores allocated to your job.
Usage on Bridges-2
The MKL library is included with the Intel compilers. Loading the intel module will give access to MKL also. You can use
module spider intel
to see what versions are available, and
module load intel
to get the version that you want.
To use MKL with a different set of compilers, load both the compiler and MKL modules. You can type
module spider compiler-type module spider mkl
to see what versions are available, and then
module load compiler-type module load mkl