1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/osf1_alpha_g77,v 1.1 2004/03/02 18:25:59 edhill Exp $ |
4 |
# $Name: $ |
5 |
# |
6 |
|
7 |
|
8 |
FC=g77 |
9 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
10 |
CPP='/usr/bin/cpp -P' |
11 |
NOOPTFLAGS='-O0' |
12 |
#EH3 Remove the buggy mkdep since the newly included cyrus version |
13 |
#EH3 works much better on machines such as "halem" |
14 |
#EH3 MAKEDEPEND='mkdep -f depend.out' |
15 |
|
16 |
# netcdf |
17 |
# LIBS="-lnetcdf" |
18 |
|
19 |
# For IEEE, use the "-ffloat-store" option |
20 |
if test "x$IEEE" = x ; then |
21 |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
22 |
FOPTIM='-O3 -funroll-loops' |
23 |
else |
24 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
25 |
FOPTIM='-O0' |
26 |
fi |