Package mpi
Class Message
java.lang.Object
mpi.Message
This class represents
MPI_Message
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
handle
protected long handle
-
-
Constructor Details
-
Message
public Message()Creates aMPI_MESSAGE_NULL
.
-
-
Method Details
-
isNull
public boolean isNull()Tests if the message isMPI_MESSAGE_NULL
.- Returns:
- true if the message is
MPI_MESSAGE_NULL
.
-
isNoProc
public boolean isNoProc()Tests if the message isMPI_MESSAGE_NO_PROC
.- Returns:
- true if the message is
MPI_MESSAGE_NO_PROC
.
-
mProbe
Java binding ofMPI_MPROBE
.- Parameters:
source
- rank of the sourcetag
- message tagcomm
- communicator- Returns:
- status object
- Throws:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
imProbe
Java binding ofMPI_IMPROBE
.- Parameters:
source
- rank of the sourcetag
- message tagcomm
- communicator- Returns:
- status object if there is a message,
null
otherwise - Throws:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
mRecv
Java binding ofMPI_MRECV
.- Parameters:
buf
- receive buffercount
- number of elements in receve buffertype
- datatype of each receive buffer element- Returns:
- status object
- Throws:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
imRecv
Java binding ofMPI_IMRECV
.- Parameters:
buf
- receive buffercount
- number of elements in receve buffertype
- datatype of each receive buffer element- Returns:
- request object
- Throws:
MPIException
- Signals that an MPI exception of some sort has occurred.
-