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