-
Notifications
You must be signed in to change notification settings - Fork 914
Closed
Description
After creating a file passing null info handle, quering for the info returns a null info handle. Previous releases returned a non null info handle. The wording in the MPI-3 standard seems to imply that the call should return a new (I interpret that as non-null) info handle.
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)
assert fh.Get_info() != MPI.INFO_NULL
$ python test-ompi-1.py
Traceback (most recent call last):
File "test-ompi-1.py", line 6, in <module>
assert fh.Get_info() != MPI.INFO_NULL
AssertionError