X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a141412c1f2459ae5275d6b03e03c654fab69dbf..cfbe67c7c286e364fd628fd361dac67690bfe333:/src/smpi/colls/smpi_mvapich2_selector.c diff --git a/src/smpi/colls/smpi_mvapich2_selector.c b/src/smpi/colls/smpi_mvapich2_selector.c index 1ede76b2e1..c3a6022f6d 100644 --- a/src/smpi/colls/smpi_mvapich2_selector.c +++ b/src/smpi/colls/smpi_mvapich2_selector.c @@ -640,9 +640,9 @@ int smpi_coll_tuned_bcast_mvapich2(void *buffer, /* We are now done with the inter-node phase */ - if (MV2_Bcast_intra_node_function == &MPIR_Knomial_Bcast_intra_node_MV2) { + root = INTRA_NODE_ROOT; - } + if (!is_contig || !is_homogeneous) { mpi_errno = MV2_Bcast_intra_node_function(tmp_buf, nbytes,