41 |
GET_FC_VERSION="--version" |
GET_FC_VERSION="--version" |
42 |
OMPFLAG='-openmp' |
OMPFLAG='-openmp' |
43 |
|
|
44 |
NOOPTFLAGS='-O0 -g' |
NOOPTFLAGS='-O0' |
45 |
NOOPTFILES='' |
NOOPTFILES='' |
46 |
|
|
47 |
FFLAGS="$FFLAGS -W0 -WB -convert big_endian -assume byterecl" |
FFLAGS="$FFLAGS -W0 -WB -convert big_endian -assume byterecl" |
56 |
# so we spell it out (-ipo makes linking very slow, so we will skip that, too) |
# so we spell it out (-ipo makes linking very slow, so we will skip that, too) |
57 |
# FOPTIM='-ipo -align -O3 -no-prec-div -fp-model fast=2 -xHost' |
# FOPTIM='-ipo -align -O3 -no-prec-div -fp-model fast=2 -xHost' |
58 |
FOPTIM='-align -O3 -no-prec-div -fp-model fast=2 -xHost' |
FOPTIM='-align -O3 -no-prec-div -fp-model fast=2 -xHost' |
59 |
|
# reduce optimization level a little for some files |
60 |
|
NOOPTFLAGS='-align -O1 -no-prec-div -fp-model fast=2 -xHost' |
61 |
|
NOOPTFILES='obcs_init_fixed.F' |
62 |
else |
else |
63 |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |
if test "x$DEVEL" = x ; then #- no optimisation + IEEE : |
64 |
# "-mp" is for ieee "maintain precision" |
# "-mp" is for ieee "maintain precision" |