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

Annotation of /trunk/Compiler_options/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations)
Thu Jul 26 14:37:37 2012 UTC (11 years, 10 months ago) by guez
Original Path: trunk/Compilers/g95.mk
File size: 1142 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 10 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3 guez 3
4 guez 12 netcdf_inc_dir = /home/guez_local/include/NetCDF_g95 /home/guez_local/include
5 guez 22 netcdf_lib_dir = /home/guez_local/lib/NetCDF_g95 /home/guez_local/lib
6 guez 9
7 guez 36 numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/z
8     nr_util_dir = /user/guez_local/lib/NR_util_a
9 guez 12 netcdf95_dir = /home/guez_local/lib/NetCDF95/g95
10 guez 9
11 guez 3 # Include flags:
12 guez 36 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir})
13 guez 3
14     # Other flags which do not affect run time performance:
15     lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165
16     # Warning (136): Module variable is never used
17     # Warning (163): Actual argument does not have an INTENT
18     # Warning (165): Implicit interface
19    
20     # Flags which affect run time performance:
21     perf_flags = -fbounds-check -freal=nan -ftrace=full -g -O0
22    
23     FFLAGS = ${inc_flags} ${perf_flags}
24     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
25    
26 guez 36 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec -lnr_util

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21