1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_g77+mpi_itrda,v 1.2 2003/11/13 22:03:39 edhill Exp $ |
4 |
# $Name: $ |
5 |
# |
6 |
|
7 |
|
8 |
FC='/usr/local/mpich/mpich-1.2.1..7b_gnu/bin/mpif77' |
9 |
CC='/usr/local/mpich/mpich-1.2.1..7b_gnu/bin/mpicc' |
10 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -D_BYTESWAPIO -DWORDLENGTH=4' |
11 |
INCLUDEDIRS='-I/usr/local/mpich/mpich-1.2.1..7b_gnu/include/' |
12 |
CPP='/lib/cpp -traditional -P' |
13 |
LINK='/usr/local/mpich/mpich-1.2.1..7b_gnu/bin/mpif77' |
14 |
LIBS='-L/usr/local/mpich/mpich-1.2.1..7b_gnu/lib/ -lfmpich -lmpich' |
15 |
NOOPTFLAGS='-O0' |
16 |
|
17 |
|
18 |
if test "x$IEEE" = x ; then |
19 |
# No need for IEEE-754 |
20 |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
21 |
FOPTIM='-O3 -malign-double -funroll-loops' |
22 |
else |
23 |
# Try to follow IEEE-754 |
24 |
FFLAGS='-Wimplicit -Wunused -Wuninitialized -ffloat-store' |
25 |
FOPTIM='-O0 -malign-double' |
26 |
fi |
27 |
|
28 |
# netcdf |
29 |
# LIBS="-lnetcdf" |