1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_alpha_g77+mpi,v 1.3 2010/03/21 22:22:52 jmc Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
FC='g77' |
7 |
|
8 |
DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77' |
9 |
CPP='cpp -traditional -P' |
10 |
|
11 |
EXTENDED_SRC_FLAG='-ffixed-line-length-132' |
12 |
GET_FC_VERSION="--version" |
13 |
|
14 |
LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' |
15 |
INCLUDES='-I/usr/local/include' |
16 |
|
17 |
#FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3' |
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 |