/[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 168 - (hide annotations)
Wed Sep 9 10:41:47 2015 UTC (8 years, 10 months ago) by guez
File size: 1113 byte(s)
In order to be able to choose finer resolutions, set large memory
model in compiler options and use dynamic libraries.

Variables rlatd, rlond, cuphy and cvphy of module comgeomphy were
never used. (In LMDZ, they are used only for Orchid.)

There is a bug in PGI Fortran 13.10 that does not accept the
combination of forall, pack and spread in regr_pr_av and
regr_pr_int. In order to circumvent this bug, created the function
gr_dyn_phy.

In program test_inifilr, use a single latitude coordinate for north
and south.

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

  ViewVC Help
Powered by ViewVC 1.1.21