#!/bin/bash
module purge
module load intel/2017.4 impi/2017.4 mkl/2017.4 bsc/1.0

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

#export install_dir=/gpfs/scratch/pr1eih00/pr1eih01/benchmarks/$machine/$software/$version
export install_dir=/gpfs/projects/pr1eih00/pr1eih01/benchmarks/$machine/$software/$version
export CC="mpiicc"
export FC="mpiifort"
export MPIFC=$FC
export FCFLAGS=" -g -O3 -qopenmp -xCORE-AVX512 -mtune=skylake -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large"
export CFLAGS=" -g -O3  -xCORE-AVX512 -mtune=skylake"
