From: degomme Date: Sun, 12 Feb 2017 13:11:36 +0000 (+0100) Subject: reduce size of some tests, to save some time X-Git-Tag: v3_15~416 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b448ff580b2a86c3cfdc28566a9d8ed01bb11b74?ds=sidebyside reduce size of some tests, to save some time --- diff --git a/teshsuite/smpi/mpich3-test/coll/allredmany.c b/teshsuite/smpi/mpich3-test/coll/allredmany.c index 49aa6f9a35..fcad9a920f 100644 --- a/teshsuite/smpi/mpich3-test/coll/allredmany.c +++ b/teshsuite/smpi/mpich3-test/coll/allredmany.c @@ -20,7 +20,7 @@ int main(int argc, char **argv) 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); } diff --git a/teshsuite/smpi/mpich3-test/coll/bcast.c b/teshsuite/smpi/mpich3-test/coll/bcast.c index f465d01e57..9ca5128eed 100644 --- a/teshsuite/smpi/mpich3-test/coll/bcast.c +++ b/teshsuite/smpi/mpich3-test/coll/bcast.c @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) #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, diff --git a/teshsuite/smpi/mpich3-test/include/mpitest.h b/teshsuite/smpi/mpich3-test/include/mpitest.h index 093299646a..a56c4db6e8 100644 --- a/teshsuite/smpi/mpich3-test/include/mpitest.h +++ b/teshsuite/smpi/mpich3-test/include/mpitest.h @@ -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) \ - 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. */ diff --git a/teshsuite/smpi/mpich3-test/perf/dtpack.c b/teshsuite/smpi/mpich3-test/perf/dtpack.c index 8b2e05318e..f3ccafc23a 100644 --- a/teshsuite/smpi/mpich3-test/perf/dtpack.c +++ b/teshsuite/smpi/mpich3-test/perf/dtpack.c @@ -25,7 +25,7 @@ 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 diff --git a/teshsuite/smpi/mpich3-test/rma/testlist b/teshsuite/smpi/mpich3-test/rma/testlist index 0e759f4f7b..f52c263819 100644 --- a/teshsuite/smpi/mpich3-test/rma/testlist +++ b/teshsuite/smpi/mpich3-test/rma/testlist @@ -74,7 +74,7 @@ nullpscw 7 #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