29 |
|
|
30 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
31 |
# No need for IEEE-754 |
# No need for IEEE-754 |
32 |
FFLAGS="$FFLAGS -fPIC -fp-model precise -ftz -w95 -W0 -WB -convert big_endian -assume byterecl" |
FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -align" |
33 |
FOPTIM='-O2 -align -ip -xSSE4.1' |
FOPTIM='-O2 -ip -xSSE4.1 -fp-model precise -ftz' |
34 |
# FOPTIM='-O2 -align -ip -xSSE4.2' |
# FOPTIM='-O2 -ip -xSSE4.2 -fp-model precise -ftz' |
35 |
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' |
36 |
else |
else |
37 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
38 |
FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl" |
FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign" |
39 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0' |
40 |
fi |
fi |
41 |
#- might want to use '-r8' for fizhi pkg: |
#- might want to use '-r8' for fizhi pkg: |
42 |
#FFLAGS="$FFLAGS -r8" |
#FFLAGS="$FFLAGS -r8" |