source: trunk/LMDZ.COMMON/arch/arch-MESOIPSL-gnu.fcm @ 4209

Last change on this file since 4209 was 4209, checked in by emillour, 11 hours ago

Update MESOIPSL (aka Spirit) Gnu arch files to use
more recent version of the compiler (v13) and downgrade
optimizations to -O2 as in some cases -O3 was found to
generate crashes.
EM

File size: 773 bytes
Line 
1%COMPILER            mpif90
2%LINK                mpif90
3%AR                  ar
4%MAKE                make
5%FPP_FLAGS           -P -traditional
6%CPP_FLAGS           -P
7%FPP_DEF             NC_DOUBLE LAPACK BLAS SGEMV=DGEMV SGEMM=DGEMM
8%CPP_DEF             LAPACK
9%BASE_FFLAGS         -fcray-pointer -c -fdefault-real-8 -fdefault-double-8 -ffree-line-length-none -fno-align-commons -fallow-argument-mismatch
10%PROD_FFLAGS         -O2
11%DEV_FFLAGS          -O2 -Wall -fbounds-check
12%DEBUG_FFLAGS        -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all -finit-real=nan -fbacktrace
13%C_COMPILER          mpicc
14%C_OPTIM             -O2
15%MPI_FFLAGS
16%OMP_FFLAGS          -fopenmp
17%BASE_LD             -llapack -lblas
18%MPI_LD
19%OMP_LD              -fopenmp
Note: See TracBrowser for help on using the repository browser.