/[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 169 - (show annotations)
Mon Sep 14 17:13:16 2015 UTC (8 years, 7 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 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 netcdf_inc_dir = /opt/netcdf42/pgf95/include
5 netcdf_lib_dir = /opt/netcdf42/pgf95/lib
6
7 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
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