Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
activate bsend tests.
authorAugustin Degomme <adegomme@gmail.com>
Tue, 24 Sep 2019 14:18:25 +0000 (16:18 +0200)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 24 Sep 2019 14:18:50 +0000 (16:18 +0200)
Modify one to stop spending too much time sleeping as we test with bogus platforms.

teshsuite/smpi/mpich3-test/pt2pt/bsendpending.c
teshsuite/smpi/mpich3-test/pt2pt/testlist

index 77d7c16..675b0d0 100644 (file)
@@ -100,9 +100,9 @@ int main(int argc, char *argv[])
                          NULL, 0, MPI_UNSIGNED_CHAR, source, 10, comm, MPI_STATUS_IGNORE);
 
             /* Wait 2 seconds */
-            tstart = MPI_Wtime();
-            while (MPI_Wtime() - tstart < 2.0);
-
+/*            tstart = MPI_Wtime();*/
+/*            while (MPI_Wtime() - tstart < 2.0);*/
+            sleep(2);
             /* Now receive the messages */
             MPI_Recv(msg1, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status1);
             MPI_Recv(msg2, msgsize, MPI_UNSIGNED_CHAR, source, 0, comm, &status2);
index 0e47cb1..626d088 100644 (file)
@@ -8,24 +8,22 @@ anyall 2
 eagerdt 2
 pingping 2
 bottom 2
-#needs MPI_Bsend
-#bsend1 1
-#bsend2 1
-#bsend3 1
-#bsend4 1
+bsend1 1
+bsend2 1
+bsend3 1
+bsend4 1
+#needs MPI_Intercomm_create
 #bsend5 4
-#bsendalign 2
-#bsendpending 2
+bsendalign 2
+bsendpending 2
 isendself 1
 #issendselfcancel 1
 isendirecv 10   
-#needs MPI_Buffer_attach, MPI_Bsend, MPI_Buffer_detach
-#bsendfrag 2
+bsendfrag 2
 #needs MPI_Intercomm_create
 #icsend 4
 rqstatus 2
-#needs MPI_Pack, MPI_Buffer_attach, MPI_Buffer_detach, MPI_Ibsend
-#rqfreeb 4
+rqfreeb 4
 #needs MPI_Grequest_start MPI_Grequest_complete
 greq1 1
 probe-unexp 4