mpi4py.MPI.Status
- class mpi4py.MPI.Status
Bases:
objectStatus object.
Methods Summary
Get_count([datatype])Get the number of top level elements.
Get_elements(datatype)Get the number of basic elements in a datatype.
Get message error.
Get message source.
Get_tag()Get message tag.
Test to see if a request was cancelled.
Set_cancelled(flag)Set the cancelled state associated with a status.
Set_elements(datatype, count)Set the number of elements in a status.
Set_error(error)Set message error.
Set_source(source)Set message source.
Set_tag(tag)Set message tag.
f2py(arg)py2f()tomemory()Return status memory view.
Attributes Summary
Cancelled state.
Byte count.
Message error.
Message source.
Message tag.
Methods Documentation
- Get_count(datatype=BYTE)
Get the number of top level elements.
- Get_elements(datatype)
Get the number of basic elements in a datatype.
- Set_cancelled(flag)
Set the cancelled state associated with a status.
Note
This method should be used only when implementing query callback functions for generalized requests.
- Set_elements(datatype, count)
Set the number of elements in a status.
Note
This method should be only used when implementing query callback functions for generalized requests.
- tomemory()
Return status memory view.
- Return type:
Attributes Documentation
- cancelled
Cancelled state.
- count
Byte count.
- error
Message error.
- source
Message source.
- tag
Message tag.