/[lmdze]/trunk/Compilers/gfortran_debug.mk
ViewVC logotype

Annotation of /trunk/Compilers/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations)
Thu Jul 26 14:37:37 2012 UTC (11 years, 9 months ago) by guez
Original Path: trunk/Compilers/gfortran.mk
File size: 1041 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 36 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3    
4 guez 61 netcdf_inc_dir = /usr/include
5     netcdf_lib_dir =
6 guez 36
7 guez 62 numer_rec_95_dir = /user/guez_local/lib/Numer_Rec_95_gfortran_debug
8 guez 36 nr_util_dir = /user/guez_local/lib/NR_util_j
9     netcdf95_dir = /user/guez_local/lib/NetCDF95_gfortran
10 guez 61 jumble_dir = /user/guez_local/lib/Jumble_debug
11 guez 36
12     # Include flags:
13 guez 61 inc_flags = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
14 guez 36
15     # Other flags which do not affect run time performance:
16 guez 38 lang_flags = -ffree-form -frange-check -std=f95 -pedantic-errors -Wall -Wunderflow -Wextra
17 guez 36
18     # Flags which affect run time performance:
19     perf_flags = -fbacktrace -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all
20    
21     FFLAGS = ${inc_flags} ${perf_flags}
22     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
23    
24 guez 61 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -lnr_util

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21