]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/smpi/coll-allgatherv/coll-allgatherv.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add option "smpi/auto-shared-malloc-thresh"
[simgrid.git] / teshsuite / smpi / coll-allgatherv / coll-allgatherv.c
index 37018a40239c7f96d63c103461455a8aa00dc077..a7806692e69269fee2c07e5128c4cbe8a0df70de 100644 (file)
@@ -20,6 +20,7 @@ int main(int argc, char *argv[])
   MPI_Init(&argc, &argv);
   MPI_Comm_rank(MPI_COMM_WORLD, &rank);
   MPI_Comm_size(MPI_COMM_WORLD, &size);
+  MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN);
 
   int* recv_counts = (int *) xbt_malloc(size * sizeof(int));
   int* recv_disps = (int *) xbt_malloc(size * sizeof(int));