/[lmdze]/trunk/Compiler_options/gfortran_debug.mk
ViewVC logotype

Annotation of /trunk/Compiler_options/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 192 - (hide annotations)
Thu May 12 13:00:07 2016 UTC (8 years, 1 month ago) by guez
File size: 1324 byte(s)
Removed the possibility to read aerosol fields. This was not
operational. It required fields already regridded in the three
dimensions. It seems quite weird to me not to have online vertical
regridding, since the surface pressure varies. There was the
possibility of adding vertical regridding. But development is not in
the spirit of LMDZE. Furthermore, the treatment of aerosols that was
in LMDZE is completely obsolete in LMDZ. We could try importing the
up-to-date treatment of aerosols of LMDZ, but that carries LMDZE quite
far: there is the problem of the calendar and the problem of updated
radiative transfer required for updated aerosols.

1 guez 36 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3    
4 guez 61 netcdf_inc_dir = /usr/include
5     netcdf_lib_dir =
6 guez 36
7 guez 135 numer_rec_95_dir = ${HOME}/Desktop/lib/Numer_Rec_95_debug
8     nr_util_dir = ${HOME}/Desktop/lib/NR_util_debug
9     netcdf95_dir = ${HOME}/Desktop/lib/NetCDF95_debug
10     jumble_dir = ${HOME}/Desktop/lib/Jumble_debug
11 guez 36
12 guez 168 lib_dir_list = ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}
13    
14 guez 36 # Include flags:
15 guez 71 FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
16 guez 36
17 guez 71 # Fortran language options:
18 guez 82 FFLAGS += -ffree-form -std=f95
19 guez 36
20 guez 71 # Error and warning options:
21 guez 119 FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wunderflow -Wunreachable-code -Wno-conversion
22 guez 36
23 guez 71 # Debugging options:
24 guez 72 FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g
25 guez 36
26 guez 71 # Code generation options:
27 guez 186 FFLAGS += -fcheck=bounds -fcheck=do -fcheck=mem -fcheck=pointer -fcheck=recursion
28 guez 192 ##FFLAGS += -finit-real=nan
29     FFLAGS += -finit-real=SNAN
30 guez 71
31     # Optimization options:
32 guez 72 FFLAGS += -O0
33 guez 71
34 guez 168 # Hardware model options:
35 guez 192 FFLAGS += -mcmodel=medium
36 guez 69
37 guez 168 comma = ,
38    
39     LDLIBS = $(addprefix -L, ${lib_dir_list}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -ljumble -lnr_util $(addprefix -Wl${comma}-rpath${comma}, ${lib_dir_list})
40    
41 guez 69 version_flag = --version

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21