1 |
# These are compiler dependent macros, meant to be included in the |
# These are compiler dependent macros, meant to be included in the |
2 |
# makefile for LMDZE. |
# makefile for LMDZE. |
3 |
|
|
|
# For G95 0.91 |
|
|
|
|
|
FC = g95 |
|
|
|
|
4 |
netcdf_inc_dir = /home/guez_local/include/NetCDF_g95 /home/guez_local/include |
netcdf_inc_dir = /home/guez_local/include/NetCDF_g95 /home/guez_local/include |
5 |
netcdf_lib_dir = /home/guez_local/lib/NetCDF_g95 /home/guez_local/lib |
netcdf_lib_dir = /home/guez_local/lib/NetCDF_g95 /home/guez_local/lib |
6 |
|
|
7 |
numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/w |
numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/z |
8 |
|
nr_util_dir = /user/guez_local/lib/NR_util_a |
9 |
netcdf95_dir = /home/guez_local/lib/NetCDF95/g95 |
netcdf95_dir = /home/guez_local/lib/NetCDF95/g95 |
|
IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/aq |
|
10 |
|
|
11 |
# Include flags: |
# Include flags: |
12 |
inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) |
inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir}) |
13 |
|
|
14 |
# Other flags which do not affect run time performance: |
# Other flags which do not affect run time performance: |
15 |
lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165 |
lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165 |
23 |
FFLAGS = ${inc_flags} ${perf_flags} |
FFLAGS = ${inc_flags} ${perf_flags} |
24 |
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
25 |
|
|
26 |
LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec |
LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${nr_util_dir}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec -lnr_util |