1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.11 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc+mpi_cg01,v 1.10 2005/08/23 22:08:49 jmc Exp $ |
4 |
edhill |
1.5 |
# $Name: $ |
5 |
edhill |
1.1 |
# |
6 |
|
|
|
7 |
jmc |
1.4 |
FC='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/bin/mpif77' |
8 |
|
|
LINK='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/bin/mpif77' |
9 |
|
|
INCLUDEDIRS='/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/include' |
10 |
edhill |
1.11 |
INCLUDES='-I/usr/local/pkg/mpi/mpi-1.2.4..8a-gm-1.5/intel/include' |
11 |
edhill |
1.1 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -D_BYTESWAPIO -DWORDLENGTH=4' |
12 |
|
|
CPP='/lib/cpp -traditional -P' |
13 |
jmc |
1.10 |
LIBS='-lPEPCF90' |
14 |
|
|
|
15 |
jmc |
1.4 |
NOOPTFLAGS='-O0' |
16 |
jmc |
1.10 |
NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F' |
17 |
edhill |
1.1 |
|
18 |
|
|
# Note that the -mp switch is for ieee "maintain precision" and is |
19 |
|
|
# roughly equivalent to -ieee |
20 |
|
|
if test "x$IEEE" = x ; then |
21 |
|
|
FOPTIM='-O3 -align' |
22 |
edhill |
1.5 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
23 |
|
|
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
24 |
edhill |
1.1 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
25 |
|
|
else |
26 |
jmc |
1.4 |
FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
27 |
jmc |
1.9 |
# FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
28 |
|
|
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW' |
29 |
edhill |
1.1 |
fi |
30 |
|
|
|
31 |
edhill |
1.7 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F' |
32 |
jmc |
1.8 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F' |
33 |
edhill |
1.1 |
|