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