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

Annotation of /trunk/Compiler_options/pgfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.21