1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.6 |
# $Header: /u/u3/gcmpack/MITgcm/tools/build_options/linux_ia32_g77,v 1.5 2004/01/15 19:19:59 edhill Exp $ |
4 |
edhill |
1.4 |
# $Name: $ |
5 |
edhill |
1.1 |
# |
6 |
|
|
|
7 |
|
|
|
8 |
|
|
FC=g77 |
9 |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
10 |
|
|
CPP='cpp -traditional -P' |
11 |
|
|
NOOPTFLAGS='-O0' |
12 |
edhill |
1.5 |
|
13 |
|
|
# netcdf |
14 |
edhill |
1.6 |
# LIBS="-lnetcdf" |
15 |
edhill |
1.1 |
|
16 |
|
|
# For IEEE, use the "-ffloat-store" option |
17 |
|
|
if test "x$IEEE" = x ; then |
18 |
|
|
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
19 |
|
|
FOPTIM='-O3 -malign-double -funroll-loops' |
20 |
|
|
else |
21 |
edhill |
1.2 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
22 |
edhill |
1.1 |
FOPTIM='-O0 -malign-double' |
23 |
|
|
fi |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|