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

Annotation of /trunk/Compiler_options/ifort_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 171 - (hide annotations)
Tue Sep 29 19:48:59 2015 UTC (8 years, 8 months ago) by guez
File size: 1517 byte(s)
Removed argument ierr of abort_gcm. It was always 1 and not used.

Just encapsulated pres2lev into a module.

Removed test on run_off in procedure calcul_fluxs. Useless. The test
is always done just before in interfsurf_hq.

Removed named constants rea and repsm in module suphec: never used.

1 guez 3 # These are machine dependent macros, meant to be included in the
2     # LMDZE makefile
3    
4 guez 108 # For ifort 12
5 guez 3
6 guez 171 netcdf_dir = /smplocal/pub/NetCDF/4.3.3.1/seq
7 guez 169 ##netcdf_dir = /opt/netcdf42/ifort
8 guez 3
9 guez 169 netcdf_inc_dir = ${netcdf_dir}/include
10     netcdf_lib_dir = ${netcdf_dir}/lib
11    
12 guez 108 numer_rec_95_dir = ${workdir}/lib/Numer_Rec_95_debug
13 guez 169 ##numer_rec_95_dir = /data/guez/lib/Numer_Rec_95_ifort_debug
14    
15 guez 108 nr_util_dir = ${workdir}/lib/NR_util_debug
16 guez 169 ##nr_util_dir = /data/guez/lib/NR_util_ifort_debug
17    
18 guez 108 netcdf95_dir = ${workdir}/lib/NetCDF95_debug
19 guez 169 ##netcdf95_dir = /data/guez/lib/NetCDF95_ifort_debug
20    
21 guez 108 jumble_dir =${workdir}/lib/Jumble_debug
22 guez 169 ##jumble_dir =/data/guez/lib/Jumble_ifort_debug
23 guez 3
24 guez 169 lib_dir_list = ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}
25    
26 guez 108 # Include flags:
27     FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
28    
29     # Optimization:
30     FFLAGS += -O0
31    
32     # Floating Point:
33     FFLAGS += -fp-stack-check -fpe-all=0
34    
35     # Debug:
36     FFLAGS += -debug -debug-parameters all -ftrapuv
37    
38     # Language:
39     FFLAGS += -free -noaltparam -assume minus0,noold_xor -check bounds,format,output_conversion,pointers,uninit -stand f95
40    
41     # Data:
42     FFLAGS += -auto
43    
44     # Compiler Diagnostics:
45     FFLAGS += -warn declarations,interfaces,stderrors,truncated_source,uncalled,unused -traceback -diag-error-limit 1
46    
47 guez 169 comma = ,
48 guez 108
49 guez 169 LDLIBS = $(addprefix -L, ${lib_dir_list}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -ljumble -lnr_util $(addprefix -Wl${comma}-rpath${comma}, ${lib_dir_list})
50    
51     version_flag = -logo

  ViewVC Help
Powered by ViewVC 1.1.21