程序包 mpi

类 Message

java.lang.Object
mpi.Message

public final class Message extends Object
This class represents MPI_Message.
  • 字段详细资料

    • handle

      protected long handle
  • 构造器详细资料

    • Message

      public Message()
      Creates a MPI_MESSAGE_NULL.
  • 方法详细资料

    • isNull

      public boolean isNull()
      Tests if the message is MPI_MESSAGE_NULL.
      返回:
      true if the message is MPI_MESSAGE_NULL.
    • isNoProc

      public boolean isNoProc()
      Tests if the message is MPI_MESSAGE_NO_PROC.
      返回:
      true if the message is MPI_MESSAGE_NO_PROC.
    • mProbe

      public Status mProbe(int source, int tag, Comm comm) throws MPIException
      Java binding of MPI_MPROBE.
      参数:
      source - rank of the source
      tag - message tag
      comm - communicator
      返回:
      status object
      抛出:
      MPIException - Signals that an MPI exception of some sort has occurred.
    • imProbe

      public Status imProbe(int source, int tag, Comm comm) throws MPIException
      Java binding of MPI_IMPROBE.
      参数:
      source - rank of the source
      tag - message tag
      comm - communicator
      返回:
      status object if there is a message, null otherwise
      抛出:
      MPIException - Signals that an MPI exception of some sort has occurred.
    • mRecv

      public Status mRecv(Object buf, int count, Datatype type) throws MPIException
      Java binding of MPI_MRECV.
      参数:
      buf - receive buffer
      count - number of elements in receve buffer
      type - datatype of each receive buffer element
      返回:
      status object
      抛出:
      MPIException - Signals that an MPI exception of some sort has occurred.
    • imRecv

      public Request imRecv(Buffer buf, int count, Datatype type) throws MPIException
      Java binding of MPI_IMRECV.
      参数:
      buf - receive buffer
      count - number of elements in receve buffer
      type - datatype of each receive buffer element
      返回:
      request object
      抛出:
      MPIException - Signals that an MPI exception of some sort has occurred.