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
Unlike errors on communicators and windows, the default behavior for files is to...
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-loosely-lr.cpp
diff --git
a/src/smpi/colls/allgather/allgather-loosely-lr.cpp
b/src/smpi/colls/allgather/allgather-loosely-lr.cpp
index
1994579
..
5596db8
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-loosely-lr.cpp
+++ b/
src/smpi/colls/allgather/allgather-loosely-lr.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-201
7
. The SimGrid Team.
+/* Copyright (c) 2013-201
9
. 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
@@
-10,7
+10,7
@@
namespace simgrid{
namespace smpi{
namespace smpi{
-int Coll_allgather_loosely_lr::allgather(void *sbuf, int scount,
+int Coll_allgather_loosely_lr::allgather(
const
void *sbuf, int scount,
MPI_Datatype stype, void *rbuf,
int rcount, MPI_Datatype rtype,
MPI_Comm comm)
MPI_Datatype stype, void *rbuf,
int rcount, MPI_Datatype rtype,
MPI_Comm comm)
@@
-32,7
+32,9
@@
if(comm->get_leaders_comm()==MPI_COMM_NULL){
}
if(comm_size%num_core)
}
if(comm_size%num_core)
- THROWF(arg_error,0, "allgather loosely lr algorithm can't be used with non multiple of NUM_CORE=%d number of processes ! ",num_core);
+ throw std::invalid_argument(xbt::string_printf(
+ "allgather loosely lr algorithm can't be used with non multiple of NUM_CORE=%d number of processes!",
+ num_core));
rank = comm->rank();
MPI_Aint rextent, sextent;
rank = comm->rank();
MPI_Aint rextent, sextent;