1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_alpha_g77,v 1.4 2010/03/21 22:22:52 jmc Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
FC='g77' |
7 |
|
8 |
DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77' |
9 |
CPP='cpp -traditional -P' |
10 |
|
11 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
12 |
GET_FC_VERSION="--version" |
13 |
|
14 |
# For IEEE, use the "-ffloat-store" option |
15 |
if test "x$IEEE" = x ; then |
16 |
FFLAGS=' ' |
17 |
#FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3' |
18 |
FOPTIM='-O3 -funroll-loops' |
19 |
else |
20 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
21 |
FOPTIM='-O0' |
22 |
fi |