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

Annotation of /trunk/Compiler_options/pgf95_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations)
Thu Jul 26 14:37:37 2012 UTC (11 years, 11 months ago) by guez
Original Path: trunk/Compilers/pgf95.mk
File size: 1108 byte(s)
Changed handling of compiler in compilation system.

Removed the prefix letters "y", "p", "t" or "z" in some names of variables.

Replaced calls to NetCDF by calls to NetCDF95.

Extracted "ioget_calendar" procedures from "calendar.f90" into a
separate file.

Extracted to a separate file, "mathop2.f90", procedures that were not
part of the generic interface "mathop" in "mathop.f90".

Removed computation of "dq" in "bilan_dyn", which was not used.

In "iniadvtrac", removed schemes 20 Slopes and 30 Prather. Was not
compatible with declarations of array sizes.

In "clcdrag", "ustarhb", "vdif_kcay", "yamada4" and "coefkz", changed
the size of some arrays from "klon" to "knon".

Removed possible call to "conema3" in "physiq".

Removed unused argument "cd" in "yamada".

1 guez 27 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3 guez 3
4 guez 30 # For pgf95 version 7
5 guez 3
6 guez 27 netcdf_inc_dir = /usr/local/netcdf-pgi/include
7     netcdf_lib_dir = /usr/local/netcdf-pgi/lib
8    
9     numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/o
10     netcdf95_dir = /home/guez_local/lib/NetCDF95/pgf95
11     IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/ad
12    
13 guez 3 # Include flags:
14 guez 27 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})
15 guez 3
16     # Other flags which do not affect run time performance:
17 guez 27 lang_flags = -Mstandard -Minform=inform -Mfree -Minfo=all -Mallocatable=95 -Mbackslash
18 guez 3
19     # Flags which affect run time performance:
20 guez 27 perf_flags = -g -Kieee -Ktrap=fp -Mbounds -Mchkfpstk -Mchkptr -Mpgicoff
21     ##-fastsse -O3
22 guez 30 # "-Mbounds" gives an error in module "mathelp", procedure "trans_buff",
23     # for a "gcm" run.
24 guez 3
25     FFLAGS = ${inc_flags} ${perf_flags}
26     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
27 guez 27 LDFLAGS = -g
28 guez 3
29 guez 27 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdf -lnumer_rec

  ViewVC Help
Powered by ViewVC 1.1.21