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

Contents of /trunk/Compilers/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72 - (show annotations)
Tue Jul 23 13:00:07 2013 UTC (10 years, 10 months ago) by guez
File size: 1128 byte(s)
NaN to signalling NaN in gfortran_debug.mk.

Removed unused procedures in getincom and getincom2. In procedure
conf_interface, replaced call to getincom by new namelist. Moved
procedure conf_interface into module interface_surf.

Added variables sig1 and w01 to startphy.nc and restartphy.nc, for
procedure cv_driver. Renamed (ema_)?work1 and (ema_)?work2 to sig1 and
w01 in concvl and physiq.

Deleted unused arguments of clmain, clqh and intersurf_hq, among which
(y)?sollwdown. Following LMDZ, in physiq, read sollw instead of
sollwdown from startphy.nc, write sollw instead of sollwdown to
restartphy.nc.

In procedure sw, initialized zfs[ud][pn]a[di], for runs where ok_ade
and ok_aie are false. (Following LMDZ.)

Added dimension klev to startphy.nc and restartphy.nc, and deleted
dimension horizon_vertical. Made t_ancien and q_ancien two-dimensional
NetCDF variables. Bug fix: in phyetat0, define ratqs, clwcon and
rnebcon for vertical levels >=2.

Bug fix: set mfg, p[de]n_[ud] to 0. when iflag_con >= 3. (Following LMDZ.)

1 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 netcdf_inc_dir = /usr/include
5 netcdf_lib_dir =
6
7 numer_rec_95_dir = /user/guez_local/lib/Numer_Rec_95_gfortran_debug
8 nr_util_dir = /user/guez_local/lib/NR_util_gfortran_debug
9 netcdf95_dir = /user/guez_local/lib/NetCDF95_gfortran_debug
10 jumble_dir = /user/guez_local/lib/Jumble_debug
11
12 # Include flags:
13 FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
14
15 # Fortran language options:
16 FFLAGS += -std=f95
17
18 # Error and warning options:
19 FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wimplicit-interface -Wunderflow -Wextra -Wunreachable-code
20
21 # Debugging options:
22 FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g
23
24 # Code generation options:
25 FFLAGS += -fcheck=all -finit-real=SNAN
26
27 # Optimization options:
28 FFLAGS += -O0
29
30 F90FLAGS = ${FFLAGS}
31
32 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -lnr_util
33
34 version_flag = --version

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21