/[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 169 - (hide annotations)
Mon Sep 14 17:13:16 2015 UTC (8 years, 8 months ago) by guez
File size: 1191 byte(s)
In inifilr_hemisph, colat0 is necessarily >= 1. / rlamda(iim) (see
notes) so we simplify the definition of jfilt. No need to keep modfrst
values at other latitudes than the current one, and we can have one
loop on latitudes instead of two.

Just encapsulated transp into a module.

1 guez 27 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3 guez 3
4 guez 169 netcdf_inc_dir = /opt/netcdf42/pgf95/include
5     netcdf_lib_dir = /opt/netcdf42/pgf95/lib
6 guez 3
7 guez 169 numer_rec_95_dir = /data/guez/lib/Numer_Rec_95_pgfortran
8     nr_util_dir = /data/guez/lib/NR_util_pgfortran
9     netcdf95_dir = /data/guez/lib/NetCDF95_pgfortran
10     jumble_dir = /data/guez/lib/Jumble_pgfortran
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