Skip to content

Regression: MPI_Win_start()/complete() with MPI_GROUP_EMPTY #8677

Closed
@dalcinl

Description

@dalcinl

I don't consider myself an expert on OSC, but the following code used to work across MPI implementations. Now it is failing with current master.

Reproducer

from mpi4py import MPI  # Implies MPI_Init_thread() with MPI_THREAD_MULTIPLE

buf = MPI.Alloc_mem(1024)
win = MPI.Win.Create(buf, 1, MPI.INFO_NULL, MPI.COMM_SELF)
win.Start(MPI.GROUP_EMPTY)
win.Complete()
win.Free()
MPI.Free_mem(buf)

Output:

Traceback (most recent call last):
  File "/tmp/rma.py", line 5, in <module>
    win.Complete()
  File "mpi4py/MPI/Win.pyx", line 592, in mpi4py.MPI.Win.Complete
mpi4py.MPI.Exception: MPI_ERR_RMA_SYNC: error executing rma sync

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions