12 |
FC='mpif90' |
FC='mpif90' |
13 |
CC='mpicc' |
CC='mpicc' |
14 |
LINK='mpif90' |
LINK='mpif90' |
|
CPP='/usr/bin/cpp -P -traditional' |
|
15 |
|
|
16 |
MPI='true' |
MPI='true' |
17 |
|
|
18 |
DEFINES='-DWORDLENGTH=4' |
DEFINES='-DWORDLENGTH=4' |
19 |
INCLUDES='-I/sopt/mpi/mpich/pgi/include -I/sopt/netcdf/netcdf3-gcc-serial/include' |
CPP='/usr/bin/cpp -P -traditional' |
20 |
LIBS='-L/sopt/mpi/mpich/pgi/lib -L/sopt/netcdf/netcdf3-gcc-serial/lib' |
EXTENDED_SRC_FLAG='-Mextend' |
21 |
|
|
22 |
|
INCLUDES='-I/sopt/mpi/mpich/pgi/include -I/sopt/netcdf/netcdf3-gcc-serial/include' |
23 |
|
LIBS='-L/sopt/mpi/mpich/pgi/lib -L/sopt/netcdf/netcdf3-gcc-serial/lib' |
24 |
|
|
25 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
26 |
# No need for IEEE-754 |
# No need for IEEE-754 |
27 |
FFLAGS='-byteswapio -Mnodclchk -Mextend' |
FFLAGS="$FFLAGS -byteswapio -Mnodclchk" |
28 |
FOPTIM='-O2 -Munroll' |
FOPTIM='-O2 -Munroll' |
29 |
else |
else |
30 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
31 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
FFLAGS="$FFLAGS -byteswapio -Mnodclchk" |
32 |
FOPTIM='-tp amd64 -O0 -Munroll -Kieee' |
FOPTIM='-tp amd64 -O0 -Munroll -Kieee' |
33 |
fi |
fi |
34 |
|
#- might want to use '-r8' for fizhi pkg: |
35 |
|
#FFLAGS="$FFLAGS -r8" |