3 |
|
|
4 |
# For ifort 12 |
# For ifort 12 |
5 |
|
|
6 |
netcdf_inc_dir = /smplocal/pub/NetCDF/4.1.3/seq/include |
netcdf_dir = /smplocal/pub/NetCDF/4.1.3/seq |
7 |
netcdf_lib_dir = /smplocal/pub/NetCDF/4.1.3/seq/lib |
##netcdf_dir = /opt/netcdf42/ifort |
8 |
|
|
9 |
|
netcdf_inc_dir = ${netcdf_dir}/include |
10 |
|
netcdf_lib_dir = ${netcdf_dir}/lib |
11 |
|
|
12 |
numer_rec_95_dir = ${workdir}/lib/Numer_Rec_95_debug |
numer_rec_95_dir = ${workdir}/lib/Numer_Rec_95_debug |
13 |
|
##numer_rec_95_dir = /data/guez/lib/Numer_Rec_95_ifort_debug |
14 |
|
|
15 |
nr_util_dir = ${workdir}/lib/NR_util_debug |
nr_util_dir = ${workdir}/lib/NR_util_debug |
16 |
|
##nr_util_dir = /data/guez/lib/NR_util_ifort_debug |
17 |
|
|
18 |
netcdf95_dir = ${workdir}/lib/NetCDF95_debug |
netcdf95_dir = ${workdir}/lib/NetCDF95_debug |
19 |
|
##netcdf95_dir = /data/guez/lib/NetCDF95_ifort_debug |
20 |
|
|
21 |
jumble_dir =${workdir}/lib/Jumble_debug |
jumble_dir =${workdir}/lib/Jumble_debug |
22 |
|
##jumble_dir =/data/guez/lib/Jumble_ifort_debug |
23 |
|
|
24 |
|
lib_dir_list = ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir} |
25 |
|
|
26 |
# Include flags: |
# Include flags: |
27 |
FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) |
FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) |
44 |
# Compiler Diagnostics: |
# Compiler Diagnostics: |
45 |
FFLAGS += -warn declarations,interfaces,stderrors,truncated_source,uncalled,unused -traceback -diag-error-limit 1 |
FFLAGS += -warn declarations,interfaces,stderrors,truncated_source,uncalled,unused -traceback -diag-error-limit 1 |
46 |
|
|
47 |
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 |
comma = , |
48 |
|
|
49 |
|
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 = -V |
version_flag = -logo |