mpi4py.MPI.Grequest

class mpi4py.MPI.Grequest(request=None)

Bases: mpi4py.MPI.Request

Generalized request handle

Parameters

request (Optional[Grequest]) –

Return type

Grequest

static __new__(cls, request=None)
Parameters

request (Optional[Grequest]) –

Return type

Grequest

Methods Summary

Complete()

Notify that a user-defined request is complete

Start(query_fn, free_fn, cancel_fn[, args, ...])

Create and return a user-defined request

Methods Documentation

Complete()

Notify that a user-defined request is complete

Return type

None

classmethod Start(query_fn, free_fn, cancel_fn, args=None, kargs=None)

Create and return a user-defined request

Parameters
  • query_fn (Callable[[...], None]) –

  • free_fn (Callable[[...], None]) –

  • cancel_fn (Callable[[...], None]) –

  • args (Optional[Tuple[Any]]) –

  • kargs (Optional[Dict[str, Any]]) –

Return type

Grequest