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

Contents of /trunk/Compilers/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 38 - (show annotations)
Thu Jan 6 17:52:19 2011 UTC (13 years, 4 months ago) by guez
Original Path: trunk/Compilers/gfortran.mk
File size: 1065 byte(s)
Extracted ASCII art from "inigeom" into a separate text file in the
documentation.

"test_disvert" now creates a separate file for layer thicknesses.

Moved variables from module "yomcst" to module "suphec_m" because this
is where those variables are defined. Kept in "yomcst" only parameters
of Earth orbit. Gave the attribute "parameter" to some variables of
module "suphec_m".

Variables of module "yoethf" were defined in procedure "suphec". Moved
these definitions to a new procedure "yoethf" in module "yoethf_m".

1 # These are compiler dependent macros, meant to be included in the
2 # makefile for LMDZE.
3
4 FC = gfortran
5
6 netcdf_inc_dir = /user/guez_local/include /user/guez_local/include/Gfortran
7 netcdf_lib_dir = /user/guez_local/lib
8
9 numer_rec_dir = /user/guez_local/lib/Numer_Rec_Lionel_b
10 nr_util_dir = /user/guez_local/lib/NR_util_j
11 netcdf95_dir = /user/guez_local/lib/NetCDF95_gfortran
12
13 # Include flags:
14 inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir})
15
16 # Other flags which do not affect run time performance:
17 lang_flags = -ffree-form -frange-check -std=f95 -pedantic-errors -Wall -Wunderflow -Wextra
18
19 # Flags which affect run time performance:
20 perf_flags = -fbacktrace -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all
21
22 FFLAGS = ${inc_flags} ${perf_flags}
23 F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
24
25 LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir}) -lnetcdf95 -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lnumer_rec -lnr_util

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21