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

Contents of /trunk/Compiler_options/pgfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 178 - (show annotations)
Fri Mar 11 18:47:26 2016 UTC (8 years, 3 months ago) by guez
File size: 1219 byte(s)
Moved variables date0, deltat, datasz_max, ncvar_ids, point, buff_pos,
buffer, regular from module histcom_var to modules where they are
defined.

Removed procedure ioipslmpp, useless for a sequential program.

Added argument datasz_max to histwrite_real (to avoid circular
dependency with histwrite).

Removed useless variables and computations everywhere.

Changed real litteral constants from default kind to double precision
in lwb, lwu, lwvn, sw1s, swtt, swtt1, swu.

Removed unused arguments: paer of sw, sw1s, sw2s, swclr; pcldsw of
sw1s, sw2s; pdsig, prayl of swr; co2_ppm of clmain, clqh; tsol of
transp_lay; nsrf of screenp; kcrit and kknu of gwstress; pstd of
orosetup.

Added output of relative humidity.

1 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 netcdf_inc_dir = /opt/netcdf43/pgf2013/include
5 netcdf_lib_dir = /opt/netcdf43/pgf2013/lib
6
7 numer_rec_95_dir = /data/guez/lib/Numer_Rec_95_pgfortran_debug
8 nr_util_dir = /data/guez/lib/NR_util_pgfortran_debug
9 netcdf95_dir = /data/guez/lib/NetCDF95_pgfortran_debug
10 jumble_dir = /data/guez/lib/Jumble_pgfortran_debug
11
12 lib_dir_list = ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}
13
14 # Include flags:
15 FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
16
17 # Overall options:
18 FFLAGS += -Minform=inform
19
20 # Optimization options:
21 FFLAGS += -Mframe
22
23 # Debugging options:
24 FFLAGS += -g -gopt -Mchkfpstk -Mchkptr -Mpgicoff
25 # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",
26 # for a "gcm" run.
27
28 # Language options:
29 FFLAGS += -Mfree -Mstandard -Mallocatable=95 -Mbackslash -Mdefaultunit -Mrecursive
30
31 # Target-specific Options:
32 FFLAGS += -Kieee -Ktrap=fp
33
34 LDFLAGS = -g
35
36 LDLIBS = $(addprefix -L, ${lib_dir_list}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -ljumble -lnr_util $(addprefix -rpath , ${lib_dir_list})
37
38 version_flag = -V

  ViewVC Help
Powered by ViewVC 1.1.21