1 |
# These are compiler dependent macros, meant to be included in the |
2 |
# LMDZE makefile. |
3 |
|
4 |
# For "sxf90" 2.0 on Brodie |
5 |
|
6 |
COMPILE.f = $(FC) $(F90FLAGS) -c |
7 |
FC = sxf90 |
8 |
|
9 |
# Include flags: |
10 |
inc_flags = -I${libf_dir} -I${libf_dir}/dyn3d -I${libf_dir}/phylmd -I${libf_dir}/filtrez -I/SXlocal/pub/netCDF/3.6.1/include -I${workdir}/lib/IOIPSL_Lionel_ah -I${workdir}/lib/Numer_Rec_Lionel_f |
11 |
|
12 |
# Other flags which do not affect run time performance: |
13 |
lang_flags = -f4 -Nw -Wf "-msg b -msg d -msg o -s" |
14 |
|
15 |
# Flags which affect run time performance: |
16 |
perf_flags = |
17 |
|
18 |
##-Cdebug -eP -eR -Pstack -Wf "-init heap=nan -init stack=nan -K a -M zdiv flovf fxovf inv setall -stmtid" |
19 |
# "-M flunf" produces an error in "jacobi" |
20 |
|
21 |
FFLAGS = ${inc_flags} ${perf_flags} |
22 |
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
23 |
|
24 |
LDFLAGS = |
25 |
##-Wl "-f nan" |
26 |
# "-Wl,-f nan" requires "-Wf,-K a" |
27 |
|
28 |
LDLIBS = -L${workdir}/lib/IOIPSL_Lionel_ah -lioipsl -L/SXlocal/pub/netCDF/netCDF-3.6.1/lib -lnetcdf -L${workdir}/lib/Numer_Rec_Lionel_f -lnumer_rec |