source: LMDZ6/branches/Amaury_dev/arch/arch-local-gfortran-parallel.fcm @ 5419

Last change on this file since 5419 was 5066, checked in by abarral, 5 months ago

Transform gr_dyn_fi_p.F, gr_fi_dyn_p.F, calfis_loc.F into free-form modules.
Reorder CPP_PARA keys in lmdz_call_calfis.F90, lmdz_calfis_loc.F90, lmdz_gr_dyn_fi_p.F90, lmdz_gr_fi_dyn_p.F90 to avoid implicit declarations.
Remove redundant -cpp -D.. on arch.
Correct "!OMP" -> "!$OMP"
Correct typo in lmdz_xios.F90, wstats.F90

File size: 1.2 KB
Line 
1%COMPILER            mpif90
2%CCOMPILER           mpicc  # xios
3%LINK                mpif90
4%FPP                 cpp
5%AR                  ar
6%ARFLAGS             rU
7%MAKE                make
8%FPP_FLAGS           -P -traditional
9%FPP_DEF             NC_DOUBLE
10
11%BASE_FFLAGS         -ffree-line-length-0 -fdefault-real-8 -fallow-argument-mismatch -fimplicit-none
12%BASE_CFLAGS         -w -std=c++11 -D__XIOS_EXCEPTION  # xios
13# /!\ LD must be written in Makefile syntax
14%BASE_LD             -Wl,-rpath=$(shell nf-config --prefix)/lib -lstdc++
15%BASE_INC            -D__NONE__  # xios
16
17%PROD_FFLAGS         -O3 -march=native -fPIC
18%PROD_CFLAGS         -O3 -DBOOST_DISABLE_ASSERTS  # xios
19
20%DEV_FFLAGS          -Wall -fbounds-check
21%DEV_CFLAGS          -g -O2  # xios
22
23%DEBUG_FFLAGS        -g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real=snan
24%DEBUG_CFLAGS        -g -DBZ_DEBUG # xios
25
26%MPI_FFLAGS          -fcray-pointer
27%MPI_LD              -L$(shell dirname $(shell readlink -f "$(shell which mpif90)"))/../lib -lmpi
28%OMP_LD              -fopenmp
29%OMP_FFLAGS          -fopenmp -fcray-pointer
30
31%CPP                 cpp  # xios
Note: See TracBrowser for help on using the repository browser.