/
Configure and make GSL

Configure and make GSL

parentdir="$(dirname "$(pwd)")"
export PREFIX=$parentdir
echo "builing for "$PREFIX

module load intel/compiler/64/2019/19.0.1 
module load intel/tbb/64/2019/1.144  
module load intel/mkl/64/2019/1.144

export FC=ifort
export CC=icc
export CXX=icpc
export LD_RUN_PATH=$LD_LIBRARY_PATH

#export CFLAGS="-fPIC -O3 -Wl,-rpath=$LD_RUN_PATH"
export CFLAGS="-fPIC -O3 -fp-model strict -Wl,-rpath=$LD_RUN_PATH"
./configure --prefix=$PREFIX

echo "Press ENTER to compile"; read ttt
make -j4
echo "Press ENTER to check"; read ttt
make check
echo "Press ENTER to install"; read ttt
make install
echo "Press ENTER to clean "; read ttt
make clean

Related content

Building NFFT
Building NFFT
More like this
install aec intel
install aec intel
More like this
install aec gnu
install aec gnu
More like this
Install ecCodes with intel compilers
Install ecCodes with intel compilers
More like this
Linking the MKL version of fftw3
Linking the MKL version of fftw3
More like this
Libaec Installation
Libaec Installation
More like this