#!/bin/bash module purge module load ccc datadir/cines datadir/own dfldatadir/own flavor/buildtarget/x86_64 intel/19.0.0.117 hwloc/1.11.3 mpi/openmpi/2.0.4 export machine=irene-knl export software=specfem3d_globe export version=31octobre export install_dir=$CCCSCRATCHDIR/benchmarks/$machine/$software/$version/ export CC="mpicc" export FC="mpifort" export MPIFC=$FC export FCFLAGS=" -g -O3 -qopenmp -xMIC-AVX512 -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large -fma -align array64byte -finline-functions -ipo" export CFLAGS=" -g -O3 -xMIC-AVX512 -fma -align -finline-functions -ipo" export FCFLAGS_f90='-mod ./obj -I./obj -I. -I. -I${SETUP} -xMIC-AVX512' export CPPFLAGS='-I${SETUP} -DFORCE_VECTORIZATION' # -xMIC-AVX512'