50 |
# -W0 disable all warning messages |
# -W0 disable all warning messages |
51 |
# -WB turns a compile-time bounds check error into a warning |
# -WB turns a compile-time bounds check error into a warning |
52 |
# -xT optimize for Intel Core2 and Xeon 51xx |
# -xT optimize for Intel Core2 and Xeon 51xx |
53 |
# -fno-alias don't assume aliasing (assume that different variables DON'T refer to the same memory location) |
# -fno-alias don't assume aliasing (assume that different variables DON'T refer to the same memory location) |
54 |
# -assume byterecl record length in OPEN statements is in bytes |
# -assume byterecl record length in OPEN statements is in bytes |
55 |
# -convert big_endian binary files contain big-endian data |
# -convert big_endian binary files contain big-endian data |
56 |
# -shared-intel avoids static library mismatch (?) |
# -shared-intel avoids static library mismatch (?) |
57 |
FFLAGS="$FFLAGS -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian" |
FFLAGS="$FFLAGS -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian" |
58 |
else |
else |
59 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
60 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
64 |
# -pc64 round floating point values to 64 bits |
# -pc64 round floating point values to 64 bits |
65 |
# one could also try |
# one could also try |
66 |
# -mp maintain precision |
# -mp maintain precision |
67 |
FFLAGS="$FFLAGS -pc64 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian" |
FFLAGS="$FFLAGS -pc64 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian" |
68 |
fi |
fi |
69 |
|
#- might want to use '-r8' for fizhi pkg: |
70 |
|
#FFLAGS="$FFLAGS -r8" |
71 |
|
|
72 |
F90FLAGS=$FFLAGS |
F90FLAGS=$FFLAGS |
73 |
F90OPTIM=$FOPTIM |
F90OPTIM=$FOPTIM |
74 |
|
|