1 |
# These are machine dependent macros, meant to be included in the |
# These are machine dependent macros, meant to be included in the |
2 |
# LMDZE makefile |
# LMDZE makefile |
3 |
|
|
4 |
# For ifort 9 |
# For ifort 12 |
5 |
|
|
6 |
FFLAGS = -I${libf_dir} -I${libf_dir}/dyn3d -I${libf_dir}/phylmd -I/home/guez/NetCDF/netcdf-3.6.1_ifort/include -I/home/guez/lib/IOIPSL/IOIPSL_t -I/home/guez/lib/Numerical_Recipes_Lionel/ifort -assume minus0 -check all -debug extended -debug-parameters all -error_limit 1 -fltconsistency -fpe0 -fpstkchk -ftrapuv -g -inline-debug-info -O0 -traceback -free -warn all -warn stderrors |
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 |
LDFLAGS = |
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 |
LDLIBS = -L/home/guez/NetCDF/netcdf-3.6.1_ifort/lib -L/home/guez/lib/IOIPSL/IOIPSL_t -L/home/guez/lib/Numerical_Recipes_Lionel/ifort -lioipsl -lnetcdf -lnumer_rec |
# 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 |