7 |
CPP='/lib/cpp -traditional -P' |
CPP='/lib/cpp -traditional -P' |
8 |
FC=ifort |
FC=ifort |
9 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
10 |
|
EXTENDED_SRC_FLAG='-132' |
11 |
|
|
12 |
LIBS='-L/opt/sgi/mpt/1.16.0.0/lib -lmpi -L/opt/pd/netcdf/3.6.0-p1/lib -lnetcdf' |
LIBS='-L/opt/sgi/mpt/1.16.0.0/lib -lmpi -L/opt/pd/netcdf/3.6.0-p1/lib -lnetcdf' |
13 |
INCLUDES='-I/opt/sgi/mpt/1.16.0.0/include -I/opt/pd/netcdf/3.6.0-p1/include' |
INCLUDES='-I/opt/sgi/mpt/1.16.0.0/include -I/opt/pd/netcdf/3.6.0-p1/include' |
20 |
|
|
21 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
22 |
# No need for IEEE-754 |
# No need for IEEE-754 |
23 |
FFLAGS='-fp-model precise -132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
FFLAGS="$FFLAGS -fp-model precise -w95 -W0 -WB -convert big_endian -assume byterecl" |
24 |
# FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
# FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian -assume byterecl" |
25 |
FOPTIM='-O3 -align' |
FOPTIM='-O3 -align' |
26 |
NOOPTFLAGS='-O1' |
NOOPTFLAGS='-O1' |
27 |
NOOPTFILES='fizhi_lsm.F fizhi_clockstuff.F' |
NOOPTFILES='fizhi_lsm.F fizhi_clockstuff.F' |
28 |
else |
else |
29 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
30 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl" |
31 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign' |
32 |
fi |
fi |
33 |
|
|