# -mvhome is needed for the ANL SP, and is ignored by others
args=
device=
-#top_srcdir=/home/degomme/Downloads/mpich-test
-#srcdir=/home/degomme/Downloads/mpich-test/coll
MPICH_VERSION=
STOPFILE=${MPITEST_STOPTEST:-"$HOME/.stopmpichtests"}
runtests=1
makeeach=0
writesummaryfile=no
+have_fortran=0
quiet=0
MAKE="make --no-print-directory"
for arg in "$@" ; do
-srcdir=* )
srcdir=`echo $arg | sed 's/-srcdir=//'`
;;
+ -fort=* )
+ have_fortran=`echo $arg | sed 's/-fort=//'`
+ ;;
-checkonly )
runtests=0
;;
RunTest coll12 4
# coll13 is very picky about arguments
-RunTest coll13 4
+RunTest coll13 14
RunTest longuser 4
RunTest grouptest 4
#uses MPI_Dims_create, MPI_Cart_create ... removed
-#RunTest allred 4 "*** Allred ***"
+RunTest allred 4 "*** Allred ***"
RunTest allred2 4 "*** Allred2 ***"
#uses MPI_Dims_create, MPI_Cart_create ... removed
RunTest scattern 4 "*** Scattern ***"
#fails, more debug needed to understand
-#RunTest redscat 4 "*** Reduce_scatter ***"
+RunTest redscat 4 "*** Reduce_scatter ***"
RunTest alltoallv_mpich 4 "*** Alltoallv ***"
-
+echo "runtests: fortran ($have_fortran)"
#
# Run Fortran tests ONLY if Fortran available
-if [ 0 = 1 ] ; then
+if [ $have_fortran -eq "1" ] ; then
echo "FORTRAN TESTS"
RunTest allredf 4 "*** Testing allreduce from Fortran ***"
RunTest assocf 4 "*** Testing allreduce from Fortran (2) ***"
RunTest bcastlog 4 "*** Testing logical datatype in BCAST ***"
+ #buggy test, not available in original test, removed
+ #RunTest allgatherf 2 "*** Testing allgather from Fortran ***"
echo "END OF FORTRAN TESTS"
fi