PAMID: Support MPI_PROC_NULL in MPI_Win_lock and MPI_Win_unlock
MPI Standard states:
MPI_PROC_NULL is a valid target rank in all MPI RMA communication calls. The effect
is the same as for MPI_PROC_NULL in MPI point-to-point communication. After any RMA
operation with rank MPI_PROC_NULL, it is still necessary to finish the RMA epoch with the
synchronization method that started the epoch.
In the current design, both MPI_Win_lock and MPI_Win_unlock do not comply with the standard, e.g.
if MPI_PROC_NULL is passed in as the target_rank of MPI_Win_lock or MPI_Win_unlock, without the
fix, the job will be terminated with segfault.
(ibm) D194295
Signed-off-by:
Michael Blocksome <blocksom@us.ibm.com>
Please register or sign in to comment