54 |
if test "x$IEEE" = x ; then #- with optimisation: |
if test "x$IEEE" = x ; then #- with optimisation: |
55 |
#- full optimisation, trips over MITgcm code because of compiler problems: |
#- full optimisation, trips over MITgcm code because of compiler problems: |
56 |
#FOPTIM='-Ofast -LNO:fusion=2 -funsafe-math-optimizations' |
#FOPTIM='-Ofast -LNO:fusion=2 -funsafe-math-optimizations' |
57 |
#- high optimisation (-O3), might find Pb with few S/R; fully safe: switch to -O2: |
#- high optimisation (-O3 & (loop)fusion=2), might find Pb with few S/R: |
58 |
FOPTIM='-O3 -LNO:fusion=2 -funsafe-math-optimizations' |
#FOPTIM='-O3 -LNO:fusion=2 -funsafe-math-optimizations' |
59 |
|
#- fully safe: switch to -O2 without (loop)fusion=2: |
60 |
|
FOPTIM='-O3 -funsafe-math-optimizations' |
61 |
|
#- multi-threaded: mon_set_iounit.F needs lower optimisation (lower than -02) |
62 |
NOOPTFILES="$NOOPTFILES mon_set_iounit.F" |
NOOPTFILES="$NOOPTFILES mon_set_iounit.F" |
63 |
else |
else |
64 |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |