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
Add MPI_Type_size_x call
[simgrid.git]
/
src
/
smpi
/
smpi_rma.cpp
diff --git
a/src/smpi/smpi_rma.cpp
b/src/smpi/smpi_rma.cpp
index
a9ca561
..
def9c73
100644
(file)
--- a/
src/smpi/smpi_rma.cpp
+++ b/
src/smpi/smpi_rma.cpp
@@
-97,6
+97,8
@@
void smpi_mpi_win_get_name(MPI_Win win, char* name, int* length){
void smpi_mpi_win_get_group(MPI_Win win, MPI_Group* group){
if(win->comm != MPI_COMM_NULL){
*group = smpi_comm_group(win->comm);
+ } else {
+ *group = MPI_GROUP_NULL;
}
}