mpi4py.MPI.Op¶
- class mpi4py.MPI.Op(op=None)¶
Bases:
object
Operation object
Methods Summary
Create
(function[, commute])Create a user-defined operation
Free
()Free the operation
Query reduction operations for their commutativity
Reduce_local
(inbuf, inoutbuf)Apply a reduction operator to local data
f2py
(arg)py2f
()Attributes Summary
is commutative
is a predefined operation
Methods Documentation
- classmethod Create(function, commute=False)¶
Create a user-defined operation
- Free()¶
Free the operation
- Return type:
None
- Reduce_local(inbuf, inoutbuf)¶
Apply a reduction operator to local data
- Parameters:
inbuf (BufSpec)
inoutbuf (BufSpec)
- Return type:
None
Attributes Documentation
- is_commutative¶
is commutative
- is_predefined¶
is a predefined operation