#!/bin/bash module purge module load Intel/2019.0.117-GCC-7.3.0 ParaStationMPI/5.2.1-1 #IntelMPI/2019.0.117 export machine=juwels export software=specfem3d_globe export version=31octobre #export install_dir=$HOME/benchmarks/$machine/$software/$version/ export install_dir=$SCRATCH_cprpb66/benchmarks/$machine/$software/$version/ export CC="mpicc" export FC="mpifort" #export CC="mpiicc" #export FC="mpiifort" export MPIFC=$FC #export FCFLAGS=" -g -O3 -qopenmp -xhost -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large" #export CFLAGS=" -g -O3 -xhost " export FCFLAGS=" -g -O3 -qopenmp -xCORE-AVX512 -mtune=skylake -ipo -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large" export CFLAGS=" -g -O3 -xCORE-AVX512 -mtune=skylake -ipo"