1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifc,v 1.4 2004/09/21 19:51:10 edhill Exp $ |
4 |
# $Name: $ |
5 |
# |
6 |
|
7 |
FC=ifc |
8 |
CC=gcc |
9 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
10 |
CPP='cpp -traditional -P' |
11 |
LIBS='-lPEPCF90' |
12 |
NOOPTFLAGS='-O0' |
13 |
|
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 |
FOPTIM='-O3 -align' |
18 |
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
19 |
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
20 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
21 |
else |
22 |
# FOPTIM='-O0 -noalign' |
23 |
FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS' |
24 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
25 |
fi |
26 |
|
27 |
NOOPTFILES='mdsio_byteswapr8.F mdsio_byteswapr4.F' |
28 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F' |
29 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F' |