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

Public GIT Repository
Missing includes.
[simgrid.git] / src / smpi / colls / reduce / reduce-NTSL.cpp
index a40b751c79a763b5afc94f3ae1bbe2c2194fb60d..4986636f51c58b02cbcfd74201ba66e20503de1a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team.
+/* Copyright (c) 2013-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -130,9 +130,8 @@ int reduce__NTSL(const void *buf, void *rbuf, int count,
     delete[] recv_status_array;
   }                             /* end pipeline */
 
-  /* when count is not divisible by block size, use default BCAST for the remainder */
   if ((remainder != 0) && (count > segment)) {
-    XBT_WARN("MPI_reduce_NTSL use default MPI_reduce.");
+    XBT_INFO("MPI_reduce_NTSL: count is not divisible by block size, use default MPI_reduce for remainder.");
     reduce__default((char *)buf + (pipe_length * increment),
                     (char *)rbuf + (pipe_length * increment), remainder, datatype, op, root,
                     comm);