X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d53d00d608a60a6f05e77ea7b7cd5c4e544d7ab1..519c15dce45cd4b71ff97abe918e8aa1541ab391:/src/smpi/colls/gather-mvapich.cpp diff --git a/src/smpi/colls/gather-mvapich.cpp b/src/smpi/colls/gather-mvapich.cpp index d1447c17e5..2202b9efb2 100644 --- a/src/smpi/colls/gather-mvapich.cpp +++ b/src/smpi/colls/gather-mvapich.cpp @@ -36,7 +36,7 @@ */ #include "colls_private.h" - +#include "src/smpi/smpi_group.hpp" #define MPIR_Gather_MV2_Direct smpi_coll_tuned_gather_ompi_basic_linear #define MPIR_Gather_MV2_two_level_Direct smpi_coll_tuned_gather_ompi_basic_linear @@ -265,8 +265,8 @@ int smpi_coll_tuned_gather_mvapich2_two_level(void *sendbuf, } leader_comm = smpi_comm_get_leaders_comm(comm); int* leaders_map = smpi_comm_get_leaders_map(comm); - leader_of_root = smpi_group_rank(smpi_comm_group(comm),leaders_map[root]); - leader_root = smpi_group_rank(smpi_comm_group(leader_comm),leaders_map[root]); + leader_of_root = smpi_comm_group(comm)->rank(leaders_map[root]); + leader_root = smpi_comm_group(leader_comm)->rank(leaders_map[root]); /* leader_root is the rank of the leader of the root in leader_comm. * leader_root is to be used as the root of the inter-leader gather ops */