#!/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-skl
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 -xCORE-AVX512 -mtune=skylake -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large -ipo"
export CFLAGS=" -g -O3 -xCORE-AVX512 -mtune=skylake -ipo "
