Submitted by ndl303 on

This section will build the BLAS and LAPACk libraries. The code is built with position independent code settings (-fPIC) so the libraries can be used in a shared environment (i.e. shareable objects) . You can skip this section if your site already has these libraries installed. Otherwise, go to the software directory (SOFTWAREDIR ) created in stage 1.

cd SOFTWAREDIR/Repos_SasktranV3LinuxBuild
chmod u+x buildblaslapack
./buildblaslapack INSTALLDIR

edit your environment variables, INCLUDE, LD_LIBRARY_PATH and LIBRARY_PATH  in your login scripts (.bashrc) and apply the settings.