BLAS and LAPACK 2016

From HPC users
Jump to navigationJump to search

The libraries BLAS Basic Linear Algebra Subprograms and LAPACK — Linear Algebra Package are not installed on FLOW and HERO as single modules. The reason for this is the worse performance of self compiled version. However, both libraries in a highly optimized version are available within the Intel MKL (Math Kernel Library) and in the ACML (AMD Core Math Library). These optimized libraries are significantly faster than self compiled LAPACK and BLAS libraries. So it is worth to use these libraries which are optimized for the used Intel processors.

== Installed versions of BLAS

These versions are installed and and currently available ...

... on envirnoment hpc-uniol-env:

OpenBLAS/0.2.19

... on environment hpc-env/6.4:

OpenBLAS/0.2.20-GCC-6.4.0-2.28


Intel MKL

The Intel Math Kernel Library (= MKL) is a highly optimized, extensively threaded math routine for science, engineering and financial applications that require maximum performance.

To find out more about the module you can either use the command

module spider imkl

or visit the official MKL-page.

These versions of imkl are installed and and currently available ...

... on envirnoment hpc-uniol-env:

imkl/11.3.3.210

... on environment hpc-env/6.4:

imkl/2018a-GCC-6.4.0-2.28
imkl/2018a-iimpi-2018a
imkl/2018.1.163-gimpi-2018a

Inside the MKL, all BLAS and LAPACK routines are included. The MKL can be linked independently if you are using the PGI, GNU compilers or the Intel compilers.

Unfortunately the linking of the MKL against your code is not easy and depends on the release of the MKL. Luckily there exists a nice configurator from Intel to get the right compiler and linker flags. In case of trouble when compiling/linking please contact Scientific Computing.

ACML

The ACML library is includes in the PGI Compiler Suite module.

On hpc-uniol-env, the following versions are installed: PGI/12.10 PGI/15.10 PGI/16.10

Inside the ACML all BLAS and LAPACK routines are included. Again, the ACML can be linked independently if you are using the PGI, GNU compilers or the Intel compilers. In case of trouble when compiling/linking please contact Scientific Computing.

Documentation