#!/bin/bash

module purge
module load intel/19.1 intelmpi/2019.1.144

export machine=frioul
export software=specfem3d_globe
export version=31octobre

export install_dir=$SCRATCHDIR/benchmarks/$machine/$software/${version}/

export CC="mpiicc"
export FC="mpiifort"
export MPIFC=$FC
export FCFLAGS=" -g -O3 -qopenmp -xMIC-AVX512 -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=medium -fma -align array64byte -finline-functions -ipo"
export FCFLAGS_f90='-mod ./obj -I./obj -I.  -I. -I${SETUP} -xMIC-AVX512'
export CPPFLAGS='-I${SETUP}  -DFORCE_VECTORIZATION' #  -xMIC-AVX512'

