Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add some new pt2pt tests from mpich
[simgrid.git] / src / smpi / colls / allgather / allgather-ompi-neighborexchange.cpp
index d3fc3590b4e36afde94af5f44adc615895f86176..2bdeb0f056861eb4928618752e943cc1d5ec0d9d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2021. The SimGrid Team.
+/* Copyright (c) 2013-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -64,8 +64,7 @@
 
 #include "../colls_private.hpp"
 
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 
 int
 allgather__ompi_neighborexchange(const void *sbuf, int scount,
@@ -87,8 +86,8 @@ allgather__ompi_neighborexchange(const void *sbuf, int scount,
    rank = comm->rank();
 
    if (size % 2) {
-      XBT_DEBUG(
-                   "coll:tuned:allgather_intra_neighborexchange WARNING: odd size %d, switching to ring algorithm",
+      XBT_INFO(
+                   "coll:tuned:allgather_intra_neighborexchange: odd size %d, switching to ring algorithm",
                    size);
       return allgather__ring(sbuf, scount, sdtype,
                              rbuf, rcount, rdtype,
@@ -183,6 +182,4 @@ allgather__ompi_neighborexchange(const void *sbuf, int scount,
    return err;
 }
 
-
-}
-}
+} // namespace simgrid::smpi