mpi4py.MPI.Message — MPI for Python 3.1.4 documentation

# mpi4py.MPI.Message

class mpi4py.MPI.Message(message=None)

  Bases: `object`

  Matched message handle

  Parameters:

    message (Optional[Message]) –

  Return type:

    Message

  static __new__(cls, message=None)
    Parameters:

      message (Optional[Message]) –

    Return type:

      Message

  Methods Summary

  `Iprobe`(comm[, source, tag, status]) | Nonblocking test for a matched message
  `Irecv`(buf) | Nonblocking receive of matched message
  `Probe`(comm[, source, tag, status]) | Blocking test for a matched message
  `Recv`(buf[, status]) | Blocking receive of matched message
  `f2py`(arg) |
  `iprobe`(comm[, source, tag, status]) | Nonblocking test for a matched message
  `irecv`() | Nonblocking receive of matched message
  `probe`(comm[, source, tag, status]) | Blocking test for a matched message
  `py2f`() |
  `recv`([status]) | Blocking receive of matched message

  Methods Documentation

  classmethod Iprobe(comm, source=ANY_SOURCE, tag=ANY_TAG, status=None)

    Nonblocking test for a matched message

    Parameters:

      - comm (Comm) –

      - source (int) –

      - tag (int) –

      - status (Optional[Status]) –

    Return type:

      Optional[Message]

  Irecv(buf)

    Nonblocking receive of matched message

    Parameters:

      buf (BufSpec) –

    Return type:

      Request

  classmethod Probe(comm, source=ANY_SOURCE, tag=ANY_TAG, status=None)

    Blocking test for a matched message

    Parameters:

      - comm (Comm) –

      - source (int) –

      - tag (int) –

      - status (Optional[Status]) –

    Return type:

      Message

  Recv(buf, status=None)

    Blocking receive of matched message

    Parameters:

      - buf (BufSpec) –

      - status (Optional[Status]) –

    Return type:

      None

  classmethod f2py(arg)
    Parameters:

      arg (int) –

    Return type:

      Message

  classmethod iprobe(comm, source=ANY_SOURCE, tag=ANY_TAG, status=None)

    Nonblocking test for a matched message

    Parameters:

      - comm (Comm) –

      - source (int) –

      - tag (int) –

      - status (Optional[Status]) –

    Return type:

      Optional[Message]

  irecv()

    Nonblocking receive of matched message

    Return type:

      Request

  classmethod probe(comm, source=ANY_SOURCE, tag=ANY_TAG, status=None)

    Blocking test for a matched message

    Parameters:

      - comm (Comm) –

      - source (int) –

      - tag (int) –

      - status (Optional[Status]) –

    Return type:

      Message

  py2f()
    Return type:

      int

  recv(status=None)

    Blocking receive of matched message

    Parameters:

      status (Optional[Status]) –

    Return type:

      Any