Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce size of some tests, to save some time
authordegomme <augustin.degomme@unibas.ch>
Sun, 12 Feb 2017 13:11:36 +0000 (14:11 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sun, 12 Feb 2017 13:11:48 +0000 (14:11 +0100)
teshsuite/smpi/mpich3-test/coll/allredmany.c
teshsuite/smpi/mpich3-test/coll/bcast.c
teshsuite/smpi/mpich3-test/include/mpitest.h
teshsuite/smpi/mpich3-test/perf/dtpack.c
teshsuite/smpi/mpich3-test/rma/testlist

index 49aa6f9..fcad9a9 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc, char **argv)
     MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
     MPI_Comm_rank(MPI_COMM_WORLD, &myid);
 
     MPI_Comm_size(MPI_COMM_WORLD, &numprocs);
     MPI_Comm_rank(MPI_COMM_WORLD, &myid);
 
-    for (i = 0; i < 10000; i++) {
+    for (i = 0; i < 1000; i++) {
         MPI_Allreduce(&wscale, &scale, 1, MPI_DOUBLE, MPI_SUM, MPI_COMM_WORLD);
     }
 
         MPI_Allreduce(&wscale, &scale, 1, MPI_DOUBLE, MPI_SUM, MPI_COMM_WORLD);
     }
 
index f465d01..9ca5128 100644 (file)
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
 #endif /* BCAST_MIN_DATATYPES_ONLY */
 
             while (MTestGetDatatypes(&sendtype, &recvtype, count)) {
 #endif /* BCAST_MIN_DATATYPES_ONLY */
 
             while (MTestGetDatatypes(&sendtype, &recvtype, count)) {
-                for (root = 0; root < size; root++) {
+                for (root = 0; root < size; root+=2) {
                     if (rank == root) {
                         sendtype.InitBuf(&sendtype);
                         err = MPI_Bcast(sendtype.buf, sendtype.count,
                     if (rank == root) {
                         sendtype.InitBuf(&sendtype);
                         err = MPI_Bcast(sendtype.buf, sendtype.count,
index 0932996..a56c4db 100644 (file)
@@ -62,7 +62,7 @@ typedef struct _MTestDatatype {
  *  reach the long message algorithms. (The maximal count or block length
  *  can be generated by 256K count is 4K or 32Kbytes respectively) */
 #define MTEST_DATATYPE_FOR_EACH_COUNT(count) \
  *  reach the long message algorithms. (The maximal count or block length
  *  can be generated by 256K count is 4K or 32Kbytes respectively) */
 #define MTEST_DATATYPE_FOR_EACH_COUNT(count) \
-        for (count = 1; count <= 262144; count *= 8)
+        for (count = 1; count <= 262144; count *= 64)
 
 /* Setup the full version of datatype tests.
  * It generate tests for all basic datatypes and all derived datatypes except darray. */
 
 /* Setup the full version of datatype tests.
  * It generate tests for all basic datatypes and all derived datatypes except darray. */
index 8b2e053..f3ccafc 100644 (file)
@@ -25,7 +25,7 @@
 
 static int verbose = 0;
 
 
 static int verbose = 0;
 
-#define N_REPS 1000
+#define N_REPS 50
 #define THRESHOLD 0.10
 #define VARIANCE_THRESHOLD ((THRESHOLD * THRESHOLD) / 2)
 #define NTRIALS 10
 #define THRESHOLD 0.10
 #define VARIANCE_THRESHOLD ((THRESHOLD * THRESHOLD) / 2)
 #define NTRIALS 10
index 0e759f4..f52c263 100644 (file)
@@ -74,7 +74,7 @@ nullpscw 7
 #Needs lock, unlock
 #selfrma 1
 #mixedsync 4
 #Needs lock, unlock
 #selfrma 1
 #mixedsync 4
-epochtest 4
+epochtest 3
 #Needs lock, unlock
 #locknull 2
 #Needs MPI_Rput, rget, racumulate,  MPI_Fetch_and_op, MPI_Compare_and_swap
 #Needs lock, unlock
 #locknull 2
 #Needs MPI_Rput, rget, racumulate,  MPI_Fetch_and_op, MPI_Compare_and_swap