X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/81e2987ceb9329c50f0ac8109504aa5c784071e2..e9f0018b823e34405847177b25a85d3facc30ae1:/src/smpi/smpi_base.c diff --git a/src/smpi/smpi_base.c b/src/smpi/smpi_base.c index bc93e0d8df..497f383505 100644 --- a/src/smpi/smpi_base.c +++ b/src/smpi/smpi_base.c @@ -1086,14 +1086,14 @@ int smpi_mpi_testsome(int incount, MPI_Request requests[], int *indices, void smpi_mpi_bcast(void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm) { - // arity=2: a binary tree, arity=4 seem to be a good setting (see P2P-MPI)) - nary_tree_bcast(buf, count, datatype, root, comm, 4); + // use openMPI selector as default one, as naive one was removed + smpi_coll_tuned_bcast_ompi(buf, count, datatype, root, comm); } void smpi_mpi_barrier(MPI_Comm comm) { - // arity=2: a binary tree, arity=4 seem to be a good setting (see P2P-MPI)) - nary_tree_barrier(comm, 4); + // use openMPI selector as default one, as naive one was removed + smpi_coll_tuned_barrier_ompi(comm); } void smpi_mpi_gather(void *sendbuf, int sendcount, MPI_Datatype sendtype,