X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdf55373a57bf69a2952f6cf5e2cc562f34918c9..ea36b2b910912e1dde261d40a7b811a207ddeae1:/src/smpi/smpi_comm.c diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index cd6d8ba21e..2b23e7c7e6 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -277,7 +277,6 @@ void smpi_comm_init_smp(MPI_Comm comm){ int comm_size =smpi_comm_size(comm); if(smpi_privatize_global_variables){ //we need to switch here, as the called function may silently touch global variables - XBT_VERB("Applying operation, switch to the right data frame "); switch_data_segment(smpi_process_index()); } //identify neighbours in comm @@ -404,7 +403,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ } comm->is_uniform=is_uniform; } - mpi_coll_bcast_fun(&(comm->is_uniform),1, MPI_INT, 0, comm_intra ); + smpi_coll_tuned_bcast_mpich(&(comm->is_uniform),1, MPI_INT, 0, comm_intra ); // Are the ranks blocked ? = allocated contiguously on the SMP nodes @@ -420,7 +419,7 @@ void smpi_comm_init_smp(MPI_Comm comm){ } int global_blocked; - mpi_coll_allreduce_fun(&is_blocked, &(global_blocked), 1, + smpi_mpi_allreduce(&is_blocked, &(global_blocked), 1, MPI_INT, MPI_LAND, comm); if(comm==MPI_COMM_WORLD){