Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
modify .std files to comply, as fortran ones were outputing weird things
authorAugustin Degomme <degomme@idpann.imag.fr>
Fri, 26 Oct 2012 15:47:29 +0000 (17:47 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Fri, 26 Oct 2012 15:47:50 +0000 (17:47 +0200)
18 files changed:
teshsuite/smpi/mpich-test/CMakeLists.txt
teshsuite/smpi/mpich-test/coll/allred.std [new file with mode: 0644]
teshsuite/smpi/mpich-test/coll/allredf.std
teshsuite/smpi/mpich-test/profile/runtests
teshsuite/smpi/mpich-test/pt2pt/nblock.std
teshsuite/smpi/mpich-test/pt2pt/nullproc.std
teshsuite/smpi/mpich-test/pt2pt/nullproc2.std
teshsuite/smpi/mpich-test/pt2pt/persist.c
teshsuite/smpi/mpich-test/pt2pt/persistent.std
teshsuite/smpi/mpich-test/pt2pt/self.std
teshsuite/smpi/mpich-test/pt2pt/sendmany.std
teshsuite/smpi/mpich-test/pt2pt/sndrcvrep.std
teshsuite/smpi/mpich-test/pt2pt/typebase.std
teshsuite/smpi/mpich-test/pt2pt/typecreate.std
teshsuite/smpi/mpich-test/pt2pt/typeub.c
teshsuite/smpi/mpich-test/pt2pt/waitall.std
teshsuite/smpi/mpich-test/pt2pt/waitany.std
teshsuite/smpi/mpich-test/runbase

index a58e2bc..783a2b1 100644 (file)
@@ -50,6 +50,7 @@ set(stdo_std_smpi
   ${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
 )
diff --git a/teshsuite/smpi/mpich-test/coll/allred.std b/teshsuite/smpi/mpich-test/coll/allred.std
new file mode 100644 (file)
index 0000000..06d9e12
--- /dev/null
@@ -0,0 +1,13 @@
+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
index 13480c6..36bd81c 100644 (file)
@@ -10,4 +10,3 @@
  MPI_BXOR
  MPI_MAXLOC
  MPI_MINLOC
-*** Testing allreduce from Fortran ***
index 21dbc8a..57e8f59 100755 (executable)
@@ -10,7 +10,7 @@ top_srcdir=/home/degomme/Downloads/mpich-test
 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=""
 #
@@ -19,20 +19,30 @@ 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
        ;;
@@ -75,7 +85,7 @@ for arg in "$@" ; do
        ;;
     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
index 2301776..7af1fd7 100644 (file)
@@ -1,4 +1,3 @@
-*** 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
@@ -7,4 +6,3 @@ All processes completed for count = 1024 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) ***
index 02779e2..a9124d5 100644 (file)
@@ -1,3 +1 @@
-*** Testing handling of MPI_PROC_NULL ***
 No errors in handling MPI_PROC_NULL
-*** Testing handling of MPI_PROC_NULL ***
index 81711ef..a9124d5 100644 (file)
@@ -1,3 +1 @@
-*** 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 ***
index 7ed605e..7e17762 100644 (file)
@@ -48,7 +48,7 @@ int main( int argc, char **argv )
        MPI_Request_free( &r[i] );
        }
 
-    if (rank == 0) printf( "No errors\n" );
+    if (rank == 0) printf( " No Errors\n" );
     MPI_Finalize();
     return 0;
 }
index 9ef9470..5a25fc0 100644 (file)
@@ -1,4 +1,3 @@
-*** Testing MPI_Recv_init ***
 Receiving message 1
 Received message 1
 Receiving message 2
@@ -6,4 +5,3 @@ Received message 2
 Receiving message 3
 Received message 3
 Completed all receives
-*** Testing MPI_Recv_init ***
index eff05ec..2abdf2f 100644 (file)
@@ -1,4 +1,3 @@
-*** Testing send to self ***
 [0] Starting waitall
 [0] Ending waitall
 [0] Starting waitall (16)
@@ -29,4 +28,3 @@
 [0] Ending waitall
 [0] Starting waitall (131072)
 [0] Ending waitall
-*** Testing send to self ***
index 6182b3c..87eabe0 100644 (file)
@@ -1,4 +1,3 @@
-*** 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
@@ -14,4 +13,3 @@ length = 1024 ints
 length = 2048 ints
 length = 4096 ints
 length = 8192 ints
-*** Testing Send (many procs) ***
index 7250251..b001334 100644 (file)
@@ -1,3 +1 @@
-**** Testing MPI_Sendrecv_replace ****
 Completed test of MPI_Sendrecv_replace
-**** Testing MPI_Sendrecv_replace ****
index 4c24a58..409e123 100644 (file)
@@ -1,3 +1 @@
-**** Checking the type (sizes) routines ****
 Found no errors in basic C types
-**** Checking the type (sizes) routines ****
index 4ed4e67..2e09a88 100644 (file)
@@ -1,3 +1 @@
-**** Checking the type creation routines ****
 Completed test of 2048 type creations
-**** Checking the type creation routines ****
index 4d17ffb..56b7660 100644 (file)
@@ -78,7 +78,7 @@ int main( int argc, char **argv )
    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 );
    }
 
index 73e2710..f75da10 100644 (file)
@@ -1,3 +1 @@
-*** Testing MPI_Waitall ***
 Test complete
-*** Testing MPI_Waitall ***
index db3ac72..d8092c1 100644 (file)
@@ -1,4 +1,2 @@
-*** Testing MPI_Waitany ***
 done.  eventId = 1
 Test complete
-*** Testing MPI_Waitany ***
index 543d534..ae91ba4 100644 (file)
@@ -191,7 +191,7 @@ RunTest() {
     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 ; 
@@ -209,13 +209,11 @@ RunTest() {
                 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