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

Annotation of /trunk/Compiler_options/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 132 - (hide annotations)
Fri Mar 20 16:31:06 2015 UTC (9 years, 2 months ago) by guez
Original Path: trunk/Compilation/Compiler_options/gfortran_debug.mk
File size: 1154 byte(s)
Removed procedure jacobi, which was a copy of the file from Numerical
Recipes in Fortran 77. Refer to the Numer_Rec_95 library instead.

There was a strange line in procedure coordij: j cannot be equal to 0
after the loop on j.

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 132 numer_rec_95_dir = ${HOME}/User_install/lib/Numer_Rec_95_debug
8     nr_util_dir = ${HOME}/User_install/lib/NR_util_debug
9     netcdf95_dir = ${HOME}/User_install/lib/NetCDF95_debug
10     jumble_dir = ${HOME}/User_install/lib/Jumble_debug
11 guez 36
12     # Include flags:
13 guez 71 FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
14 guez 36
15 guez 71 # Fortran language options:
16 guez 82 FFLAGS += -ffree-form -std=f95
17 guez 36
18 guez 71 # Error and warning options:
19 guez 119 FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wunderflow -Wunreachable-code -Wno-conversion
20 guez 36
21 guez 71 # Debugging options:
22 guez 72 FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g
23 guez 36
24 guez 71 # Code generation options:
25 guez 78 FFLAGS += -fcheck=bounds -fcheck=do -fcheck=mem -fcheck=pointer -fcheck=recursion -finit-real=SNAN
26 guez 71
27     # Optimization options:
28 guez 72 FFLAGS += -O0
29 guez 71
30 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
31 guez 69
32     version_flag = --version

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21