Skip to content

2.0.0rc2: Regression in MPI_Type_get_envelope() after MPI_File_get_view() #1632

@dalcinl

Description

@dalcinl

Querying the envelope of etype/filetype obtained with MPI_File_get_view() errors with MPI_ERR_INTERN.

from mpi4py import MPI
comm = MPI.COMM_SELF
mode = MPI.MODE_RDWR | MPI.MODE_CREATE
info = MPI.INFO_NULL
fh = MPI.File.Open(comm, "/tmp/datafile", mode, info)
disp, etype, ftype, datarep = fh.Get_view()
assert disp == 0
assert datarep == 'native'
print(etype.Get_envelope())
print(ftype.Get_envelope())
$ python test-ompi-3.py 
Traceback (most recent call last):
  File "test-ompi-3.py", line 9, in <module>
    print(etype.Get_envelope())
  File "MPI/Datatype.pyx", line 469, in mpi4py.MPI.Datatype.Get_envelope (src/mpi4py.MPI.c:65712)
mpi4py.MPI.Exception: MPI_ERR_INTERN: internal error

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions