Last change
on this file since 4802 was
4773,
checked in by idelkadi, 11 months ago
|
- Update of Ecrad in LMDZ
The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results.
version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
- Implementation of the double call of Ecrad in LMDZ
|
File size:
1.2 KB
|
Line | |
---|
1 | # Fortran compiler executable -*- Makefile -*- |
---|
2 | FC = gfortran |
---|
3 | |
---|
4 | # Tell the compiler to accept C-preprocessor directives |
---|
5 | CPPFLAGS = -cpp |
---|
6 | |
---|
7 | # Basic flags such as where to write module files. We used to have the |
---|
8 | # flag "-fconvert=big-endian" here because the RRTM input files are |
---|
9 | # big endian Fortran unformatted files, but now the file ordering has |
---|
10 | # been specified at the OPEN command so no compiler flags are needed. |
---|
11 | BASICFLAGS = -J../mod -fno-range-check |
---|
12 | |
---|
13 | # OpenMP flag; type "make OMPFLAG=-DNO_OPENMP" to compile with OpenMP |
---|
14 | # disabled |
---|
15 | OMPFLAG = -fopenmp |
---|
16 | |
---|
17 | ifndef DEBUG |
---|
18 | # --NORMAL CONFIGURATION-- |
---|
19 | |
---|
20 | # Optimization flags |
---|
21 | OPTFLAGS = -O3 |
---|
22 | # -march=native |
---|
23 | |
---|
24 | # Warning flags: all except those that warn about unused stuff |
---|
25 | WARNFLAGS = -Wall -Wno-unused-label -Wno-unused-dummy-argument -Wno-unused-variable |
---|
26 | |
---|
27 | # Debugging flags, such as "-g" to store debugging symbols, and |
---|
28 | # instructions to abort if certain floating-point exceptions occur |
---|
29 | DEBUGFLAGS = -g -ffpe-trap=invalid,zero,overflow |
---|
30 | |
---|
31 | else |
---|
32 | # --DEBUGGING CONFIGURATION-- |
---|
33 | OPTFLAGS = -O0 |
---|
34 | WARNFLAGS = -Wall |
---|
35 | DEBUGFLAGS = -g -ffpe-trap=invalid,zero,overflow -fcheck=bounds -finit-real=snan -fbacktrace |
---|
36 | |
---|
37 | endif |
---|
38 | |
---|
39 | ifdef GPROF |
---|
40 | # Add gprof output |
---|
41 | DEBUGFLAGS += -pg |
---|
42 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.