env_marconi100 917 Bytes
Newer Older
Cedric Jourdain's avatar
Cedric Jourdain committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
module purge
module load profile/base
module load xl/16.1.1--binary spectrum_mpi/10.3.1--binary cuda/11.0

export machine=marconi100
export software=specfem3d_globe
export version=31octobre
export install_dir=$CINECA_SCRATCH/benchmarks/$machine/$software/$version

# Power9
export CC="mpixlc"
export FC="mpixlf"
export MPIFC=mpixlf
#DEBUG="-qcheck -g -qsigtrap" # -qstackprotect=all -> internal compiler error : https://www.ibm.com/support/pages/node/722473
#FLAGS_CHECK="-g -qfullpath -O2 -qsave -qstrict -qtune=qp -qarch=qp -qcache=auto -qhalt=w -qfree=f90 -qsuffix=f=f90 -qlanglvl=95pure -Q -Q+rank,swap_all -Wl,-relax"
#FLAGS_CHECK="-g -qfullpath -qsave -qtune=auto -qarch=auto -qcache=auto -qhalt=w -qfree=f90 -qsuffix=f=f90 -qlanglvl=2003pure"
export FCFLAGS="-O3 -DUSE_FP32 -DOPT_STREAMS -qpic $FLAGS_CHECK $DEBUG" #-mcmodel=large -qoffload
export CFLAGS="-O3 -qpic $FLAGS_CHECK $DEBUG" #-qoffload