Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

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!"