Last change
on this file since 5196 was
4728,
checked in by idelkadi, 13 months ago
|
Update of ecrad in the LMDZ_ECRad branch of LMDZ:
- version 1.6.1 of ecrad
- files are no longer grouped in the same ecrad directory.
- the structure of ecrad offline is preserved to facilitate updating in LMDZ
- cfg.bld modified to take into account the new added subdirectories.
- the interface routines and those added in ecrad are moved to the phylmd directory
|
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.