1
1
Added missings @params and @throws as well as adding definitions for the @throws tags.

Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
Этот коммит содержится в:
Nathaniel Graham 2015-07-10 09:58:58 -06:00
родитель 8e16dda08e
Коммит 580251e96a
24 изменённых файлов: 374 добавлений и 348 удалений

Просмотреть файл

@ -90,7 +90,7 @@ protected CartComm(long[] commRequest)
* Duplicates this communicator.
* <p>Java binding of {@code MPI_COMM_DUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public CartComm dup() throws MPIException
{
@ -104,7 +104,7 @@ protected CartComm(long[] commRequest)
* <p>The new communicator can't be used before the operation completes.
* The request object must be obtained calling {@link #getRequest}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred. Signals that an MPI exception of some sort has occurred.
*/
@Override public CartComm iDup() throws MPIException
{
@ -119,7 +119,7 @@ protected CartComm(long[] commRequest)
* <p>The number of dimensions can be obtained from the size of (eg)
* {@code dims} field of the returned object.
* @return object containing dimensions, periods and local coordinates
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public CartParms getTopo() throws MPIException
{
@ -134,7 +134,7 @@ private native CartParms getTopo(long comm) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_CART_RANK}.
* @param coords Cartesian coordinates of a process
* @return rank of the specified process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getRank(int[] coords) throws MPIException
{
@ -149,7 +149,7 @@ private native int getRank(long comm, int[] coords) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_CART_COORDS}.
* @param rank rank of a process
* @return Cartesian coordinates of the specified process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int[] getCoords(int rank) throws MPIException
{
@ -165,7 +165,7 @@ private native int[] getCoords(long comm, int rank) throws MPIException;
* @param direction coordinate dimension of shift
* @param disp displacement
* @return object containing ranks of source and destination processes
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public ShiftParms shift(int direction, int disp) throws MPIException
{
@ -182,7 +182,7 @@ private native ShiftParms shift(long comm, int direction, int disp)
* @param remainDims by dimension, {@code true} if dimension is to be kept,
* {@code false} otherwise
* @return communicator containing subgrid including this process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public CartComm sub(boolean[] remainDims) throws MPIException
{
@ -200,7 +200,7 @@ private native long sub(long comm, boolean[] remainDims) throws MPIException;
* @param periods {@code true} if grid is periodic,
* {@code false} if not, in each dimension
* @return reordered rank of calling process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int map(int[] dims, boolean[] periods) throws MPIException
{
@ -216,7 +216,7 @@ private native int map(long comm, int[] dims, boolean[] periods)
* <p>Java binding of the MPI operation {@code MPI_DIMS_CREATE}.
* @param nnodes number of nodes in a grid
* @param dims array specifying the number of nodes in each dimension
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void createDims(int nnodes, int[] dims) throws MPIException
{

Просмотреть файл

@ -127,7 +127,7 @@ private native void getComm(int type);
* Duplicates this communicator.
* <p>Java binding of {@code MPI_COMM_DUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Comm dup() throws MPIException
{
@ -143,7 +143,7 @@ protected final native long dup(long comm) throws MPIException;
* <p>The new communicator can't be used before the operation completes.
* The request object must be obtained calling {@link #getRequest}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Comm iDup() throws MPIException
{
@ -168,7 +168,7 @@ public final Request getRequest()
* Size of group of this communicator.
* <p>Java binding of the MPI operation {@code MPI_COMM_SIZE}.
* @return number of processors in the group of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int getSize() throws MPIException
{
@ -182,7 +182,7 @@ private native int getSize(long comm) throws MPIException;
* Rank of this process in group of this communicator.
* <p>Java binding of the MPI operation {@code MPI_COMM_RANK}.
* @return rank of the calling process in the group of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int getRank() throws MPIException
{
@ -205,7 +205,7 @@ private native int getRank(long comm) throws MPIException;
* {@code MPI.SIMILAR} results if the underlying groups are similar
* but the communicators differ by context.<br>
* {@code MPI.UNEQUAL} results otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int compare(Comm comm1, Comm comm2) throws MPIException
{
@ -217,7 +217,7 @@ private static native int compare(long comm1, long comm2) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_COMM_FREE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override final public void free() throws MPIException
{
@ -239,7 +239,7 @@ public final boolean isNull()
/**
* Java binding of {@code MPI_COMM_SET_INFO}.
* @param info info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void setInfo(Info info) throws MPIException
{
@ -252,7 +252,7 @@ private native void setInfo(long comm, long info) throws MPIException;
/**
* Java binding of {@code MPI_COMM_GET_INFO}.
* @return new info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Info getInfo() throws MPIException
{
@ -264,7 +264,7 @@ private native long getInfo(long comm) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_COMM_DISCONNECT}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void disconnect() throws MPIException
{
@ -278,7 +278,7 @@ private native long disconnect(long comm) throws MPIException;
* Return group associated with a communicator.
* <p>Java binding of the MPI operation {@code MPI_COMM_GROUP}.
* @return group corresponding to this communicator group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Group getGroup() throws MPIException
{
@ -295,7 +295,7 @@ private native long getGroup(long comm);
* <p>Java binding of the MPI operation {@code MPI_COMM_TEST_INTER}.
* @return {@code true} if this is an inter-communicator,
* {@code false} otherwise
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final boolean isInter() throws MPIException
{
@ -318,7 +318,7 @@ private native boolean isInter(long comm) throws MPIException;
* @param remoteLeader rank of remote group leader in this communicator
* @param tag "safe" tag
* @return new inter-communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm createIntercomm(Comm localComm, int localLeader,
int remoteLeader, int tag)
@ -344,7 +344,7 @@ private native long createIntercomm(
* @param type datatype of each item in send buffer
* @param dest rank of destination
* @param tag message tag
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void send(Object buf, int count, Datatype type, int dest, int tag)
throws MPIException
@ -375,7 +375,7 @@ private native void send(
* @param source rank of source
* @param tag message tag
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Status recv(Object buf, int count,
Datatype type, int source, int tag)
@ -420,7 +420,7 @@ private native void recv(
* @param source rank of source
* @param recvtag receive tag
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
* @see mpi.Comm#recv(Object, int, Datatype, int, int)
*/
@ -478,7 +478,7 @@ private native void sendRecv(
* @param source rank of source
* @param recvtag receive tag
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
* @see mpi.Comm#recv(Object, int, Datatype, int, int)
*/
@ -520,7 +520,7 @@ private native void sendRecvReplace(
* @param type datatype of each item in send buffer
* @param dest rank of destination
* @param tag message tag
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final void bSend(Object buf, int count, Datatype type, int dest, int tag)
@ -551,7 +551,7 @@ private native void bSend(
* @param type datatype of each item in send buffer
* @param dest rank of destination
* @param tag message tag
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final void sSend(Object buf, int count, Datatype type, int dest, int tag)
@ -582,7 +582,7 @@ private native void sSend(
* @param type datatype of each item in send buffer
* @param dest rank of destination
* @param tag message tag
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final void rSend(Object buf, int count, Datatype type, int dest, int tag)
@ -616,7 +616,7 @@ private native void rSend(
* @param dest rank of destination
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Request iSend(Buffer buf, int count,
@ -641,7 +641,7 @@ private native long iSend(
* @param dest rank of destination
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Request ibSend(Buffer buf, int count,
@ -666,7 +666,7 @@ private native long ibSend(
* @param dest rank of destination
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Request isSend(Buffer buf, int count,
@ -691,7 +691,7 @@ private native long isSend(
* @param dest rank of destination
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Request irSend(Buffer buf, int count,
@ -716,7 +716,7 @@ private native long irSend(
* @param source rank of source
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#recv(Object, int, Datatype, int, int)
*/
public final Request iRecv(Buffer buf, int count,
@ -744,7 +744,7 @@ private native long iRecv(
* @param dest rank of destination
* @param tag message tag
* @return persistent communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Prequest sendInit(Buffer buf, int count,
@ -769,7 +769,7 @@ private native long sendInit(
* @param dest rank of destination
* @param tag message tag
* @return persistent communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Prequest bSendInit(Buffer buf, int count,
@ -794,7 +794,7 @@ private native long bSendInit(
* @param dest rank of destination
* @param tag message tag
* @return persistent communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Prequest sSendInit(Buffer buf, int count,
@ -819,7 +819,7 @@ private native long sSendInit(
* @param dest rank of destination
* @param tag message tag
* @return persistent communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#send(Object, int, Datatype, int, int)
*/
public final Prequest rSendInit(Buffer buf, int count,
@ -844,7 +844,7 @@ private native long rSendInit(
* @param source rank of source
* @param tag message tag
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
* @see mpi.Comm#recv(Object, int, Datatype, int, int)
*/
public final Prequest recvInit(Buffer buf, int count,
@ -876,7 +876,7 @@ private native long recvInit(
* @param outbuf output buffer
* @param position initial position in output buffer
* @return final position in output buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int pack(Object inbuf, int incount, Datatype type,
byte[] outbuf, int position)
@ -914,7 +914,7 @@ private native int pack(
* @param outcount number of items in output buffer
* @param type datatype of each item in output buffer
* @return final position in input buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int unpack(byte[] inbuf, int position,
Object outbuf, int outcount, Datatype type)
@ -945,7 +945,7 @@ private native int unpack(
* @param incount number of items in input buffer
* @param type datatype of each item in input buffer
* @return upper bound on size of packed message
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int packSize(int incount, Datatype type) throws MPIException
{
@ -967,7 +967,7 @@ private native int packSize(long comm, int incount, long type)
* @param tag message tag
* @return status object if such a message is currently available,
* {@code null} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Status iProbe(int source, int tag) throws MPIException
{
@ -986,7 +986,7 @@ private native Status iProbe(long comm, int source, int tag)
* @param source rank of source
* @param tag message tag
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Status probe(int source, int tag) throws MPIException
{
@ -1005,7 +1005,7 @@ private native void probe(long comm, int source, int tag, long[] stat)
* Create a new attribute key.
* <p>Java binding of the MPI operation {@code MPI_COMM_CREATE_KEYVAL}.
* @return attribute key for future access
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int createKeyval() throws MPIException
{
@ -1019,7 +1019,7 @@ private static native int createKeyval_jni() throws MPIException;
* Frees an attribute key for communicators.
* <p>Java binding of the MPI operation {@code MPI_COMM_FREE_KEYVAL}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void freeKeyval(int keyval) throws MPIException
{
@ -1034,7 +1034,7 @@ private static native void freeKeyval_jni(int keyval) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_COMM_SET_ATTR}.
* @param keyval attribute key
* @param value attribute value
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void setAttr(int keyval, Object value) throws MPIException
{
@ -1050,7 +1050,7 @@ private native void setAttr(long comm, int keyval, byte[] value)
* <p>Java binding of the MPI operation {@code MPI_COMM_GET_ATTR}.
* @param keyval attribute key
* @return attribute value or null if no attribute is associated with the key.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Object getAttr(int keyval) throws MPIException
{
@ -1085,7 +1085,7 @@ private native byte[] getAttr(long comm, int keyval) throws MPIException;
* Deletes an attribute value associated with a key on a communicator.
* <p>Java binding of the MPI operation {@code MPI_COMM_DELETE_ATTR}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void deleteAttr(int keyval) throws MPIException
{
@ -1103,7 +1103,7 @@ private native void deleteAttr(long comm, int keyval) throws MPIException;
* <p>The return value will be one of {@code MPI.GRAPH}, {@code MPI.CART}
* or {@code MPI.UNDEFINED}.
* @return topology type of communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int getTopology() throws MPIException
{
@ -1119,7 +1119,7 @@ private native int getTopology(long comm) throws MPIException;
* Abort MPI.
* <p>Java binding of the MPI operation {@code MPI_ABORT}.
* @param errorcode error code for Unix or POSIX environments
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void abort(int errorcode) throws MPIException
{
@ -1135,7 +1135,7 @@ private native void abort(long comm, int errorcode) throws MPIException;
* Associates a new error handler with communicator at the calling process.
* <p>Java binding of the MPI operation {@code MPI_ERRHANDLER_SET}.
* @param errhandler new MPI error handler for communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void setErrhandler(Errhandler errhandler) throws MPIException
{
@ -1150,7 +1150,7 @@ private native void setErrhandler(long comm, long errhandler)
* Returns the error handler currently associated with the communicator.
* <p>Java binding of the MPI operation {@code MPI_ERRHANDLER_GET}.
* @return MPI error handler currently associated with communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Errhandler getErrhandler() throws MPIException
{
@ -1166,7 +1166,7 @@ private native long getErrhandler(long comm);
* A call to {@code barrier} blocks the caller until all process
* in the group have called it.
* <p>Java binding of the MPI operation {@code MPI_BARRIER}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void barrier() throws MPIException
{
@ -1180,7 +1180,7 @@ private native void barrier(long comm) throws MPIException;
* Nonblocking barrier sinchronization.
* <p>Java binding of the MPI operation {@code MPI_IBARRIER}.
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iBarrier() throws MPIException
{
@ -1198,7 +1198,7 @@ private native long iBarrier(long comm) throws MPIException;
* @param count number of items in buffer
* @param type datatype of each item in buffer
* @param root rank of broadcast root
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void bcast(Object buf, int count, Datatype type, int root)
throws MPIException
@ -1229,7 +1229,7 @@ private native void bcast(
* @param type datatype of each item in buffer
* @param root rank of broadcast root
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iBcast(Buffer buf, int count, Datatype type, int root)
throws MPIException
@ -1253,7 +1253,7 @@ private native long iBcast(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void gather(
Object sendbuf, int sendcount, Datatype sendtype,
@ -1296,7 +1296,7 @@ public final void gather(
* @param count number of items to send/receive
* @param type datatype of each item in buffer
* @param root rank of receiving process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void gather(Object buf, int count, Datatype type, int root)
throws MPIException
@ -1333,7 +1333,7 @@ private native void gather(
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iGather(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -1358,7 +1358,7 @@ public final Request iGather(
* @param type datatype of each item in buffer
* @param root rank of receiving process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iGather(Buffer buf, int count, Datatype type, int root)
throws MPIException
@ -1387,7 +1387,7 @@ private native long iGather(
* @param displs displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void gatherv(Object sendbuf, int sendcount, Datatype sendtype,
Object recvbuf, int[] recvcount, int[] displs,
@ -1431,7 +1431,7 @@ public final void gatherv(Object sendbuf, int sendcount, Datatype sendtype,
* @param displs displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void gatherv(Object recvbuf, int[] recvcount, int[] displs,
Datatype recvtype, int root)
@ -1461,7 +1461,7 @@ public final void gatherv(Object recvbuf, int[] recvcount, int[] displs,
* @param sendcount number of items to send
* @param sendtype datatype of each item in send buffer
* @param root rank of receiving process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void gatherv(Object sendbuf, int sendcount,
Datatype sendtype, int root)
@ -1502,7 +1502,7 @@ private native void gatherv(
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iGatherv(
Buffer sendbuf, int sendcount, Datatype sendtype, Buffer recvbuf,
@ -1529,7 +1529,7 @@ public final Request iGatherv(
* @param recvtype datatype of each item in receive buffer
* @param root rank of receiving process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iGatherv(Buffer recvbuf, int[] recvcount, int[] displs,
Datatype recvtype, int root)
@ -1553,7 +1553,7 @@ public final Request iGatherv(Buffer recvbuf, int[] recvcount, int[] displs,
* @param sendtype datatype of each item in send buffer
* @param root rank of receiving process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iGatherv(Buffer sendbuf, int sendcount,
Datatype sendtype, int root)
@ -1582,7 +1582,7 @@ private native long iGatherv(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scatter(
Object sendbuf, int sendcount, Datatype sendtype,
@ -1625,7 +1625,7 @@ public final void scatter(
* @param count number of items to send/receive
* @param type datatype of each item in buffer
* @param root rank of sending process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scatter(Object buf, int count, Datatype type, int root)
throws MPIException
@ -1661,7 +1661,7 @@ private native void scatter(
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScatter(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -1686,7 +1686,7 @@ public final Request iScatter(
* @param type datatype of each item in buffer
* @param root rank of sending process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScatter(Buffer buf, int count, Datatype type, int root)
throws MPIException
@ -1714,7 +1714,7 @@ private native long iScatter(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scatterv(
Object sendbuf, int[] sendcount, int[] displs, Datatype sendtype,
@ -1757,7 +1757,7 @@ public final void scatterv(
* @param displs displacements from which to take outgoing data
* @param sendtype datatype of each item in send buffer
* @param root rank of sending process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scatterv(Object sendbuf, int[] sendcount, int[] displs,
Datatype sendtype, int root)
@ -1787,7 +1787,7 @@ public final void scatterv(Object sendbuf, int[] sendcount, int[] displs,
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scatterv(Object recvbuf, int recvcount,
Datatype recvtype, int root)
@ -1827,7 +1827,7 @@ private native void scatterv(
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScatterv(
Buffer sendbuf, int[] sendcount, int[] displs, Datatype sendtype,
@ -1853,7 +1853,7 @@ public final Request iScatterv(
* @param sendtype datatype of each item in send buffer
* @param root rank of sending process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScatterv(Buffer sendbuf, int[] sendcount, int[] displs,
Datatype sendtype, int root)
@ -1876,7 +1876,7 @@ public final Request iScatterv(Buffer sendbuf, int[] sendcount, int[] displs,
* @param recvtype datatype of each item in receive buffer
* @param root rank of sending process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScatterv(Buffer recvbuf, int recvcount,
Datatype recvtype, int root)
@ -1903,7 +1903,7 @@ private native long iScatterv(
* @param recvbuf receive buffer
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allGather(Object sendbuf, int sendcount, Datatype sendtype,
Object recvbuf, int recvcount, Datatype recvtype)
@ -1942,7 +1942,7 @@ public final void allGather(Object sendbuf, int sendcount, Datatype sendtype,
* @param buf receive buffer
* @param count number of items to receive
* @param type datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allGather(Object buf, int count, Datatype type)
throws MPIException
@ -1977,7 +1977,7 @@ private native void allGather(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllGather(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -1999,7 +1999,7 @@ public final Request iAllGather(
* @param count number of items to receive
* @param type datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllGather(Buffer buf, int count, Datatype type)
throws MPIException
@ -2023,7 +2023,7 @@ private native long iAllGather(
* @param recvcount number of elements received from each process
* @param displs displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allGatherv(
Object sendbuf, int sendcount, Datatype sendtype,
@ -2064,7 +2064,7 @@ public final void allGatherv(
* @param recvcount number of elements received from each process
* @param displs displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allGatherv(Object recvbuf, int[] recvcount,
int[] displs, Datatype recvtype)
@ -2102,7 +2102,7 @@ private native void allGatherv(
* @param displs displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllGatherv(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -2126,7 +2126,7 @@ public final Request iAllGatherv(
* @param displs displacements at which to place incoming data
* @param type datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllGatherv(
Buffer buf, int[] count, int[] displs, Datatype type)
@ -2154,7 +2154,7 @@ private native long iAllGatherv(
* @param recvbuf receive buffer
* @param recvcount number of items received from any process
* @param recvtype datatype of receive buffer items
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allToAll(Object sendbuf, int sendcount, Datatype sendtype,
Object recvbuf, int recvcount, Datatype recvtype)
@ -2203,7 +2203,7 @@ private native void allToAll(
* @param recvcount number of items received from any process
* @param recvtype datatype of receive buffer items
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllToAll(Buffer sendbuf, int sendcount, Datatype sendtype,
Buffer recvbuf, int recvcount, Datatype recvtype)
@ -2233,7 +2233,7 @@ private native long iAllToAll(
* @param recvcount number of elements received from each process
* @param rdispls displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allToAllv(
Object sendbuf, int[] sendcount, int[] sdispls, Datatype sendtype,
@ -2287,7 +2287,7 @@ private native void allToAllv(
* @param rdispls displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllToAllv(
Buffer sendbuf, int[] sendcount, int[] sdispls, Datatype sendtype,
@ -2315,7 +2315,7 @@ private native long iAllToAllv(long comm,
* @param recvbuf receive buffer
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void neighborAllGather(
Object sendbuf, int sendcount, Datatype sendtype,
@ -2364,7 +2364,7 @@ private native void neighborAllGather(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iNeighborAllGather(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -2393,7 +2393,7 @@ private native long iNeighborAllGather(
* @param recvcount number of elements that are received from each neighbor
* @param displs displacements at which to place incoming data
* @param recvtype datatype of receive buffer elements
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void neighborAllGatherv(
Object sendbuf, int sendcount, Datatype sendtype,
@ -2442,7 +2442,7 @@ private native void neighborAllGatherv(
* @param displs displacements at which to place incoming data
* @param recvtype datatype of receive buffer elements
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iNeighborAllGatherv(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -2470,7 +2470,7 @@ private native long iNeighborAllGatherv(
* @param recvbuf receive buffer
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void neighborAllToAll(
Object sendbuf, int sendcount, Datatype sendtype,
@ -2519,7 +2519,7 @@ private native void neighborAllToAll(
* @param recvcount number of items to receive
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iNeighborAllToAll(
Buffer sendbuf, int sendcount, Datatype sendtype,
@ -2548,7 +2548,7 @@ private native long iNeighborAllToAll(
* @param recvcount number of elements received from each process
* @param rdispls displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void neighborAllToAllv(
Object sendbuf, int[] sendcount, int[] sdispls, Datatype sendtype,
@ -2600,7 +2600,7 @@ private native void neighborAllToAllv(
* @param rdispls displacements at which to place incoming data
* @param recvtype datatype of each item in receive buffer
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iNeighborAllToAllv(
Buffer sendbuf, int[] sendcount, int[] sdispls, Datatype sendtype,
@ -2637,7 +2637,7 @@ private native long iNeighborAllToAllv(
* @param type data type of each item in send buffer
* @param op reduce operation
* @param root rank of root process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduce(Object sendbuf, Object recvbuf, int count,
Datatype type, Op op, int root)
@ -2679,7 +2679,7 @@ public final void reduce(Object sendbuf, Object recvbuf, int count,
* @param type data type of each item in buffer
* @param op reduce operation
* @param root rank of root process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduce(Object buf, int count, Datatype type, Op op, int root)
throws MPIException
@ -2717,7 +2717,7 @@ private native void reduce(
* @param op reduce operation
* @param root rank of root process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduce(Buffer sendbuf, Buffer recvbuf,
int count, Datatype type, Op op, int root)
@ -2744,7 +2744,7 @@ public final Request iReduce(Buffer sendbuf, Buffer recvbuf,
* @param op reduce operation
* @param root rank of root process
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduce(Buffer buf, int count,
Datatype type, Op op, int root)
@ -2773,7 +2773,7 @@ private native long iReduce(
* @param count number of items in send buffer
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allReduce(Object sendbuf, Object recvbuf,
int count, Datatype type, Op op)
@ -2813,7 +2813,7 @@ public final void allReduce(Object sendbuf, Object recvbuf,
* @param count number of items in send buffer
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void allReduce(Object buf, int count, Datatype type, Op op)
throws MPIException
@ -2848,7 +2848,7 @@ private native void allReduce(
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllReduce(Buffer sendbuf, Buffer recvbuf,
int count, Datatype type, Op op)
@ -2872,7 +2872,7 @@ public final Request iAllReduce(Buffer sendbuf, Buffer recvbuf,
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iAllReduce(Buffer buf, int count, Datatype type, Op op)
throws MPIException
@ -2900,7 +2900,7 @@ private native long iAllReduce(
* @param recvcounts numbers of result elements distributed to each process
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduceScatter(Object sendbuf, Object recvbuf,
int[] recvcounts, Datatype type, Op op)
@ -2941,7 +2941,7 @@ public final void reduceScatter(Object sendbuf, Object recvbuf,
* @param counts numbers of result elements distributed to each process
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduceScatter(Object buf, int[] counts, Datatype type, Op op)
throws MPIException
@ -2977,7 +2977,7 @@ private native void reduceScatter(
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduceScatter(Buffer sendbuf, Buffer recvbuf,
int[] recvcounts, Datatype type, Op op)
@ -3003,7 +3003,7 @@ public final Request iReduceScatter(Buffer sendbuf, Buffer recvbuf,
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduceScatter(
Buffer buf, int[] counts, Datatype type, Op op)
@ -3030,7 +3030,7 @@ private native long iReduceScatter(
* @param recvcount element count per block
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduceScatterBlock(Object sendbuf, Object recvbuf,
int recvcount, Datatype type, Op op)
@ -3069,7 +3069,7 @@ public final void reduceScatterBlock(Object sendbuf, Object recvbuf,
* @param count element count per block
* @param type data type of each item in send buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void reduceScatterBlock(
Object buf, int count, Datatype type, Op op)
@ -3104,7 +3104,7 @@ private native void reduceScatterBlock(
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduceScatterBlock(
Buffer sendbuf, Buffer recvbuf, int recvcount, Datatype type, Op op)
@ -3128,7 +3128,7 @@ public final Request iReduceScatterBlock(
* @param type data type of each item in send buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iReduceScatterBlock(
Buffer buf, int count, Datatype type, Op op)
@ -3157,7 +3157,7 @@ private native long iReduceScatterBlock(
* @param count number of elements
* @param type data type of each item
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void reduceLocal(
Object inBuf, Object inOutBuf, int count, Datatype type, Op op)
@ -3209,7 +3209,7 @@ private static native void reduceLocalUf(
/**
* Sets the print name for the communicator.
* @param name name for the communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void setName(String name) throws MPIException
{
@ -3222,7 +3222,7 @@ private native void setName(long handle, String name) throws MPIException;
/**
* Return the print name from the communicator.
* @return name of the communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final String getName() throws MPIException
{

Просмотреть файл

@ -137,7 +137,7 @@ private Datatype(int baseType, int baseSize, long handle)
* Returns the lower bound of a datatype.
* <p>Java binding of the MPI operation {@code MPI_TYPE_GET_EXTENT}.
* @return lower bound of datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getLb() throws MPIException
{
@ -151,7 +151,7 @@ public int getLb() throws MPIException
* Returns the extent of a datatype.
* <p>Java binding of the MPI operation {@code MPI_TYPE_GET_EXTENT}.
* @return datatype extent
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getExtent() throws MPIException
{
@ -176,7 +176,7 @@ private native void getLbExtent(long handle, int[] lbExt);
* Returns the true lower bound of a datatype.
* <p>Java binding of the MPI operation {@code MPI_TYPE_GET_TRUE_EXTENT}.
* @return lower bound of datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getTrueLb() throws MPIException
{
@ -190,7 +190,7 @@ public int getTrueLb() throws MPIException
* Returns the true extent of a datatype.
* <p>Java binding of the MPI operation {@code MPI_TYPE_GET_TRUE_EXTENT}.
* @return datatype true extent
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getTrueExtent() throws MPIException
{
@ -216,7 +216,7 @@ private native void getTrueLbExtent(long handle, int[] lbExt);
* elements it represents.
* <p>Java binding of the MPI operation {@code MPI_TYPE_SIZE}.
* @return datatype size
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getSize() throws MPIException
{
@ -229,7 +229,7 @@ private native int getSize(long type);
/**
* Commits a derived datatype.
* Java binding of the MPI operation {@code MPI_TYPE_COMMIT}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void commit() throws MPIException
{
@ -242,7 +242,7 @@ private native void commit(long type);
/**
* Frees the datatype.
* <p>Java binding of the MPI operation {@code MPI_TYPE_FREE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public void free() throws MPIException
{
@ -282,7 +282,7 @@ public boolean isNull()
/**
* Java binding of {@code MPI_TYPE_DUP}.
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Datatype dup() throws MPIException
{
@ -301,7 +301,7 @@ private native long dup(long type) throws MPIException;
* @param count replication count
* @param oldType old datatype
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createContiguous(int count, Datatype oldType)
throws MPIException
@ -323,7 +323,7 @@ private static native long getContiguous(int count, long oldType);
* @param stride number of elements between start of each block
* @param oldType old datatype
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createVector(int count, int blockLength,
int stride, Datatype oldType)
@ -348,7 +348,7 @@ private static native long getVector(
* @param stride number of bytes between start of each block
* @param oldType old datatype
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createHVector(int count, int blockLength,
int stride, Datatype oldType)
@ -376,7 +376,7 @@ private static native long getHVector(
* @param displacements displacement of each block in units of old type
* @param oldType old datatype
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createIndexed(int[] blockLengths,
int[] displacements, Datatype oldType)
@ -400,7 +400,7 @@ private static native long getIndexed(
* @param displacements byte displacement in buffer for each block
* @param oldType old datatype
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createHIndexed(int[] blockLengths,
int[] displacements, Datatype oldType)
@ -425,7 +425,7 @@ private static native long getHIndexed(
* @param displacements byte displacement of each block
* @param types type of elements in each block
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createStruct(int[] blockLengths,
int[] displacements, Datatype[] types)
@ -452,7 +452,7 @@ private static native long getStruct(
* @param lb new lower bound of datatype (address integer)
* @param extent new extent of datatype (address integer)
* @return new datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Datatype createResized(Datatype oldType, int lb, int extent)
throws MPIException
@ -467,7 +467,7 @@ private static native long getResized(long oldType, int lb, int extent);
/**
* Sets the print name for the datatype.
* @param name name for the datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setName(String name) throws MPIException
{
@ -480,7 +480,7 @@ private native void setName(long handle, String name) throws MPIException;
/**
* Return the print name from the datatype.
* @return name of the datatype
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public String getName() throws MPIException
{
@ -494,7 +494,7 @@ private native String getName(long handle) throws MPIException;
* Create a new attribute key.
* <p>Java binding of the MPI operation {@code MPI_TYPE_CREATE_KEYVAL}.
* @return attribute key for future access
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int createKeyval() throws MPIException
{
@ -508,7 +508,7 @@ private static native int createKeyval_jni() throws MPIException;
* Frees an attribute key.
* <p>Java binding of the MPI operation {@code MPI_TYPE_FREE_KEYVAL}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void freeKeyval(int keyval) throws MPIException
{
@ -523,7 +523,7 @@ private static native void freeKeyval_jni(int keyval) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_TYPE_SET_ATTR}.
* @param keyval attribute key
* @param value attribute value
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setAttr(int keyval, Object value) throws MPIException
{
@ -539,7 +539,7 @@ private native void setAttr(long type, int keyval, byte[] value)
* <p>Java binding of the MPI operation {@code MPI_TYPE_GET_ATTR}.
* @param keyval attribute key
* @return attribute value or null if no attribute is associated with the key.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Object getAttr(int keyval) throws MPIException
{
@ -554,7 +554,7 @@ private native Object getAttr(long type, int keyval) throws MPIException;
* Deletes an attribute value associated with a key.
* <p>Java binding of the MPI operation {@code MPI_TYPE_DELETE_ATTR}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void deleteAttr(int keyval) throws MPIException
{

Просмотреть файл

@ -27,6 +27,8 @@ private final int iOff, iSize;
/**
* The struct object will be created only in MPI class.
* @param intOff int offset
* @param intSize int size
* @see MPI#doubleInt
*/
protected DoubleInt(int intOff, int intSize)

Просмотреть файл

@ -45,7 +45,7 @@ private Status beginStatus;
* @param comm communicator
* @param filename name of the file to open
* @param amode file access mode
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public File(Comm comm, String filename, int amode) throws MPIException
{
@ -59,7 +59,7 @@ public File(Comm comm, String filename, int amode) throws MPIException
* @param filename name of the file to open
* @param amode file access mode
* @param info info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public File(Comm comm, String filename, int amode, Info info)
throws MPIException
@ -73,7 +73,7 @@ private native long open(long comm, String filename, int amode, long info)
/**
* Java binding of {@code MPI_FILE_CLOSE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void close() throws MPIException
{
@ -86,7 +86,7 @@ private native long close(long fh) throws MPIException;
/**
* Java binding of {@code MPI_FILE_DELETE} using {@code MPI_INFO_NULL}.
* @param filename name of the file to delete
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void delete(String filename) throws MPIException
{
@ -98,7 +98,7 @@ public static void delete(String filename) throws MPIException
* Java binding of {@code MPI_FILE_DELETE}.
* @param filename name of the file to delete
* @param info info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void delete(String filename, Info info) throws MPIException
{
@ -112,7 +112,7 @@ private static native void delete(String filename, long info)
/**
* Java binding of {@code MPI_FILE_SET_SIZE}.
* @param size size to truncate or expand file
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setSize(long size) throws MPIException
{
@ -125,7 +125,7 @@ private native void setSize(long fh, long size) throws MPIException;
/**
* Java binding of {@code MPI_FILE_PREALLOCATE}.
* @param size size to preallocate file
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void preallocate(long size) throws MPIException
{
@ -138,7 +138,7 @@ private native void preallocate(long fh, long size) throws MPIException;
/**
* Java binding of {@code MPI_FILE_GET_SIZE}.
* @return size of file in bytes
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public long getSize() throws MPIException
{
@ -151,7 +151,7 @@ private native long getSize(long fh) throws MPIException;
/**
* Java binding of {@code MPI_FILE_GET_GROUP}.
* @return group wich opened the file
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group getGroup() throws MPIException
{
@ -164,7 +164,7 @@ private native long getGroup(long fh) throws MPIException;
/**
* Java binding of {@code MPI_FILE_GET_AMODE}.
* @return file access mode to open the file
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getAMode() throws MPIException
{
@ -177,7 +177,7 @@ private native int getAMode(long fh) throws MPIException;
/**
* Java binding of {@code MPI_FILE_SET_INFO}.
* @param info info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setInfo(Info info) throws MPIException
{
@ -190,7 +190,7 @@ private native void setInfo(long fh, long info) throws MPIException;
/**
* Java binding of {@code MPI_FILE_GET_INFO}.
* @return new info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Info getInfo() throws MPIException
{
@ -206,7 +206,7 @@ private native long getInfo(long fh) throws MPIException;
* @param etype elementary datatype
* @param filetype filetype
* @param datarep data representation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setView(long disp, Datatype etype,
Datatype filetype, String datarep)
@ -224,7 +224,7 @@ public void setView(long disp, Datatype etype,
* @param filetype filetype
* @param datarep data representation
* @param info info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setView(long disp, Datatype etype,
Datatype filetype, String datarep, Info info)
@ -255,7 +255,7 @@ public FileView getView()
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readAt(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -288,7 +288,7 @@ private native void readAt(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readAtAll(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -321,7 +321,7 @@ private native void readAtAll(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeAt(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -354,7 +354,7 @@ private native void writeAt(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeAtAll(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -387,7 +387,7 @@ private native void writeAtAll(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iReadAt(long offset, Buffer buf, int count, Datatype type)
throws MPIException
@ -408,7 +408,7 @@ private native long iReadAt(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iWriteAt(long offset, Buffer buf, int count, Datatype type)
throws MPIException
@ -428,7 +428,7 @@ private native long iWriteAt(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status read(Object buf, int count, Datatype type) throws MPIException
{
@ -457,7 +457,7 @@ private native void read(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readAll(Object buf, int count, Datatype type) throws MPIException
{
@ -486,7 +486,7 @@ private native void readAll(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status write(Object buf, int count, Datatype type) throws MPIException
{
@ -515,7 +515,7 @@ private native void write(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeAll(Object buf, int count, Datatype type) throws MPIException
{
@ -544,7 +544,7 @@ private native void writeAll(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iRead(Buffer buf, int count, Datatype type) throws MPIException
{
@ -562,7 +562,7 @@ private native long iRead(long fh, Buffer buf, int count, long type)
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iWrite(Buffer buf, int count, Datatype type) throws MPIException
{
@ -578,7 +578,7 @@ private native long iWrite(long fh, Buffer buf, int count, long type)
* Java binding of {@code MPI_FILE_SEEK}.
* @param offset file offset
* @param whence update mode
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void seek(long offset, int whence) throws MPIException
{
@ -591,7 +591,7 @@ private native void seek(long fh, long offset, int whence) throws MPIException;
/**
* Java binding of {@code MPI_FILE_GET_POSITION}.
* @return offset of individual pointer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public long getPosition() throws MPIException
{
@ -605,7 +605,7 @@ private native long getPosition(long fh) throws MPIException;
* Java binding of {@code MPI_FILE_GET_BYTE_OFFSET}.
* @param offset offset
* @return absolute byte position of offset
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public long getByteOffset(long offset) throws MPIException
{
@ -621,7 +621,7 @@ private native long getByteOffset(long fh, long offset) throws MPIException;
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readShared(Object buf, int count, Datatype type)
throws MPIException
@ -653,7 +653,7 @@ private native void readShared(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeShared(Object buf, int count, Datatype type)
throws MPIException
@ -685,7 +685,7 @@ private native void writeShared(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iReadShared(Buffer buf, int count, Datatype type)
throws MPIException
@ -704,7 +704,7 @@ private native long iReadShared(long fh, Buffer buf, int count, long type)
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request iWriteShared(Buffer buf, int count, Datatype type)
throws MPIException
@ -723,7 +723,7 @@ private native long iWriteShared(long fh, Buffer buf, int count, long type)
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readOrdered(Object buf, int count, Datatype type)
throws MPIException
@ -755,7 +755,7 @@ private native void readOrdered(
* @param count number of items in buffer
* @param type datatype of each buffer element
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeOrdered(Object buf, int count, Datatype type)
throws MPIException
@ -785,7 +785,7 @@ private native void writeOrdered(
* Java binding of {@code MPI_FILE_SEEK_SHARED}.
* @param offset file offset
* @param whence update mode
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void seekShared(long offset, int whence) throws MPIException
{
@ -799,7 +799,7 @@ private native void seekShared(long fh, long offset, int whence)
/**
* Java binding of {@code MPI_FILE_GET_POSITION_SHARED}.
* @return offset of individual pointer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public long getPositionShared() throws MPIException
{
@ -815,7 +815,7 @@ private native long getPositionShared(long fh) throws MPIException;
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void readAtAllBegin(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -852,7 +852,7 @@ private native void readAtAllBegin(
* Java binding of {@code MPI_FILE_READ_AT_ALL_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readAtAllEnd(Object buf) throws MPIException
{
@ -879,7 +879,7 @@ private native void readAtAllEnd(long fh, Object buf, long[] stat)
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void writeAtAllBegin(long offset, Object buf, int count, Datatype type)
throws MPIException
@ -916,7 +916,7 @@ private native void writeAtAllBegin(
* Java binding of {@code MPI_FILE_WRITE_AT_ALL_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeAtAllEnd(Object buf) throws MPIException
{
@ -942,7 +942,7 @@ private native void writeAtAllEnd(long fh, Object buf, long[] stat)
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void readAllBegin(Object buf, int count, Datatype type)
throws MPIException
@ -978,7 +978,7 @@ private native void readAllBegin(long fh, Object buf, int count, long type)
* Java binding of {@code MPI_FILE_READ_ALL_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readAllEnd(Object buf) throws MPIException
{
@ -1004,7 +1004,7 @@ private native void readAllEnd(long fh, Object buf, long[] stat)
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void writeAllBegin(Object buf, int count, Datatype type)
throws MPIException
@ -1040,7 +1040,7 @@ private native void writeAllBegin(long fh, Object buf, int count, long type)
* Java binding of {@code MPI_FILE_WRITE_ALL_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeAllEnd(Object buf) throws MPIException
{
@ -1066,7 +1066,7 @@ private native void writeAllEnd(long fh, Object buf, long[] stat)
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void readOrderedBegin(Object buf, int count, Datatype type)
throws MPIException
@ -1102,7 +1102,7 @@ private native void readOrderedBegin(long fh, Object buf, int count, long type)
* Java binding of {@code MPI_FILE_READ_ORDERED_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status readOrderedEnd(Object buf) throws MPIException
{
@ -1128,7 +1128,7 @@ private native void readOrderedEnd(long fh, Object buf, long[] stat)
* @param buf buffer
* @param count number of items in buffer
* @param type datatype of each buffer element
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void writeOrderedBegin(Object buf, int count, Datatype type)
throws MPIException
@ -1164,7 +1164,7 @@ private native void writeOrderedBegin(long fh, Object buf, int count, long type)
* Java binding of {@code MPI_FILE_WRITE_ORDERED_END}.
* @param buf buffer
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status writeOrderedEnd(Object buf) throws MPIException
{
@ -1194,9 +1194,9 @@ private Status getBeginStatus()
/**
* Java binding of {@code MPI_FILE_GET_TYPE_EXTENT}.
* @param type
* @param type type of data
* @return datatype extent
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getTypeExtent(Datatype type) throws MPIException
{
@ -1209,7 +1209,7 @@ private native int getTypeExtent(long fh, long type) throws MPIException;
/**
* Java binding of {@code MPI_FILE_SET_ATOMICITY}.
* @param atomicity true to set atomic mode, false to set nonatomic mode
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setAtomicity(boolean atomicity) throws MPIException
{
@ -1222,7 +1222,7 @@ private native void setAtomicity(long fh, boolean atomicity)
/**
* Java binding of {@code MPI_FILE_SYNC}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void sync() throws MPIException
{

Просмотреть файл

@ -27,6 +27,8 @@ private final int iOff, iSize;
/**
* The struct object will be created only in MPI class.
* @param intOff int offset
* @param intSize int size
* @see MPI#floatInt
*/
protected FloatInt(int intOff, int intSize)

Просмотреть файл

@ -50,7 +50,7 @@ public interface Freeable
{
/**
* Frees a freeable object.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
void free() throws MPIException;
}

Просмотреть файл

@ -90,7 +90,7 @@ protected GraphComm(long[] commRequest)
* Duplicates this communicator.
* <p>Java binding of {@code MPI_COMM_DUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public GraphComm dup() throws MPIException
{
@ -104,7 +104,7 @@ protected GraphComm(long[] commRequest)
* The request object must be obtained calling {@link #getRequest}.
* <p>Java binding of {@code MPI_COMM_IDUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public GraphComm iDup() throws MPIException
{
@ -120,7 +120,7 @@ protected GraphComm(long[] commRequest)
* from the sizes of the {@code index} and {@code edges} fields
* of the returned object.
* @return object defining node degress and edges of graph
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public GraphParms getDims() throws MPIException
{
@ -137,7 +137,7 @@ private native GraphParms getDims(long comm) throws MPIException;
* <p>The number of neighbors can be extracted from the size of the result.
* @param rank rank of a process in the group of this communicator
* @return array of ranks of neighbouring processes to one specified
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int[] getNeighbors(int rank) throws MPIException
{
@ -150,7 +150,7 @@ private native int[] getNeighbors(long comm, int rank) throws MPIException;
/**
* Gets the adjacency information for a distributed graph topology.
* @return adjacency information for a distributed graph topology
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public DistGraphNeighbors getDistGraphNeighbors() throws MPIException
{
@ -168,7 +168,7 @@ private native DistGraphNeighbors getDistGraphNeighbors(long comm)
* @param index node degrees
* @param edges graph edges
* @return reordered rank of calling process
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int map(int[] index, int[] edges) throws MPIException
{

Просмотреть файл

@ -70,7 +70,7 @@ protected Group(long handle)
/**
* Java binding of the MPI operation {@code MPI_GROUP_SIZE}.
* @return number of processes in the group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getSize() throws MPIException
{
@ -85,7 +85,7 @@ private native int getSize(long group) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_GROUP_RANK}.
* @return rank of this process in the group, or {@code MPI.UNDEFINED}
* if this process is not a member of the group.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getRank() throws MPIException
{
@ -123,7 +123,7 @@ public boolean isNull()
* @param ranks1 array of valid ranks in group1
* @param group2 another group
* @return array of corresponding ranks in group2
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int[] translateRanks(Group group1, int[] ranks1, Group group2)
throws MPIException
@ -143,7 +143,7 @@ private static native int[] translateRanks(
* @return {@code MPI.IDENT} if the group members and group order are exactly
* the same in both groups, {@code MPI.SIMILAR} if the group members are
* the same but the order is different, {@code MPI.UNEQUAL} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int compare(Group group1, Group group2) throws MPIException
{
@ -159,7 +159,7 @@ private static native int compare(long group1, long group2) throws MPIException;
* @param group1 first group
* @param group2 second group
* @return union group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Group union(Group group1, Group group2) throws MPIException
{
@ -175,7 +175,7 @@ private static native long union(long group1, long group2);
* @param group1 first group
* @param group2 second group
* @return intersection group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Group intersection(Group group1, Group group2) throws MPIException
{
@ -191,7 +191,7 @@ private static native long intersection(long group1, long group2);
* @param group1 first group
* @param group2 second group
* @return difference group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Group difference(Group group1, Group group2) throws MPIException
{
@ -206,7 +206,7 @@ private static native long difference(long group1, long group2);
* <p>Java binding of the MPI operation {@code MPI_GROUP_INCL}.
* @param ranks ranks from this group to appear in new group
* @return new group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group incl(int[] ranks) throws MPIException
{
@ -221,7 +221,7 @@ private native long incl(long group, int[] ranks);
* <p>Java binding of the MPI operation {@code MPI_GROUP_EXCL}.
* @param ranks ranks from this group <em>not</em> to appear in new group
* @return new group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group excl(int[] ranks) throws MPIException
{
@ -241,7 +241,7 @@ private native long excl(long group, int[] ranks);
* of triplets. The size of the second dimension is 3.
* @param ranges array of integer triplets
* @return new group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group rangeIncl(int[][] ranges) throws MPIException
{
@ -259,7 +259,7 @@ private native long rangeIncl(long group, int[][] ranges);
* indicating ranks in this group to be excluded from the new group.
* @param ranges array of integer triplets
* @return new group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group rangeExcl(int[][] ranges) throws MPIException
{

Просмотреть файл

@ -28,6 +28,7 @@ protected static final long NULL = getNull();
/**
* Java binding of the MPI operation {@code MPI_INFO_CREATE}.
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Info() throws MPIException
{
@ -54,7 +55,7 @@ private native static long getNull();
* Java binding of the MPI operation {@code MPI_INFO_SET}.
* @param key key
* @param value value
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void set(String key, String value) throws MPIException
{
@ -69,7 +70,7 @@ private native void set(long handle, String key, String value)
* Java binding of the MPI operation {@code MPI_INFO_SET}.
* @param key key
* @return value or {@code null} if key is not defined
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public String get(String key) throws MPIException
{
@ -82,7 +83,7 @@ private native String get(long handle, String key) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_INFO_SET}.
* @param key key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void delete(String key) throws MPIException
{
@ -95,7 +96,7 @@ private native void delete(long handle, String key) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_INFO_GET_NKEYS}.
* @return number of defined keys
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int size() throws MPIException
{
@ -109,7 +110,7 @@ private native int size(long handle) throws MPIException;
* Java binding of the MPI operation {@code MPI_INFO_GET_NTHKEY}.
* @param i key number
* @return key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public String getKey(int i) throws MPIException
{
@ -140,7 +141,7 @@ private native String getKey(long handle, int i) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_INFO_DUP}.
* @return info object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Info dup() throws MPIException
{
@ -152,7 +153,7 @@ private native long dup(long handle) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_INFO_FREE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public void free() throws MPIException
{

Просмотреть файл

@ -27,6 +27,8 @@ private final int iOff, iSize;
/**
* The struct object will be created only in MPI class.
* @param intOff int offset
* @param intSize int size
* @see MPI#int2
*/
protected Int2(int intOff, int intSize)

Просмотреть файл

@ -83,7 +83,7 @@ protected Intercomm(long[] commRequest)
* Duplicates this communicator.
* <p>Java binding of {@code MPI_COMM_DUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public Intercomm dup() throws MPIException
{
@ -97,7 +97,7 @@ protected Intercomm(long[] commRequest)
* <p>The new communicator can't be used before the operation completes.
* The request object must be obtained calling {@link #getRequest}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public Intercomm iDup() throws MPIException
{
@ -111,7 +111,7 @@ protected Intercomm(long[] commRequest)
* Size of remote group.
* <p>Java binding of the MPI operation {@code MPI_COMM_REMOTE_SIZE}.
* @return number of process in remote group of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getRemoteSize() throws MPIException
{
@ -125,7 +125,7 @@ private native int getRemoteSize_jni() throws MPIException;
* Return the remote group.
* <p>Java binding of the MPI operation {@code MPI_COMM_REMOTE_GROUP}.
* @return remote group of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group getRemoteGroup() throws MPIException
{
@ -140,7 +140,7 @@ private native long getRemoteGroup_jni();
* <p>Java binding of the MPI operation {@code MPI_INTERCOMM_MERGE}.
* @param high true if the local group has higher ranks in combined group
* @return new intra-communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Intracomm merge(boolean high) throws MPIException
{
@ -153,7 +153,7 @@ private native long merge_jni(boolean high);
/**
* Java binding of {@code MPI_COMM_GET_PARENT}.
* @return the parent communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Intercomm getParent() throws MPIException
{

Просмотреть файл

@ -102,7 +102,7 @@ protected Intracomm(long[] commRequest)
* Duplicates this communicator.
* <p>Java binding of {@code MPI_COMM_DUP}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public Intracomm dup() throws MPIException
{
@ -116,7 +116,7 @@ protected Intracomm(long[] commRequest)
* <p>The new communicator can't be used before the operation completes.
* The request object must be obtained calling {@link #getRequest}.
* @return copy of this communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public Intracomm iDup() throws MPIException
{
@ -131,7 +131,7 @@ protected Intracomm(long[] commRequest)
* @param colour control of subset assignment
* @param key control of rank assignment
* @return new communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intracomm split(int colour, int key) throws MPIException
{
@ -149,7 +149,7 @@ private native long split(long comm, int colour, int key) throws MPIException;
* @param key control of rank assignment
* @param info info argument
* @return new communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intracomm splitType(int splitType, int key, Info info) throws MPIException
{
@ -164,7 +164,7 @@ private native long splitType(long comm, int colour, int key, long info) throws
* <p>Java binding of the MPI operation {@code MPI_COMM_CREATE}.
* @param group group which is a subset of the group of this communicator
* @return new communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intracomm create(Group group) throws MPIException
{
@ -191,7 +191,7 @@ private native long create(long comm, long group);
* @param reorder {@code true} if ranking may be reordered,
* {@code false} if not
* @return new cartesian topology communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final CartComm createCart(int[] dims, boolean[] periods, boolean reorder)
throws MPIException
@ -214,7 +214,7 @@ private native long createCart(
* @param reorder {@code true} if ranking may be reordered,
* {@code false} if not
* @return new graph topology communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final GraphComm createGraph(int[] index, int[] edges, boolean reorder)
throws MPIException
@ -239,7 +239,7 @@ private native long createGraph(
* @param info hints on optimization and interpretation of weights
* @param reorder the process may be reordered (true) or not (false)
* @return communicator with distributed graph topology
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final GraphComm createDistGraph(
int[] sources, int[] degrees, int[] destinations,
@ -265,7 +265,7 @@ public final GraphComm createDistGraph(
* @param info hints on optimization and interpretation of weights
* @param reorder the process may be reordered (true) or not (false)
* @return communicator with distributed graph topology
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final GraphComm createDistGraph(
int[] sources, int[] degrees, int[] destinations,
@ -300,7 +300,7 @@ private native long createDistGraph(
* @param info hints on optimization and interpretation of weights
* @param reorder the process may be reordered (true) or not (false)
* @return communicator with distributed graph topology
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final GraphComm createDistGraphAdjacent(
int[] sources, int[] sourceWeights,
@ -328,7 +328,7 @@ public final GraphComm createDistGraphAdjacent(
* @param info hints on optimization and interpretation of weights
* @param reorder the process may be reordered (true) or not (false)
* @return communicator with distributed graph topology
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final GraphComm createDistGraphAdjacent(
int[] sources, int[] destinations, Info info, boolean reorder)
@ -355,7 +355,7 @@ private native long createDistGraphAdjacent(
* @param count number of items in input buffer
* @param type data type of each item in input buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scan(Object sendbuf, Object recvbuf,
int count, Datatype type, Op op)
@ -395,7 +395,7 @@ public final void scan(Object sendbuf, Object recvbuf,
* @param count number of items in input buffer
* @param type data type of each item in input buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void scan(Object recvbuf, int count, Datatype type, Op op)
throws MPIException
@ -430,7 +430,7 @@ private native void scan(
* @param type data type of each item in input buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScan(Buffer sendbuf, Buffer recvbuf,
int count, Datatype type, Op op)
@ -453,7 +453,7 @@ public final Request iScan(Buffer sendbuf, Buffer recvbuf,
* @param type data type of each item in buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iScan(Buffer buf, int count, Datatype type, Op op)
throws MPIException
@ -479,7 +479,7 @@ private native long iScan(
* @param count number of items in input buffer
* @param type data type of each item in input buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void exScan(Object sendbuf, Object recvbuf,
int count, Datatype type, Op op)
@ -519,7 +519,7 @@ public final void exScan(Object sendbuf, Object recvbuf,
* @param count number of items in input buffer
* @param type data type of each item in input buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void exScan(Object buf, int count, Datatype type, Op op)
throws MPIException
@ -554,7 +554,7 @@ private native void exScan(
* @param type data type of each item in input buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iExScan(Buffer sendbuf, Buffer recvbuf,
int count, Datatype type, Op op)
@ -577,7 +577,7 @@ public final Request iExScan(Buffer sendbuf, Buffer recvbuf,
* @param type data type of each item in input buffer
* @param op reduce operation
* @return communication request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request iExScan(Buffer buf, int count, Datatype type, Op op)
throws MPIException
@ -598,7 +598,7 @@ private native long iExScan(
/**
* Java binding of {@code MPI_OPEN_PORT} using {@code MPI_INFO_NULL}.
* @return port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static String openPort() throws MPIException
{
@ -610,7 +610,7 @@ public static String openPort() throws MPIException
* Java binding of {@code MPI_OPEN_PORT}.
* @param info implementation-specific information
* @return port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static String openPort(Info info) throws MPIException
{
@ -623,7 +623,7 @@ private native static String openPort(long info) throws MPIException;
/**
* Java binding of {@code MPI_CLOSE_PORT}.
* @param name port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void closePort(String name) throws MPIException
{
@ -638,6 +638,7 @@ private native static void closePort_jni(String name) throws MPIException;
* @param port port name
* @param root rank in comm of root node
* @return intercommunicator with client as remote group
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm accept(String port, int root) throws MPIException
{
@ -651,7 +652,7 @@ public final Intercomm accept(String port, int root) throws MPIException
* @param info implementation-specific information
* @param root rank in comm of root node
* @return intercommunicator with client as remote group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm accept(String port, Info info, int root)
throws MPIException
@ -668,7 +669,7 @@ private native long accept(long comm, String port, long info, int root)
* @param port port name
* @param root rank in comm of root node
* @return intercommunicator with server as remote group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm connect(String port, int root) throws MPIException
{
@ -682,7 +683,7 @@ public final Intercomm connect(String port, int root) throws MPIException
* @param info implementation-specific information
* @param root rank in comm of root node
* @return intercommunicator with server as remote group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm connect(String port, Info info, int root)
throws MPIException
@ -698,7 +699,7 @@ private native long connect(long comm, String port, long info, int root)
* Java binding of {@code MPI_PUBLISH_NAME} using {@code MPI_INFO_NULL}.
* @param service service name
* @param port port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void publishName(String service, String port)
throws MPIException
@ -712,7 +713,7 @@ public static void publishName(String service, String port)
* @param service service name
* @param info implementation-specific information
* @param port port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void publishName(String service, Info info, String port)
throws MPIException
@ -728,7 +729,7 @@ private native static void publishName(String service, long info, String port)
* Java binding of {@code MPI_UNPUBLISH_NAME} using {@code MPI_INFO_NULL}.
* @param service service name
* @param port port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void unpublishName(String service, String port)
throws MPIException
@ -742,7 +743,7 @@ public static void unpublishName(String service, String port)
* @param service service name
* @param info implementation-specific information
* @param port port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void unpublishName(String service, Info info, String port)
throws MPIException
@ -758,7 +759,7 @@ private native static void unpublishName(String service, long info, String port)
* Java binding of {@code MPI_LOOKUP_NAME} using {@code MPI_INFO_NULL}.
* @param service service name
* @return port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static String lookupName(String service) throws MPIException
{
@ -771,7 +772,7 @@ public static String lookupName(String service) throws MPIException
* @param service service name
* @param info mplementation-specific information
* @return port name
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static String lookupName(String service, Info info) throws MPIException
{
@ -795,7 +796,7 @@ private native static String lookupName(String service, long info)
* @param errcodes one code per process; if this parameter is null,
* {@code MPI_ERRCODES_IGNORE} will be used.
* @return intercommunicator between original group and the newly spawned group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm spawn(String command, String[] argv, int maxprocs,
Info info, int root, int[] errcodes)
@ -824,7 +825,7 @@ private native long spawn(long comm, String command, String[] argv,
* @param errcodes one code per process; if this parameter is null,
* {@code MPI_ERRCODES_IGNORE} will be used.
* @return intercommunicator between original group and the newly spawned group
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Intercomm spawnMultiple(
String[] commands, String[][] argv, int[] maxprocs,

Просмотреть файл

@ -27,6 +27,9 @@ private final int lSize, iOff, iSize;
/**
* The struct object will be created only in MPI class.
* @param longSize size of long
* @param intOff int offset
* @param intSize int size
* @see MPI#longInt
*/
protected LongInt(int longSize, int intOff, int intSize)

Просмотреть файл

@ -435,7 +435,7 @@ private static void initCommon() throws MPIException
* <p>Java binding of the MPI operation {@code MPI_INIT}.
* @param args arguments to the {@code main} method.
* @return arguments
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static String[] Init(String[] args) throws MPIException
{
@ -455,7 +455,7 @@ private static native String [] Init_jni(String[] args);
* @param args arguments to the {@code main} method.
* @param required desired level of thread support
* @return provided level of thread support
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int InitThread(String[] args, int required) throws MPIException
{
@ -473,7 +473,7 @@ private static native int InitThread_jni(String[] args, int required)
/**
* Java binding of the MPI operation {@code MPI_QUERY_THREAD}.
* @return provided level of thread support
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int queryThread() throws MPIException
{
@ -486,7 +486,7 @@ private static native int queryThread_jni() throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_IS_THREAD_MAIN}.
* @return true if it is the main thread
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static boolean isThreadMain() throws MPIException
{
@ -499,7 +499,7 @@ private static native boolean isThreadMain_jni() throws MPIException;
/**
* Finalize MPI.
* <p>Java binding of the MPI operation {@code MPI_FINALIZE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void Finalize() throws MPIException
{
@ -514,7 +514,7 @@ private static native void Finalize_jni() throws MPIException;
* Returns an elapsed time on the calling processor.
* <p>Java binding of the MPI operation {@code MPI_WTIME}.
* @return time in seconds since an arbitrary time in the past.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static double wtime() throws MPIException
{
@ -528,7 +528,7 @@ private static native double wtime_jni();
* Returns resolution of timer.
* <p>Java binding of the MPI operation {MPI_WTICK}.
* @return resolution of {@code wtime} in seconds.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static double wtick() throws MPIException
{
@ -542,7 +542,7 @@ private static native double wtick_jni();
* Returns the name of the processor on which it is called.
* <p>Java binding of the MPI operation {@code MPI_GET_PROCESSOR_NAME}.
* @return A unique specifier for the actual node.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
static public String getProcessorName() throws MPIException
{
@ -559,7 +559,7 @@ static private native int getProcessorName(byte[] buf);
* <p>Java binding of the MPI operation {@code MPI_INITIALIZED}.
* @return {@code true} if {@code Init} has been called,
* {@code false} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
static public native boolean isInitialized() throws MPIException;
@ -568,7 +568,7 @@ static public native boolean isInitialized() throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_FINALIZED}.
* @return {@code true} if {@code Finalize} has been called,
* {@code false} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
static public native boolean isFinalized() throws MPIException;
@ -576,7 +576,7 @@ static public native boolean isFinalized() throws MPIException;
* Attaches a user-provided buffer for sending.
* <p>Java binding of the MPI operation {@code MPI_BUFFER_ATTACH}.
* @param buffer initial buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
static public void attachBuffer(byte[] buffer) throws MPIException
{
@ -591,7 +591,7 @@ static private native void attachBuffer_jni(byte[] buffer);
* Removes an existing buffer (for use in sending).
* <p>Java binding of the MPI operation {@code MPI_BUFFER_DETACH}.
* @return initial buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
static public byte[] detachBuffer() throws MPIException
{
@ -618,7 +618,7 @@ public static void pControl(int level, Object obj)
/**
* Check if MPI has been initialized and hasn't been finalized.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
protected static void check() throws MPIException
{
@ -772,8 +772,8 @@ protected static void assertDirectBuffer(Buffer buf)
/**
* Asserts that buffers are direct.
* @param sendbuf
* @param recvbuf
* @param sendbuf The send buffer
* @param recvbuf The receive buffer
*/
protected static void assertDirectBuffer(Buffer sendbuf, Buffer recvbuf)
{

Просмотреть файл

@ -76,7 +76,7 @@ public boolean isNoProc()
* @param tag message tag
* @param comm communicator
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status mProbe(int source, int tag, Comm comm) throws MPIException
{
@ -95,7 +95,7 @@ private native long mProbe(int source, int tag, long comm, long[] status)
* @param tag message tag
* @param comm communicator
* @return status object if there is a message, {@code null} otherwise
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status imProbe(int source, int tag, Comm comm) throws MPIException
{
@ -112,6 +112,7 @@ private native Status imProbe(int source, int tag, long comm)
* @param count number of elements in receve buffer
* @param type datatype of each receive buffer element
* @return status object
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Status mRecv(Object buf, int count, Datatype type) throws MPIException
{
@ -142,7 +143,7 @@ private native long mRecv(
* @param count number of elements in receve buffer
* @param type datatype of each receive buffer element
* @return request object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request imRecv(Buffer buf, int count, Datatype type)
throws MPIException

Просмотреть файл

@ -118,7 +118,7 @@ public boolean isCommutative()
/**
* Java binding of the MPI operation {@code MPI_OP_FREE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public native void free() throws MPIException;

Просмотреть файл

@ -52,6 +52,7 @@ public final class Prequest extends Request
{
/**
* Constructor used by {@code sendInit}, etc.
* @param handle Handle for the Prequest object
*/
protected Prequest(long handle)
{
@ -65,6 +66,7 @@ protected Prequest(long handle)
* one of the {@code wait} or {@code test} operations.
* On successful completion the request becomes inactive again.
* It can be reactivated by a further call to {@code Start}.
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void start() throws MPIException
{
@ -77,7 +79,7 @@ private native long start(long request) throws MPIException;
* Activate a list of communication requests.
* <p>Java binding of the MPI operation {@code MPI_STARTALL}.
* @param requests array of requests
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void startAll(Prequest[] requests) throws MPIException
{

Просмотреть файл

@ -100,6 +100,7 @@ private native long free(long req) throws MPIException;
/**
* Mark a pending nonblocking communication for cancellation.
* Java binding of the MPI operation {@code MPI_CANCEL}.
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void cancel() throws MPIException
{
@ -123,7 +124,7 @@ public final boolean isNull()
* <p>Java binding of the MPI operation {@code MPI_WAIT}.
* <p>After the call returns, the request object becomes inactive.
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Status waitStatus() throws MPIException
{
@ -139,7 +140,7 @@ private native long waitStatus(long request, long[] stat) throws MPIException;
* Blocks until the operation identified by the request is complete.
* <p>Java binding of the MPI operation {@code MPI_WAIT}.
* <p>After the call returns, the request object becomes inactive.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final void waitFor() throws MPIException
{
@ -156,7 +157,7 @@ private native long waitFor(long request) throws MPIException;
* <p>After the call, if the operation is complete (ie, if the return
* value is non-null), the request object becomes inactive.
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Status testStatus() throws MPIException
{
@ -173,7 +174,7 @@ private native Status testStatus(long request) throws MPIException;
* <p>After the call, if the operation is complete (ie, if the return
* value is true), the request object becomes inactive.
* @return true if the operation identified by the request, false otherwise
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final boolean test() throws MPIException
{
@ -193,7 +194,7 @@ private native boolean test(long handle) throws MPIException;
* of array of {@code requests} becomes inactive.
* @param requests array of requests
* @return status object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status waitAnyStatus(Request[] requests) throws MPIException
{
@ -217,7 +218,7 @@ private static native void waitAnyStatus(long[] requests, long[] status)
* @return The index in array of {@code requests} for the request that
* completed. If all of the requests are MPI_REQUEST_NULL, then index
* is returned as {@code MPI.UNDEFINED}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int waitAny(Request[] requests) throws MPIException
{
@ -240,7 +241,7 @@ private static native int waitAny(long[] requests) throws MPIException;
* If no request completed, {testAny} returns {@code null}.
* @param requests array of requests
* @return status object if one request completed, {@code null} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status testAnyStatus(Request[] requests) throws MPIException
{
@ -261,7 +262,7 @@ private static native Status testAnyStatus(long[] requests) throws MPIException;
* @param requests array of requests
* @return index of operation that completed, or {@code MPI.UNDEFINED}
* if none completed.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int testAny(Request[] requests) throws MPIException
{
@ -283,7 +284,7 @@ private static native int testAny(long[] requests) throws MPIException;
* elements of the status array will contain null status references.
* @param requests array of requests
* @return array of statuses
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status[] waitAllStatus(Request[] requests) throws MPIException
{
@ -302,7 +303,7 @@ private static native Status[] waitAllStatus(long[] requests)
* requests in the array have completed.
* <p>Java binding of the MPI operation {@code MPI_WAITALL}.
* @param requests array of requests
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void waitAll(Request[] requests) throws MPIException
{
@ -323,7 +324,7 @@ private static native void waitAll(long[] requests) throws MPIException;
* @param requests array of requests
* @return array of statuses if all operations have completed,
* {@code null} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status[] testAllStatus(Request[] requests) throws MPIException
{
@ -344,7 +345,7 @@ private static native Status[] testAllStatus(long[] requests)
* @param requests array of requests
* @return {@code true} if all operations have completed,
* {@code false} otherwise.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static boolean testAll(Request[] requests) throws MPIException
{
@ -369,7 +370,7 @@ private static native boolean testAll(long[] requests) throws MPIException;
* @param requests array of requests
* @return array of statuses or {@code null} if the number of operations
* completed is {@code MPI_UNDEFINED}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status[] waitSomeStatus(Request[] requests) throws MPIException
{
@ -393,7 +394,7 @@ private static native Status[] waitSomeStatus(long[] requests)
* @param requests array of requests
* @return array of indexes of {@code requests} that completed or {@code null}
* if the number of operations completed is {@code MPI_UNDEFINED}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int[] waitSome(Request[] requests) throws MPIException
{
@ -413,7 +414,7 @@ private static native int[] waitSome(long[] requests) throws MPIException;
* length zero, otherwise the return value are as for {@code waitSome}.
* @param requests array of requests
* @return array of statuses
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static Status[] testSomeStatus(Request[] requests) throws MPIException
{
@ -434,7 +435,7 @@ private static native Status[] testSomeStatus(long[] requests)
* length zero, otherwise the return value are as for {@code waitSome}.
* @param requests array of requests
* @return array of indexes of {@code requests} that completed.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int[] testSome(Request[] requests) throws MPIException
{

Просмотреть файл

@ -27,6 +27,9 @@ private final int sSize, iOff, iSize;
/**
* The struct object will be created only in MPI class.
* @param shortSize short size
* @param intOff int offset
* @param intSize int size
* @see MPI#shortInt
*/
protected ShortInt(int shortSize, int intOff, int intSize)

Просмотреть файл

@ -72,7 +72,7 @@ protected Status()
* <p>Java binding of the MPI operation {@code MPI_GET_COUNT}.
* @param datatype datatype of each item in receive buffer
* @return number of received entries
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getCount(Datatype datatype) throws MPIException
{
@ -94,7 +94,7 @@ private native int getCount(
* Tests if the communication was cancelled.
* <p>Java binding of the MPI operation {@code MPI_TEST_CANCELLED}.
* @return true if the operation was succesfully cancelled, false otherwise
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public boolean isCancelled() throws MPIException
{
@ -117,7 +117,7 @@ private native boolean isCancelled(
* <p>Java binding of the MPI operation {@code MPI_GET_ELEMENTS}.
* @param datatype datatype used by receive operation
* @return number of received basic elements
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public int getElements(Datatype datatype) throws MPIException
{

Просмотреть файл

@ -64,7 +64,7 @@ private void createStruct() throws MPIException
/**
* Returns the extent of the struct data type.
* @return Extent of the struct data type.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int getExtent() throws MPIException
{
@ -75,7 +75,7 @@ public final int getExtent() throws MPIException
/**
* Returns the data type of the struct.
* @return The data type of the struct.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Datatype getType() throws MPIException
{
@ -102,7 +102,7 @@ private <T extends Data> T newData(ByteBuffer buffer, int offset)
* Gets a Data object in order to access to the buffer.
* @param buffer the Data object will read/write on this buffer.
* @return Data object
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final <T extends Data> T getData(ByteBuffer buffer) throws MPIException
{
@ -116,7 +116,7 @@ public final <T extends Data> T getData(ByteBuffer buffer) throws MPIException
* @param buffer The Data object will read/write on this buffer.
* @param index Index of the struct in the buffer.
* @return Data object.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final <T extends Data> T getData(ByteBuffer buffer, int index)
throws MPIException
@ -129,7 +129,7 @@ public final <T extends Data> T getData(ByteBuffer buffer, int index)
* Gets a Data object in order to access to the byte array.
* @param array The Data object will read/write on this byte array.
* @return Data object.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final <T extends Data> T getData(byte[] array) throws MPIException
{
@ -144,7 +144,7 @@ public final <T extends Data> T getData(byte[] array) throws MPIException
* @param array The Data object will read/write on this byte array.
* @param index Index of the struct in the array.
* @return Data object.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final <T extends Data> T getData(byte[] array, int index)
throws MPIException
@ -323,7 +323,7 @@ public final int addDouble(int length)
* Adds a struct field to this struct.
* @param struct Type of the field.
* @return Offset of the new field.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int addStruct(Struct struct) throws MPIException
{
@ -335,7 +335,7 @@ public final int addStruct(Struct struct) throws MPIException
* @param struct Type of the array.
* @param length Length of the array.
* @return Offset of the new field.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int addStruct(Struct struct, int length) throws MPIException
{
@ -347,7 +347,7 @@ public final int addStruct(Struct struct, int length) throws MPIException
* Adds a field of the specified data type.
* @param type Data type.
* @return Offset of the new field.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int addData(Datatype type) throws MPIException
{
@ -359,7 +359,7 @@ public final int addData(Datatype type) throws MPIException
* @param type Data type.
* @param length Length of the array.
* @return Offset of the new field.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final int addData(Datatype type, int length) throws MPIException
{
@ -776,7 +776,7 @@ public abstract class Data
* @param field Offset of the buffer array.
* @param index Index of the buffer in the array.
* @return Buffer object.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
protected final ByteBuffer getBuffer(Datatype type, int field, int index)
throws MPIException

Просмотреть файл

@ -54,10 +54,11 @@ public abstract class UserFunction
{
/**
* User-defined function for a new {@code Op}.
* @param inVec array of values to combine with {@code inoutvec} elements
* @param inOutVec in-out array of accumulator locations
* @param count number of items in arrays
* @param datatype type of each item
* @param inVec array of values to combine with {@code inoutvec} elements
* @param inOutVec in-out array of accumulator locations
* @param count number of items in arrays
* @param datatype type of each item
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void call(Object inVec, Object inOutVec, int count, Datatype datatype)
throws MPIException
@ -67,10 +68,11 @@ public void call(Object inVec, Object inOutVec, int count, Datatype datatype)
/**
* User-defined function for a new {@code Op}.
* @param in direct byte buffer to combine with {@code inOut} buffer
* @param inOut in-out direct byte buffer of accumulator locations
* @param count number of items in buffers
* @param datatype type of each item
* @param in direct byte buffer to combine with {@code inOut} buffer
* @param inOut in-out direct byte buffer of accumulator locations
* @param count number of items in buffers
* @param datatype type of each item
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void call(ByteBuffer in, ByteBuffer inOut, int count, Datatype datatype)
throws MPIException

Просмотреть файл

@ -41,7 +41,7 @@ public static final int FLAVOR_SHARED = 1;
* @param dispUnit local unit size for displacements (buffer elements)
* @param info info object
* @param comm communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Win(Buffer base, int size, int dispUnit, Info info, Comm comm)
throws MPIException
@ -80,7 +80,7 @@ private native long createWin(
* @param comm communicator
* @param base initial address of window
* @param flavor FLAVOR_PRIVATE or FLAVOR_SHARED
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Win(int size, int dispUnit, Info info, Comm comm, Buffer base, int flavor)
throws MPIException
@ -123,7 +123,7 @@ private native long allocateSharedWin(
* Java binding of {@code MPI_WIN_CREATE_DYNAMIC}.
* @param info info object
* @param comm communicator
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Win(Info info, Comm comm)
throws MPIException
@ -153,6 +153,7 @@ private int getBaseType(Datatype orgType, Datatype targetType)
* Java binding of {@code MPI_WIN_ATTACH}.
* @param base initial address of window
* @param size size of window (buffer elements)
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void attach(Buffer base, int size) throws MPIException
{
@ -183,6 +184,7 @@ private native void attach(long win, Buffer base, int size) throws MPIException;
/**
* Java binding of {@code MPI_WIN_DETACH}.
* @param base initial address of window
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void detach(Buffer base) throws MPIException
{
@ -198,7 +200,7 @@ private native void detach(long win, Buffer base) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_GET_GROUP}.
* @return group of processes which share access to the window
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Group getGroup() throws MPIException
{
@ -217,7 +219,7 @@ private native long getGroup(long win) throws MPIException;
* @param targetDisp displacement from start of window to target buffer
* @param targetCount number of entries in target buffer
* @param targetType datatype of each entry in target buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void put(Buffer origin, int orgCount, Datatype orgType,
int targetRank, int targetDisp, int targetCount,
@ -248,6 +250,7 @@ private native void put(
* @param targetDisp displacement from start of window to target buffer
* @param targetCount number of entries in target buffer
* @param targetType datatype of each entry in target buffer
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void get(Buffer origin, int orgCount, Datatype orgType,
int targetRank, int targetDisp, int targetCount,
@ -279,6 +282,7 @@ private native void get(
* @param targetCount number of entries in target buffer
* @param targetType datatype of each entry in target buffer
* @param op reduce operation
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void accumulate(Buffer origin, int orgCount, Datatype orgType,
int targetRank, int targetDisp, int targetCount,
@ -303,6 +307,7 @@ private native void accumulate(
/**
* Java binding of {@code MPI_WIN_FENCE}.
* @param assertion program assertion
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void fence(int assertion) throws MPIException
{
@ -316,7 +321,7 @@ private native void fence(long win, int assertion) throws MPIException;
* Java binding of the MPI operation {@code MPI_WIN_START}.
* @param group group of target processes
* @param assertion program assertion
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void start(Group group, int assertion) throws MPIException
{
@ -329,7 +334,7 @@ private native void start(long win, long group, int assertion)
/**
* Java binding of the MPI operation {@code MPI_WIN_COMPLETE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void complete() throws MPIException
{
@ -343,7 +348,7 @@ private native void complete(long win) throws MPIException;
* Java binding of the MPI operation {@code MPI_WIN_POST}.
* @param group group of origin processes
* @param assertion program assertion
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void post(Group group, int assertion) throws MPIException
{
@ -356,7 +361,7 @@ private native void post(long win, long group, int assertion)
/**
* Java binding of the MPI operation {@code MPI_WIN_WAIT}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void waitFor() throws MPIException
{
@ -369,7 +374,7 @@ private native void waitFor(long win) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_TEST}.
* @return true if success
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public boolean test() throws MPIException
{
@ -384,7 +389,7 @@ private native boolean test(long win) throws MPIException;
* @param lockType either MPI.LOCK_EXCLUSIVE or MPI.LOCK_SHARED
* @param rank rank of locked window
* @param assertion program assertion
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void lock(int lockType, int rank, int assertion) throws MPIException
{
@ -398,7 +403,7 @@ private native void lock(long win, int lockType, int rank, int assertion)
/**
* Java binding of the MPI operation {@code MPI_WIN_UNLOCK}.
* @param rank rank of window
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void unlock(int rank) throws MPIException
{
@ -411,7 +416,7 @@ private native void unlock(long win, int rank) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_SET_ERRHANDLER}.
* @param errhandler new MPI error handler for window
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setErrhandler(Errhandler errhandler) throws MPIException
{
@ -425,7 +430,7 @@ private native void setErrhandler(long win, long errhandler)
/**
* Java binding of the MPI operation {@code MPI_WIN_CALL_ERRHANDLER}.
* @param errorCode error code
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void callErrhandler(int errorCode) throws MPIException
{
@ -439,7 +444,7 @@ private native void callErrhandler(long handle, int errorCode)
* Create a new attribute key.
* <p>Java binding of the MPI operation {@code MPI_WIN_CREATE_KEYVAL}.
* @return attribute key for future access
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static int createKeyval() throws MPIException
{
@ -453,7 +458,7 @@ private static native int createKeyval_jni() throws MPIException;
* Frees an attribute key.
* <p>Java binding of the MPI operation {@code MPI_WIN_FREE_KEYVAL}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public static void freeKeyval(int keyval) throws MPIException
{
@ -468,7 +473,7 @@ private static native void freeKeyval_jni(int keyval) throws MPIException;
* <p>Java binding of the MPI operation {@code MPI_WIN_SET_ATTR}.
* @param keyval attribute key
* @param value attribute value
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setAttr(int keyval, Object value) throws MPIException
{
@ -484,7 +489,7 @@ private native void setAttr(long win, int keyval, byte[] value)
* <p>Java binding of the MPI operation {@code MPI_WIN_GET_ATTR}.
* @param keyval attribute key
* @return attribute value or null if no attribute is associated with the key.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Object getAttr(int keyval) throws MPIException
{
@ -499,7 +504,7 @@ private native Object getAttr(long win, int keyval) throws MPIException;
* Deletes an attribute value associated with a key.
* <p>Java binding of the MPI operation {@code MPI_WIN_DELETE_ATTR}.
* @param keyval attribute key
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void deleteAttr(int keyval) throws MPIException
{
@ -511,7 +516,7 @@ private native void deleteAttr(long win, int keyval) throws MPIException;
/**
* Java binding of {@code MPI_WIN_FREE}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
@Override public void free() throws MPIException
{
@ -523,7 +528,8 @@ private native long free(long win) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_GET_INFO}.
* @throws MPIException
* @return Info Info object associated with this window
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Info getInfo() throws MPIException
{
@ -537,7 +543,7 @@ private native long getInfo(long win)
/**
* Java binding of the MPI operation {@code MPI_WIN_SET_INFO}.
* @param info the new info
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void setInfo(Info info) throws MPIException
{
@ -558,7 +564,7 @@ private native void setInfo(long win, long info)
* @param target_count number of entries in target buffer
* @param target_datatype datatype of each entry in target buffer
* @return RMA request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request rPut(Buffer origin_addr, int origin_count,
Datatype origin_datatype, int target_rank, int target_disp,
@ -588,7 +594,7 @@ private native long rPut(long win, Buffer origin_addr, int origin_count,
* @param targetCount number of entries in target buffer
* @param targetType datatype of each entry in target buffer
* @return RMA request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public final Request rGet(Buffer origin, int orgCount, Datatype orgType,
int targetRank, int targetDisp, int targetCount,
@ -621,7 +627,7 @@ private native long rGet(
* @param targetType datatype of each entry in target buffer
* @param op reduce operation
* @return RMA request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request rAccumulate(Buffer origin, int orgCount, Datatype orgType,
int targetRank, int targetDisp, int targetCount,
@ -656,7 +662,7 @@ private native long rAccumulate(
* @param targetCount number of entries in target buffer
* @param targetType datatype of each entry in target buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void getAccumulate(Buffer origin, int orgCount, Datatype orgType,
@ -696,7 +702,7 @@ private native void getAccumulate(
* @param targetType datatype of each entry in target buffer
* @param op reduce operation
* @return RMA request
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public Request rGetAccumulate(Buffer origin, int orgCount, Datatype orgType,
@ -725,7 +731,7 @@ private native long rGetAccumulate(
/**
* Java binding of the MPI operation {@code MPI_WIN_LOCK_ALL}.
* @param assertion program assertion
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void lockAll(int assertion) throws MPIException
{
@ -738,7 +744,7 @@ private native void lockAll(long win, int assertion)
/**
* Java binding of the MPI operation {@code MPI_WIN_UNLOCK_ALL}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void unlockAll() throws MPIException
{
@ -750,7 +756,7 @@ private native void unlockAll(long win) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_SYNC}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void sync() throws MPIException
{
@ -763,7 +769,7 @@ private native void sync(long win) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_FLUSH}.
* @param targetRank rank of target window
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void flush(int targetRank) throws MPIException
{
@ -775,7 +781,7 @@ private native void flush(long win, int targetRank) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_FLUSH_ALL}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void flushAll() throws MPIException
{
@ -793,7 +799,7 @@ private native void flushAll(long win) throws MPIException;
* @param targetType datatype of each entry in target buffer
* @param targetRank rank of target
* @param targetDisp displacement from start of window to target buffer
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void compareAndSwap(Buffer origin, Buffer compareAddr, Buffer resultAddr,
@ -821,7 +827,7 @@ private native void compareAndSwap(
* @param targetRank rank of target
* @param targetDisp displacement from start of window to target buffer
* @param op reduce operation
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void fetchAndOp(Buffer origin, Buffer resultAddr, Datatype dataType,
@ -844,7 +850,7 @@ private native void fetchAndOp(
/**
* Java binding of the MPI operation {@code MPI_WIN_FLUSH_LOCAL}.
* @param targetRank rank of target window
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void flushLocal(int targetRank) throws MPIException
@ -857,7 +863,7 @@ private native void flushLocal(long win, int targetRank) throws MPIException;
/**
* Java binding of the MPI operation {@code MPI_WIN_FLUSH_LOCAL_ALL}.
* @throws MPIException
* @throws MPIException Signals that an MPI exception of some sort has occurred.
*/
public void flushLocalAll() throws MPIException