1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
jmc |
1.5 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_g77,v 1.4 2010/03/21 22:22:53 jmc Exp $ |
4 |
jmc |
1.4 |
# $Name: $ |
5 |
edhill |
1.1 |
|
6 |
|
|
FC=g77 |
7 |
jmc |
1.5 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4 -DNML_EXTENDED_F77' |
8 |
edhill |
1.1 |
CPP='cpp -traditional -P' |
9 |
|
|
NOOPTFLAGS='-O0' |
10 |
jmc |
1.5 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
11 |
|
|
GET_FC_VERSION="--version" |
12 |
edhill |
1.1 |
|
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 |
edhill |
1.3 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
19 |
edhill |
1.1 |
FOPTIM='-O0' |
20 |
|
|
fi |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|