Tuesday, April 10, 2012

Building LAPACK 3.4 with Intel and GNU Compiler

The reference resource can be found from Building LAPACK library from Netlib. The current latest version of LAPACK is dated 11th November 2011. The current latest version is lapack-3.4.0.tgz.

# mkdir -p ~/src
# wget http://www.netlib.org/lapack/lapack-3.4.0.tgz
# tar -zxvf lapack-3.4.0.tgz
# cd lapack-3.4.0.tgz
# cp INSTALL/make.inc.ifort make.inc
# make lapacklib
# make clean
# mkdir -p /usr/local/lapack
# mv liblapack.a /usr/local/lapack/
# export LAPACK=/usr/local/lapack/liblapack.a

For more information for gfortran and g77 fortran. Building LAPACK 3.4 with Intel and GNU Compiler

No comments: