54 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
55 |
F90FIXEDFORMAT='-fixed -Tf' |
F90FIXEDFORMAT='-fixed -Tf' |
56 |
EXTENDED_SRC_FLAG='-132' |
EXTENDED_SRC_FLAG='-132' |
57 |
|
GET_FC_VERSION="-V" |
58 |
OMPFLAG='-openmp' |
OMPFLAG='-openmp' |
59 |
|
|
60 |
NOOPTFLAGS='-O0 -g -m64 -fPIC' |
NOOPTFLAGS='-O0 -g' |
61 |
NOOPTFILES='' |
NOOPTFILES='' |
62 |
|
|
63 |
INCLUDEDIRS='' |
INCLUDEDIRS='' |
65 |
LIBS='' |
LIBS='' |
66 |
|
|
67 |
if test "x$DEVEL" != x ; then |
if test "x$DEVEL" != x ; then |
68 |
FFLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model except -warn all' |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC -O0 -g -noalign -fp-stack-check -check all -fpe0 -traceback -ftrapuv -fp-model except -warn all" |
69 |
else |
else |
70 |
FFLAGS='-r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC' |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl -fPIC" |
71 |
fi |
fi |
72 |
|
#- might want to use '-r8' for fizhi pkg: |
73 |
|
#FFLAGS="$FFLAGS -r8" |
74 |
|
|
75 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
76 |
# No need for IEEE-754 |
# No need for IEEE-754 |
81 |
# for automatic testing with testreport (but no relation with IEEE arithmetic): |
# for automatic testing with testreport (but no relation with IEEE arithmetic): |
82 |
FOPTIM="$FOPTIM -fpe0 -ftz -fp-stack-check -check all -ftrapuv" |
FOPTIM="$FOPTIM -fpe0 -ftz -fp-stack-check -check all -ftrapuv" |
83 |
FOPTIM="$FOPTIM -noalign -g -traceback" |
FOPTIM="$FOPTIM -noalign -g -traceback" |
84 |
|
NOOPTFILES='ad_taf_output.f' |
85 |
fi |
fi |
86 |
F90FLAGS=$FFLAGS |
F90FLAGS=$FFLAGS |
87 |
F90OPTIM=$FOPTIM |
F90OPTIM=$FOPTIM |