Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
e12376fd
Commit
e12376fd
authored
Dec 11, 2014
by
Xin Zhao
Browse files
Bug-fix: handle dest==MPI_PROC_NULL in Win_flush/flush_local
No reviewer.
parent
e92b7746
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/src/ch3u_rma_sync.c
View file @
e12376fd
...
...
@@ -1093,6 +1093,9 @@ int MPIDI_Win_flush(int dest, MPID_Win *win_ptr)
OPA_read_write_barrier
();
}
if
(
dest
==
MPI_PROC_NULL
)
goto
finish_flush
;
/* When the process tries to acquire the lock on itself, it does not
go through the progress engine. Therefore, it is possible that
one process always grants the lock to itself but never process
...
...
@@ -1186,6 +1189,9 @@ int MPIDI_Win_flush_local(int dest, MPID_Win * win_ptr)
win_ptr
->
states
.
access_state
!=
MPIDI_RMA_LOCK_ALL_GRANTED
,
mpi_errno
,
MPI_ERR_RMA_SYNC
,
"**rmasync"
);
if
(
dest
==
MPI_PROC_NULL
)
goto
finish_flush_local
;
/* When the process tries to acquire the lock on itself, it does not
go through the progress engine. Therefore, it is possible that
one process always grants the lock to itself but never process
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment