9 |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
10 |
|
|
11 |
|
|
12 |
CPP='/lib/cpp -traditional -P' |
FC=ifort |
13 |
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1' |
14 |
|
LINK='ifort -static' |
15 |
|
CPP='cpp -traditional -P' |
16 |
|
|
17 |
# Note that the -mp switch is for ieee "maintain precision" and is |
# Note that the -mp switch is for ieee "maintain precision" and is |
18 |
# roughly equivalent to -ieee |
# roughly equivalent to -ieee |
19 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
20 |
|
FOPTIM='-O3 -align' |
21 |
|
#P3 FOPTIM=$FOPTIM' -tpp6 -xWKM' |
22 |
|
#P4 FOPTIM=$FOPTIM' -tpp7 -xWKM' |
23 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB' |
24 |
else |
else |
25 |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB' |
26 |
fi |
fi |
27 |
|
|
|
FOPTIM='-O3 -align' |
|
|
#P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' ) |
|
|
#P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' ) |
|
|
|
|
|
FC=ifort |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=1' |
|
|
LINK='ifort -static' |
|
28 |
LIBS='-lnetcdf' |
LIBS='-lnetcdf' |
29 |
|
|
30 |
|
|