X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de7a0e75901e65323b77e9cf9b7f67e8c2b8b55..73e97710413bba3ee2ae8baab0537fbd78811016:/teshsuite/smpi/macro-shared/macro-shared.c diff --git a/teshsuite/smpi/macro-shared/macro-shared.c b/teshsuite/smpi/macro-shared/macro-shared.c index 3d66e9031d..ddcd2d6142 100644 --- a/teshsuite/smpi/macro-shared/macro-shared.c +++ b/teshsuite/smpi/macro-shared/macro-shared.c @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) MPI_Send(buf, 1, MPI_AINT, 1, 100, MPI_COMM_WORLD); else if (rank ==1) MPI_Recv(buf, 1, MPI_AINT, 0, 100, MPI_COMM_WORLD, MPI_STATUS_IGNORE); - + //same thing with an MPI_IN_PLACE collective (no) if (rank == 0) MPI_Scatter(buf, 1, MPI_AINT, MPI_IN_PLACE, -1, MPI_DATATYPE_NULL, 0, MPI_COMM_WORLD);