1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.2 |
# $Header: /u/u3/gcmpack/MITgcm/tools/build_options/linux_ia32_g77+cg01,v 1.1 2003/09/29 16:15:24 edhill Exp $ |
4 |
edhill |
1.1 |
# |
5 |
|
|
# tested on cg01 and confirmed to work, eh3 2003-09-08 |
6 |
|
|
|
7 |
|
|
FC=g77 |
8 |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
9 |
|
|
CPP='/lib/cpp -traditional -P' |
10 |
|
|
NOOPTFLAGS='-O0' |
11 |
|
|
|
12 |
|
|
# For IEEE, use the "-ffloat-store" option |
13 |
|
|
if test "x$IEEE" = x ; then |
14 |
|
|
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
15 |
|
|
FOPTIM='-O3 -malign-double -funroll-loops' |
16 |
|
|
else |
17 |
|
|
FFLAGS='-Wimplicit -Wunused -Wuninitialized -ffloat-store' |
18 |
|
|
FOPTIM='-O0 -malign-double' |
19 |
|
|
fi |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|