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

Contents of /trunk/Compiler_options/ifort_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (show annotations)
Wed Apr 29 15:47:56 2015 UTC (9 years ago) by guez
File size: 1151 byte(s)
Sources inside, compilation outside.
1 # These are machine dependent macros, meant to be included in the
2 # LMDZE makefile
3
4 # For ifort 12
5
6 netcdf_inc_dir = /smplocal/pub/NetCDF/4.1.3/seq/include
7 netcdf_lib_dir = /smplocal/pub/NetCDF/4.1.3/seq/lib
8
9 numer_rec_95_dir = ${workdir}/lib/Numer_Rec_95_debug
10 nr_util_dir = ${workdir}/lib/NR_util_debug
11 netcdf95_dir = ${workdir}/lib/NetCDF95_debug
12 jumble_dir =${workdir}/lib/Jumble_debug
13
14 # Include flags:
15 FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
16
17 # Optimization:
18 FFLAGS += -O0
19
20 # Floating Point:
21 FFLAGS += -fp-stack-check -fpe-all=0
22
23 # Debug:
24 FFLAGS += -debug -debug-parameters all -ftrapuv
25
26 # Language:
27 FFLAGS += -free -noaltparam -assume minus0,noold_xor -check bounds,format,output_conversion,pointers,uninit -stand f95
28
29 # Data:
30 FFLAGS += -auto
31
32 # Compiler Diagnostics:
33 FFLAGS += -warn declarations,interfaces,stderrors,truncated_source,uncalled,unused -traceback -diag-error-limit 1
34
35 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
36
37 version_flag = -V

  ViewVC Help
Powered by ViewVC 1.1.21