mpi4py.MPI.Op
- class mpi4py.MPI.Op
Bases:
object
Reduction 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
Free
if not null or predefined.fromhandle
(handle)Create object from MPI handle.
py2f
()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.
Attributes Documentation
- handle
MPI handle.
- is_commutative
Is a commutative operation.
- is_predefined
Is a predefined operation.