27 |
|
|
28 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
29 |
# No need for IEEE-754 |
# No need for IEEE-754 |
30 |
FFLAGS="$FFLAGS -fp-model precise -ftz -w95 -W0 -WB -convert big_endian -assume byterecl" |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -align" |
31 |
FOPTIM='-O2 -align -ip -xSSE4.1' |
FOPTIM='-O2 -ip -xSSE4.1 -fp-model precise -ftz' |
32 |
# FOPTIM='-O2 -align -ip -xSSE4.2' |
# FOPTIM='-O2 -ip -xSSE4.2 -fp-model precise -ftz' |
33 |
NOOPTFILES='calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F' |
NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F' |
34 |
else |
else |
35 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
36 |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl" |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -noalign" |
37 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0' |
38 |
fi |
fi |
39 |
#- might want to use '-r8' for fizhi pkg: |
#- might want to use '-r8' for fizhi pkg: |
40 |
#FFLAGS="$FFLAGS -r8" |
#FFLAGS="$FFLAGS -r8" |