7 |
|
|
8 |
DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77' |
DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77' |
9 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
|
|
|
10 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
11 |
GET_FC_VERSION="--version" |
GET_FC_VERSION="--version" |
12 |
|
|
13 |
# For IEEE, use the "-ffloat-store" option |
if test "x$IEEE" = x ; then #- with optimisation: |
|
if test "x$IEEE" = x ; then |
|
14 |
FFLAGS=' ' |
FFLAGS=' ' |
15 |
#FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3' |
#FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3' |
16 |
FOPTIM='-O3 -funroll-loops' |
FOPTIM='-O3 -funroll-loops' |
17 |
else |
else #- no optimisation + IEEE : |
18 |
|
# For IEEE, use the "-ffloat-store" option |
19 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
20 |
FOPTIM='-O0' |
FOPTIM='-O0' |
21 |
fi |
fi |
22 |
|
|
23 |
|
if test "x$MPI" = xtrue ; then |
24 |
|
INCLUDES='-I/usr/local/include' |
25 |
|
LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' |
26 |
|
fi |