1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.4 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc,v 1.3 2004/09/18 16:09:44 edhill Exp $ |
4 |
edhill |
1.3 |
# $Name: $ |
5 |
edhill |
1.1 |
# |
6 |
|
|
|
7 |
|
|
|
8 |
edhill |
1.3 |
FC=ifc |
9 |
|
|
CC=gcc |
10 |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
11 |
|
|
CPP='cpp -traditional -P' |
12 |
|
|
FOPTIM='-O3 -align' |
13 |
edhill |
1.1 |
|
14 |
|
|
# Note that the -mp switch is for ieee "maintain precision" and is |
15 |
|
|
# roughly equivalent to -ieee |
16 |
|
|
if test "x$IEEE" = x ; then |
17 |
|
|
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
18 |
edhill |
1.3 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
19 |
|
|
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
20 |
edhill |
1.1 |
else |
21 |
edhill |
1.3 |
# FOPTIM='-O0 -noalign' |
22 |
|
|
FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
23 |
edhill |
1.1 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
24 |
|
|
fi |
25 |
|
|
|
26 |
edhill |
1.4 |
LIBS='-lPEPCF90' |
27 |
edhill |
1.1 |
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|