Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid going back to complex selector and switch to a simple algorithm here to avoid...
authorAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 23 Feb 2022 22:35:12 +0000 (23:35 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Wed, 23 Feb 2022 22:35:12 +0000 (23:35 +0100)
src/smpi/colls/allreduce/allreduce-lr.cpp

index 4bd4b6a..b6e277d 100644 (file)
@@ -38,7 +38,7 @@ int allreduce__lr(const void *sbuf, void *rbuf, int rcount,
 
   if (rcount < size) {
     XBT_INFO("MPI_allreduce_lr: communication size smaller than number of process, use default MPI_allreduce.");
-    allreduce__default(sbuf, rbuf, rcount, dtype, op, comm);
+    allreduce__redbcast(sbuf, rbuf, rcount, dtype, op, comm);
     return MPI_SUCCESS;
   }