| Constructor and Description |
|---|
Win(java.nio.Buffer base,
int size,
int dispUnit,
Info info,
Comm comm)
Java binding of
MPI_WIN_CREATE. |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType,
Op op)
Java binding of
MPI_ACCUMULATE. |
void |
callErrhandler(int errorCode)
Java binding of the MPI operation
MPI_WIN_CALL_ERRHANDLER. |
void |
complete()
Java binding of the MPI operation
MPI_WIN_COMPLETE. |
static int |
createKeyval()
Create a new attribute key.
|
void |
deleteAttr(int keyval)
Deletes an attribute value associated with a key.
|
void |
fence(int assertion)
Java binding of
MPI_WIN_FENCE. |
void |
free()
Java binding of
MPI_WIN_FREE. |
static void |
freeKeyval(int keyval)
Frees an attribute key.
|
void |
get(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType)
Java binding of
MPI_GET. |
java.lang.Object |
getAttr(int keyval)
Retrieves attribute value by key.
|
Group |
getGroup()
Java binding of the MPI operation
MPI_GET_GROUP. |
void |
lock(int lockType,
int rank,
int assertion)
Java binding of the MPI operation
MPI_WIN_LOCK. |
void |
post(Group group,
int assertion)
Java binding of the MPI operation
MPI_WIN_POST. |
void |
put(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType)
Java binding of
MPI_PUT. |
void |
setAttr(int keyval,
java.lang.Object value)
Stores attribute value associated with a key.
|
void |
setErrhandler(Errhandler errhandler)
Java binding of the MPI operation
MPI_WIN_SET_ERRHANDLER. |
void |
start(Group group,
int assertion)
Java binding of the MPI operation
MPI_WIN_START. |
boolean |
test()
Java binding of the MPI operation
MPI_WIN_TEST. |
void |
unlock(int rank)
Java binding of the MPI operation
MPI_WIN_UNLOCK. |
void |
waitFor()
Java binding of the MPI operation
MPI_WIN_WAIT. |
public Win(java.nio.Buffer base,
int size,
int dispUnit,
Info info,
Comm comm)
throws MPIException
MPI_WIN_CREATE.base - initial address of windowsize - size of window (buffer elements)dispUnit - local unit size for displacements (buffer elements)info - info objectcomm - communicatorMPIExceptionpublic Group getGroup() throws MPIException
MPI_GET_GROUP.MPIExceptionpublic void put(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType)
throws MPIException
MPI_PUT.origin - origin bufferorgCount - number of entries in origin bufferorgType - datatype of each entry in origin buffertargetRank - rank of targettargetDisp - displacement from start of window to target buffertargetCount - number of entries in target buffertargetType - datatype of each entry in target bufferMPIExceptionpublic void get(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType)
throws MPIException
MPI_GET.origin - origin bufferorgCount - number of entries in origin bufferorgType - datatype of each entry in origin buffertargetRank - rank of targettargetDisp - displacement from start of window to target buffertargetCount - number of entries in target buffertargetType - datatype of each entry in target bufferMPIExceptionpublic void accumulate(java.nio.Buffer origin,
int orgCount,
Datatype orgType,
int targetRank,
int targetDisp,
int targetCount,
Datatype targetType,
Op op)
throws MPIException
MPI_ACCUMULATE.origin - origin bufferorgCount - number of entries in origin bufferorgType - datatype of each entry in origin buffertargetRank - rank of targettargetDisp - displacement from start of window to target buffertargetCount - number of entries in target buffertargetType - datatype of each entry in target bufferop - reduce operationMPIExceptionpublic void fence(int assertion)
throws MPIException
MPI_WIN_FENCE.assertion - program assertionMPIExceptionpublic void start(Group group, int assertion) throws MPIException
MPI_WIN_START.group - group of target processesassertion - program assertionMPIExceptionpublic void complete()
throws MPIException
MPI_WIN_COMPLETE.MPIExceptionpublic void post(Group group, int assertion) throws MPIException
MPI_WIN_POST.group - group of origin processesassertion - program assertionMPIExceptionpublic void waitFor()
throws MPIException
MPI_WIN_WAIT.MPIExceptionpublic boolean test()
throws MPIException
MPI_WIN_TEST.MPIExceptionpublic void lock(int lockType,
int rank,
int assertion)
throws MPIException
MPI_WIN_LOCK.lockType - either MPI.LOCK_EXCLUSIVE or MPI.LOCK_SHAREDrank - rank of locked windowassertion - program assertionMPIExceptionpublic void unlock(int rank)
throws MPIException
MPI_WIN_UNLOCK.rank - rank of windowMPIExceptionpublic void setErrhandler(Errhandler errhandler) throws MPIException
MPI_WIN_SET_ERRHANDLER.errhandler - new MPI error handler for windowMPIExceptionpublic void callErrhandler(int errorCode)
throws MPIException
MPI_WIN_CALL_ERRHANDLER.errorCode - error codeMPIExceptionpublic static int createKeyval()
throws MPIException
Java binding of the MPI operation MPI_WIN_CREATE_KEYVAL.
MPIExceptionpublic static void freeKeyval(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_FREE_KEYVAL.
keyval - attribute keyMPIExceptionpublic void setAttr(int keyval,
java.lang.Object value)
throws MPIException
Java binding of the MPI operation MPI_WIN_SET_ATTR.
keyval - attribute keyvalue - attribute valueMPIExceptionpublic java.lang.Object getAttr(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_GET_ATTR.
keyval - attribute keyMPIExceptionpublic void deleteAttr(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_DELETE_ATTR.
keyval - attribute keyMPIExceptionpublic void free()
throws MPIException
MPI_WIN_FREE.free in interface FreeableMPIException