/
install aec intel

install aec intel

module load intel/2022.2

export COMPILER=intel.22
export CC=icc
export CXX=icpc
export F77=ifort
export FC=ifort
export COMPOPT="-fPIC -O3 -qopt-zmm-usage=high -march=skylake-avx512 -xskylake-avx512 -mtune=skylake-avx512 -mcmodel=medium -fno-alias -align -fp-model precise -shared-intel"

parentdir="$(dirname "$(pwd)")"
export BUILDDIR=$parentdir
echo "building in "$BUILDDIR

export PREFIX=/sw/dataformats/aec/1.0.6/skl/$COMPILER
echo "building for "$PREFIX
echo "Press ENTER to configure";read aaa

export LD_RUN_PATH=$LIBRARY_PATH
export CFLAGS="  $COMPOPT -Wl,-rpath=$LD_RUN_PATH"
export CXXFLAGS="$COMPOPT -Wl,-rpath=$LD_RUN_PATH"
export FCFLAGS=" $COMPOPT -Wl,-rpath=$LD_RUN_PATH"
export LDLAGS="-O3 -fPIC"
../libaec-v1.0.6/configure --prefix=$PREFIX --libdir=$PREFIX/lib64

echo "Press ENTER to run make";read aaa
make -j2
echo "Press ENTER to run make check";read aaa
make check 2>&1 | tee check.out
echo "Press ENTER to run make install";read aaa
make install
echo "Do not forget to run make clean!"

Related content

install aec gnu
install aec gnu
More like this
Building NFFT
Building NFFT
More like this
Configure and make GSL
Configure and make GSL
More like this
Libaec Installation
Libaec Installation
More like this
Install ecCodes with intel compilers
Install ecCodes with intel compilers
More like this
Install ecCodes with gcc
Install ecCodes with gcc
More like this