mpi4py.MPI.Op¶
- class mpi4py.MPI.Op¶
Bases:
objectReduction operation.
Methods Summary
Create(function[, commute])Create a user-defined reduction operation.
Free()Free a user-defined reduction operation.
Query reduction operations for their commutativity.
Reduce_local(inbuf, inoutbuf)Apply a reduction operation to local data.
f2py(arg)free()Call
Freeif not null or predefined.fromhandle(handle)Create object from MPI handle.
fromint(arg, /)Translate integer handle to object.
py2f()toint()Translate object to integer handle.
Attributes Summary
MPI handle.
Is a commutative operation.
Is a predefined operation.
Methods Documentation
- classmethod Create(function, commute=False)¶
Create a user-defined reduction operation.
- Reduce_local(inbuf, inoutbuf)¶
Apply a reduction operation to local data.
- classmethod fromhandle(handle)¶
Create object from MPI handle.
- classmethod fromint(arg, /)¶
Translate integer handle to object.
Attributes Documentation
- handle¶
MPI handle.
- is_commutative¶
Is a commutative operation.
- is_predefined¶
Is a predefined operation.