LAPACK is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. The associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are related computations such as reordering of the Schur factorizations and estimating condition numbers. Dense and banded matrices are handled, but not general sparse matrices. In all areas, similar functionality is provided for real and complex matrices, in both single and double precision.


ShARC runs on the CentOS 7.x flavour of Linux which provides a standard build of LAPACK via RPM files. We have made this version of LAPACK available via the following module command

module load libs/lapack/3.4.2-5/binary

A further CMake source compiled version is also available via the following module command:

module load libs/lapack/3.9.1/gcc-8.2-cmake-3.17.1

Installation notes

This section is primarily for administrators of the system.

Version 3.9.1 source compiled version

LAPACK was installed via the following install script which autogenerated the modulefile.

Version 3.4.2-5 binary

LAPACK was extracted from the RPMs for lapack and lapack-devel

  • Install script as /usr/local/packages/libs/lapack/3.9.1/gcc-8.2-cmake-3.17.1/install_script.sge

  • Module File as /usr/local/modulefiles/libs/lapack/3.4.2-5/binary