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