${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/env/env.std
${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/profile/ptest.std
${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/coll/allredmany.std
+ ${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/coll/allred.std
${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/coll/allredf.std
${CMAKE_CURRENT_SOURCE_DIR}/mpich-test/coll/scatterv.std
)
--- /dev/null
+Testing MPI_SUM...
+Testing MPI_PROD...
+Testing MPI_MAX...
+Testing MPI_MIN...
+Testing MPI_LOR...
+Testing MPI_LXOR...
+Testing MPI_LAND...
+Testing MPI_BOR...
+Testing MPI_BAND...
+Testing MPI_BXOR...
+Testing MPI_MAXLOC...
+Testing MPI_MINLOC...
+ No Errors
MPI_BXOR
MPI_MAXLOC
MPI_MINLOC
-*** Testing allreduce from Fortran ***
srcdir=/home/degomme/Downloads/mpich-test/profile
MPICH_VERSION=
STOPFILE=${MPITEST_STOPTEST:-"$HOME/.stopmpichtests"}
-mpirun="smpirun -hostfile /home/degomme/Documents/hostfile_griffon -platform /home/degomme/Documents/griffon.xml --log=root.thres:critical"
+
MAKE="make --no-print-directory"
MPIRUNMVBACK=""
#
#
# Set mpirun to the name/path of the mpirun program
#FindMPIRUN
-if [ -z "$mpirun" ] ; then
- echo "No mpirun in path. Testing cannot proceed."
- exit 1
-fi
+#if [ -z "$mpirun" ] ; then
+# echo "No mpirun in path. Testing cannot proceed."
+# exit 1
+#fi
#
# If the programs are not available, run make.
runtests=1
makeeach=0
writesummaryfile=no
quiet=0
+have_fortran=0
check_at_once=1
MAKE="make --no-print-directory"
for arg in "$@" ; do
case $arg in
+ -basedir=* )
+ basedir=`echo $arg | sed 's/-basedir=//'`
+ ;;
+ -srcdir=* )
+ srcdir=`echo $arg | sed 's/-srcdir=//'`
+ ;;
+ -fort=* )
+ have_fortran=`echo $arg | sed 's/-fort=//'`
+ ;;
-checkonly)
runtests=0
;;
;;
esac
done
-
+mpirun=" ${basedir}/bin/smpirun -platform ${srcdir}/../../../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile --log=root.thres:critical"
# If the programs are not available, run make.
if [ ! -x sendrecv -a $makeeach = 0 -a $runtests = 1 ] ; then
$MAKE default
-*** Testing Isend/Irecv (large numbers) ***
All processes completed for count = 64 ints of data
All processes completed for count = 128 ints of data
All processes completed for count = 256 ints of data
All processes completed for count = 2048 ints of data
All processes completed for count = 4096 ints of data
All processes completed for count = 8192 ints of data
-*** Testing Isend/Irecv (large numbers) ***
-*** Testing handling of MPI_PROC_NULL ***
No errors in handling MPI_PROC_NULL
-*** Testing handling of MPI_PROC_NULL ***
-*** Testing handling of MPI_PROC_NULL in blocking Recv ***
No errors in handling MPI_PROC_NULL
-*** Testing handling of MPI_PROC_NULL in blocking Recv ***
MPI_Request_free( &r[i] );
}
- if (rank == 0) printf( "No errors\n" );
+ if (rank == 0) printf( " No Errors\n" );
MPI_Finalize();
return 0;
}
-*** Testing MPI_Recv_init ***
Receiving message 1
Received message 1
Receiving message 2
Receiving message 3
Received message 3
Completed all receives
-*** Testing MPI_Recv_init ***
-*** Testing send to self ***
[0] Starting waitall
[0] Ending waitall
[0] Starting waitall (16)
[0] Ending waitall
[0] Starting waitall (131072)
[0] Ending waitall
-*** Testing send to self ***
-*** Testing Send (many procs) ***
You requested to use 8 processes, but there is only 5 processes in your hostfile...
length = 1 ints
length = 2 ints
length = 2048 ints
length = 4096 ints
length = 8192 ints
-*** Testing Send (many procs) ***
-**** Testing MPI_Sendrecv_replace ****
Completed test of MPI_Sendrecv_replace
-**** Testing MPI_Sendrecv_replace ****
-**** Checking the type (sizes) routines ****
Found no errors in basic C types
-**** Checking the type (sizes) routines ****
-**** Checking the type creation routines ****
Completed test of 2048 type creations
-**** Checking the type creation routines ****
MPI_Allreduce( &errs, &toterrs, 1, MPI_INT, MPI_SUM, MPI_COMM_WORLD );
MPI_Comm_rank( MPI_COMM_WORLD, &rank );
if (rank == 0) {
- if (toterrs == 0) printf( "No errors\n" );
+ if (toterrs == 0) printf( " No Errors\n" );
else printf( "Found %d errors\n", toterrs );
}
-*** Testing MPI_Waitall ***
Test complete
-*** Testing MPI_Waitall ***
-*** Testing MPI_Waitany ***
done. eventId = 1
Test complete
-*** Testing MPI_Waitany ***
else
mname=$3
if [ -z "$mname" ] ; then mname="*** $1 ***" ; fi
- echo "$mname" >> $pgm.out
+ #echo "$mname" >> $pgm.out
echo "$mname"
mvarg=""
if [ -n "$5" ] ; then rm -f $5 ;
fi
done
fi
- echo "$mname" >> $pgm.out
+ #echo "$mname" >> $pgm.out
if [ ! -s $srcdir/$pgm.std -a ! -s $pgm.stdo ] ; then
# We don't need a special file if the output is just "No Errors"
cat >>$pgm.stdo <<EOF
-$mname
No Errors
-$mname
EOF
fi
if [ "$CheckOutputWhileRunning" = "yes" -o "$check_at_once" = 1 ] ; then