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
validate that MPI_Op can be applied at entrance of MPI call, instead of xbt_dying...
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_op.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_op.cpp
b/src/smpi/bindings/smpi_pmpi_op.cpp
index
e90a6ba
..
a6200c1
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_op.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_op.cpp
@@
-30,7
+30,7
@@
int PMPI_Op_free(MPI_Op * op)
}
int PMPI_Op_commutative(MPI_Op op, int* commute){
- CHECK_
OP(1
)
+ CHECK_
MPI_NULL(1, MPI_OP_NULL, MPI_ERR_OP, op
)
CHECK_NULL(1, MPI_ERR_ARG, commute)
*commute = op->is_commutative();
return MPI_SUCCESS;