File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11 Notes on tags used in MITgcmUV
22 ==============================
33
4+ o tools/build_options/linux_ia64_ifort_ollie: adjust floating point options
45o pkg/ctrl:
56 - fix two bugs related to writing and reading control variables and
67 corresponding gradients:
Original file line number Diff line number Diff line change @@ -59,12 +59,16 @@ if test "x$IEEE" = x ; then #- with optimisation:
5959 NOOPTFILES=' obcs_init_fixed.F'
6060else
6161 if test " x$DEVEL " = x ; then # - no optimisation + IEEE :
62- # "-mp" is for ieee "maintain precision"
63- FOPTIM=' -O0 -noalign -xHost -ip -mp'
62+ # "-fp-model [keyword]" is the recommended method of controlling precision
63+ FOPTIM=' -O0 -noalign -xHost -ip -fp-model consistent'
64+ # alternatives, see man pages for details
65+ # FOPTIM='-O0 -noalign -xHost -ip -mp1'
66+ # FOPTIM='-O0 -noalign -xHost -ip -fp-model precise'
67+ # FOPTIM='-O0 -noalign -xHost -ip -mieee-fp'
6468 else # - development/check options:
6569# FFLAGS="$FFLAGS -warn all -warn nounused"
6670 FFLAGS=" $FFLAGS -warn unused"
67- FOPTIM=" -fpe0 -check all -ftrapuv"
71+ FOPTIM=" -fpe0 -check all -ftrapuv -fp-model precise "
6872 FOPTIM=" $FOPTIM -O0 -noalign -g -traceback"
6973 fi
7074fi
You can’t perform that action at this time.
0 commit comments