1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.2 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_alpha_g77+mpi,v 1.1 2003/09/29 16:15:24 edhill Exp $ |
4 |
edhill |
1.1 |
# |
5 |
|
|
|
6 |
|
|
FC='g77' |
7 |
|
|
FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3' |
8 |
|
|
DEFINES='-DWORDLENGTH=4' |
9 |
|
|
LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich' |
10 |
|
|
INCLUDES='-I/usr/local/include' |
11 |
|
|
CPP='cpp -traditional -P' |
12 |
edhill |
1.2 |
|
13 |
|
|
|
14 |
|
|
# For IEEE, use the "-ffloat-store" option |
15 |
|
|
if test "x$IEEE" = x ; then |
16 |
|
|
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
17 |
|
|
FOPTIM='-O3 -funroll-loops' |
18 |
|
|
else |
19 |
|
|
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
20 |
|
|
FOPTIM='-O0' |
21 |
|
|
fi |
22 |
|
|
|