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
Fix a doc error about actors (Tutorial_algorithms)
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-2dmesh.cpp
diff --git
a/src/smpi/colls/allgather/allgather-2dmesh.cpp
b/src/smpi/colls/allgather/allgather-2dmesh.cpp
index
cb7ed51
..
b6b06fc
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-2dmesh.cpp
+++ b/
src/smpi/colls/allgather/allgather-2dmesh.cpp
@@
-130,7
+130,7
@@
Coll_allgather_2dmesh::allgather(const void *send_buff, int send_count, MPI_Data
block_size = extent * send_count;
if (not is_2dmesh(num_procs, &X, &Y))
block_size = extent * send_count;
if (not is_2dmesh(num_procs, &X, &Y))
-
THROWF(arg_error,0, "allgather_2dmesh algorithm can't be used with this number of processes!
");
+
throw std::invalid_argument("allgather_2dmesh algorithm can't be used with this number of processes!
");
my_row_base = (rank / Y) * Y;
my_col_base = rank % Y;
my_row_base = (rank / Y) * Y;
my_col_base = rank % Y;