LAPACK
From PHASTA Wiki
Download and Build LAPACK
1. Download LAPACK tarball from http://netlib.org/lapack/ and extract the files to the desired folder with tar -xf <name_of_tarball>
. Note that for the current method, the location of the unpacked folder does not need to be within the PHASTA source directory.
cp <lapack_dir>/make.inc.example <lapack_dir>/make.inc
2. Create a build directory at the same level as the LAPACK folder and execute the following build script within the build directory:
- !/bin/bash
cmake \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_Fortran_COMPILER=gfortran \ -DCMAKE_BUILD_TYPE=Release \ ../<lapack_dir>