#!/bin/bash

module purge
module load intel/18.1 intelmpi/2018.1.163
export machine=occigen
export software=specfem3d_globe
export version=31octobre

export install_dir=$SCRATCHDIR/benchmarks/$machine/$software/$version/${compiler}/$compiler_version/$libmpi/${mpi_release}

export CC="mpiicc"
export FC="mpiifort"
export MPIFC=$FC
export FCFLAGS="-O3 -qopenmp -xHost -ipo -mtune=core-avx2 -no-prec-div -no-prec-sqrt -fma -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -mcmodel=large"
export CFLAGS="-O3  -xHost -ipo -mtune=core-avx2 -no-prec-div -no-prec-sqrt -fma"
