1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/u3/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc+mpi_cg01,v 1.1 2003/09/29 16:15:24 edhill Exp $ |
4 |
# |
5 |
|
6 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -D_BYTESWAPIO -DWORDLENGTH=4' |
7 |
CPP='/lib/cpp -traditional -P' |
8 |
|
9 |
# Note that the -mp switch is for ieee "maintain precision" and is |
10 |
# roughly equivalent to -ieee |
11 |
if test "x$IEEE" = x ; then |
12 |
FOPTIM='-O3 -align' |
13 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
14 |
else |
15 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
16 |
fi |
17 |
|
18 |
LIBS='-lPEPCF90' |
19 |
NOOPTFLAGS='-O0' |
20 |
FC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/bin/mpif77' |
21 |
LINK='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/bin/mpif77' |
22 |
INCLUDEDIRS='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/include' |