mpi4py.MPI.Status
- class mpi4py.MPI.Status(status=None)
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()Attributes Summary
cancelled state
byte count
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 should be only used when implementing query callback functions for generalized requests
- Parameters:
flag (bool) –
- Return type:
None
- Set_elements(datatype, count)
Set the number of elements in a status
Note
This should be only used when implementing query callback functions for generalized requests
Attributes Documentation
- cancelled
cancelled state
- count
byte count
- error
- source
- tag