]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/allgather-GB.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First works on the datatypes. Still missing a lot.
[simgrid.git] / src / smpi / colls / allgather-GB.cpp
index b1bcc881d2f9f37ece6ed98e4a581f7fe9c6844f..054947a26a34d4630f8dac2aac600629bf5daec6 100644 (file)
@@ -13,7 +13,7 @@ int smpi_coll_tuned_allgather_GB(void *send_buff, int send_count,
                                  MPI_Comm comm)
 {
   int num_procs;
-  num_procs = smpi_comm_size(comm);
+  num_procs = comm->size();
   mpi_coll_gather_fun(send_buff, send_count, send_type, recv_buff, recv_count, recv_type,
              0, comm);
   mpi_coll_bcast_fun(recv_buff, (recv_count * num_procs), recv_type, 0, comm);