Difference between revisions of "BLAS and LAPACK"

From HPC users
Jump to navigationJump to search
(Created page with "== BLAS — ''Basic Linear Algebra Subprograms'' == == LAPACK — ''Linear Algebra Package'' ==")
 
Line 1: Line 1:
== BLAS ''Basic Linear Algebra Subprograms'' ==
The libraries BLAS ''Basic Linear Algebra Subprograms'' and LAPACK — ''Linear Algebra Package'' are installed on FLOW and HERO as single modules. Both are available as gcc compilation and open64 compilation.


== LAPACK — ''Linear Algebra Package'' ==
However, to improve the performance you should use the Intel MKL (Math Kernel Library) which is included in the
 
  ''intel/ics''
 
modules. Inside the MKL all BLAS and LAPACK routines are included. Unfortunately the linking of the MKL against your code is not so easy and depends on the release of the MKL. Luckyly there exist a nice [http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor configurator from Intel] to get the right compiler and linker flags.

Revision as of 17:13, 23 April 2013

The libraries BLAS Basic Linear Algebra Subprograms and LAPACK — Linear Algebra Package are installed on FLOW and HERO as single modules. Both are available as gcc compilation and open64 compilation.

However, to improve the performance you should use the Intel MKL (Math Kernel Library) which is included in the

 intel/ics

modules. Inside the MKL all BLAS and LAPACK routines are included. Unfortunately the linking of the MKL against your code is not so easy and depends on the release of the MKL. Luckyly there exist a nice configurator from Intel to get the right compiler and linker flags.