81 |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |
82 |
FOPTIM='-O0' |
FOPTIM='-O0' |
83 |
else #- development/check options: |
else #- development/check options: |
84 |
FOPTIM='-O0' |
FOPTIM='-O0 -g -fbounds-check' |
85 |
FOPTIM="$FOPTIM -g -ffpe-trap=invalid,zero,overflow -fbounds-check" |
FOPTIM="$FOPTIM -ffpe-trap=invalid,zero,overflow -finit-real=inf" |
86 |
fi |
fi |
87 |
fi |
fi |
88 |
|
|
127 |
elif test -d /usr/local/include/netcdf.inc ; then |
elif test -d /usr/local/include/netcdf.inc ; then |
128 |
INCLUDES='-I/usr/local/include' |
INCLUDES='-I/usr/local/include' |
129 |
LIBS='-L/usr/local/lib64' |
LIBS='-L/usr/local/lib64' |
130 |
|
elif test -d /usr/include/netcdf.inc ; then |
131 |
|
INCLUDES='-I/usr/include' |
132 |
|
LIBS='-L/usr/lib64' |
133 |
fi |
fi |
134 |
|
|
135 |
if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtrue ] ; then |
if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtrue ] ; then |