1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
jmc |
1.7 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc,v 1.6 2004/10/26 19:14:51 edhill Exp $ |
4 |
edhill |
1.3 |
# $Name: $ |
5 |
edhill |
1.1 |
# |
6 |
|
|
|
7 |
edhill |
1.3 |
FC=ifc |
8 |
|
|
CC=gcc |
9 |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
10 |
|
|
CPP='cpp -traditional -P' |
11 |
edhill |
1.6 |
INCLUDES='-I/usr/include/netcdf' |
12 |
jmc |
1.5 |
LIBS='-lPEPCF90' |
13 |
|
|
NOOPTFLAGS='-O0' |
14 |
jmc |
1.7 |
NOOPTFILES='mdsio_byteswapr8.F mdsio_byteswapr4.F' |
15 |
edhill |
1.1 |
|
16 |
|
|
# Note that the -mp switch is for ieee "maintain precision" and is |
17 |
|
|
# roughly equivalent to -ieee |
18 |
|
|
if test "x$IEEE" = x ; then |
19 |
jmc |
1.5 |
FOPTIM='-O3 -align' |
20 |
edhill |
1.3 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
21 |
|
|
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
22 |
jmc |
1.5 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
23 |
edhill |
1.1 |
else |
24 |
edhill |
1.3 |
# FOPTIM='-O0 -noalign' |
25 |
|
|
FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
26 |
jmc |
1.7 |
# FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
27 |
|
|
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW' |
28 |
|
|
NOOPTFILES=$NOOPTFILES' fizhi_turb.F' |
29 |
edhill |
1.1 |
fi |
30 |
|
|
|
31 |
jmc |
1.5 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F' |
32 |
|
|
NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F' |
33 |
edhill |
1.1 |
|