Search

link to homepage

Institute for Advanced Simulation (IAS)

Navigation and service


Usage of LAPACK on JUWELS

LAPACK is part of MKL on JUWELS. MKL is already loaded with intel-para and the path to MKL is already set.

Compiling and linking the program driver.f with calls to LAPACK routines from MKL looks as follows:

module load intel-para
ifort driver.f -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread

Or, if you need the sequential version of MKL, you can link

ifort driver.f -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -liomp5 -lpthread

If GCC is loaded LAPACK is also part of MKL

module load GCC ParaStationMPI imkl

For using MKL with GCC see MKL link advisor


Servicemeu

Homepage