A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Concatenate nested namespaces (sonar).
[simgrid.git]
/
src
/
smpi
/
colls
/
allgatherv
/
allgatherv-ompi-neighborexchange.cpp
diff --git
a/src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp
b/src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp
index
bf7b051
..
56e3a1f
100644
(file)
--- a/
src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp
+++ b/
src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-202
0
. The SimGrid Team.
+/* Copyright (c) 2013-202
2
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-65,8
+65,7
@@
#include "../colls_private.hpp"
#include "../colls_private.hpp"
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
int
allgatherv__ompi_neighborexchange(const void *sbuf, int scount,
int
allgatherv__ompi_neighborexchange(const void *sbuf, int scount,
@@
-88,7
+87,7
@@
allgatherv__ompi_neighborexchange(const void *sbuf, int scount,
rank = comm->rank();
if (size % 2) {
rank = comm->rank();
if (size % 2) {
- XBT_
DEBUG("allgatherv__ompi_neighborexchange WARNING
: odd size %d, switching to ring algorithm",
+ XBT_
INFO("allgatherv__ompi_neighborexchange
: odd size %d, switching to ring algorithm",
size);
return allgatherv__ring(sbuf, scount, sdtype,
rbuf, rcounts,
size);
return allgatherv__ring(sbuf, scount, sdtype,
rbuf, rcounts,
@@
-213,10
+212,9
@@
allgatherv__ompi_neighborexchange(const void *sbuf, int scount,
return MPI_SUCCESS;
err_hndl:
return MPI_SUCCESS;
err_hndl:
- XBT_
DEBUG
( "%s:%4d\tError occurred %d, rank %2d",
+ XBT_
WARN
( "%s:%4d\tError occurred %d, rank %2d",
__FILE__, line, err, rank);
return err;
}
__FILE__, line, err, rank);
return err;
}
-}
-}
+} // namespace simgrid::smpi