X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a8b5faafecff77b1540810d84fc0b387f85952a5..cc63d7b267be4c20633a0be7db63b3d88030bee6:/examples/smpi/mc/bugged1_liveness.c diff --git a/examples/smpi/mc/bugged1_liveness.c b/examples/smpi/mc/bugged1_liveness.c index 7305370368..68a5ef4671 100644 --- a/examples/smpi/mc/bugged1_liveness.c +++ b/examples/smpi/mc/bugged1_liveness.c @@ -53,9 +53,9 @@ int main(int argc, char **argv){ MC_ignore(&(status.count), sizeof(status.count)); /* Get number of processes */ - err = MPI_Comm_size(MPI_COMM_WORLD, &size); + MPI_Comm_size(MPI_COMM_WORLD, &size); /* Get id of this process */ - err = MPI_Comm_rank(MPI_COMM_WORLD, &rank); + MPI_Comm_rank(MPI_COMM_WORLD, &rank); if(rank == 0){ /* Coordinator */ while(1){