Newer
Older
#!/bin/bash
#module purge
module load daint-gpu
module load craype-accel-nvidia60
module load PrgEnv-cray
export machine=daint-gpu
export software=specfem3d_globe
export version=31octobre
export install_dir=$SCRATCH/benchmarks/$machine/$software/$version/gpu
export CC="cc"
export FC="ftn"
export MPIFC=$FC
export FCFLAGS=" -g -O3 -h omp -O ipa3 -h fp3 -O thread3 -h autothread" # -xhost -DUSE_FP32 -DOPT_STREAMS -fp-model fast=2 -traceback -mcmodel=large"
export CFLAGS=" -g -O3 -h omp -h ipa3 -h fp3 -h thread3 -h autothread"