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 the MIPSpro 7 Fortran 90 compiler on Rhodes. |
# For the MIPSpro 7 Fortran 90 compiler |
5 |
|
|
6 |
FC = f90 |
FC = f90 |
7 |
|
|
8 |
FFLAGS = -I${bypr_dir} -Igrid -Idyn3d -Iphylmd -I/usr/local/pub/include -I${workdir}/IOIPSL_k |
# Include flags: |
9 |
|
inc_flags = -I${libf_dir} -I${libf_dir}/phylmd -I/usr/local/pub/include -I${workdir}/IOIPSL_k |
10 |
|
|
11 |
F90FLAGS = -ansi -check_bounds -fullwarn -g2 -O0 -DEBUG:div_check=3:subscript_check=ON:verbose_runtime=ON -DEBUG:trap_uninitialized=ON ${FFLAGS} |
# Other flags which do not affect run time performance: |
12 |
|
lang_flags = -ansi -fullwarn |
13 |
|
|
14 |
CPPFLAGS = $(addprefix -D, ${macros}) |
# Flags which affect run time performance: |
15 |
|
perf_flags = -check_bounds -g2 -O0 -DEBUG:div_check=3:subscript_check=ON:verbose_runtime=ON -DEBUG:trap_uninitialized=ON |
16 |
|
|
17 |
|
FFLAGS = ${inc_flags} ${perf_flags} |
18 |
|
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
19 |
LDFLAGS = |
LDFLAGS = |
20 |
|
|
21 |
LDLIBS=-L${workdir}/IOIPSL_k -lioipsl -L/usr/local/pub/lib64 -lnetcdf |
LDLIBS= -L${workdir}/IOIPSL_k -lioipsl -L/usr/local/pub/lib64 -lnetcdf |