| 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 - communicatorMPIException - Signals that an MPI exception of some sort has occurred.public Group getGroup() throws MPIException
MPI_GET_GROUP.MPIException - Signals that an MPI exception of some sort has occurred.public 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 bufferMPIException - Signals that an MPI exception of some sort has occurred.public 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 bufferMPIException - Signals that an MPI exception of some sort has occurred.public 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 operationMPIException - Signals that an MPI exception of some sort has occurred.public void fence(int assertion)
throws MPIException
MPI_WIN_FENCE.assertion - program assertionMPIException - Signals that an MPI exception of some sort has occurred.public void start(Group group, int assertion) throws MPIException
MPI_WIN_START.group - group of target processesassertion - program assertionMPIException - Signals that an MPI exception of some sort has occurred.public void complete()
throws MPIException
MPI_WIN_COMPLETE.MPIException - Signals that an MPI exception of some sort has occurred.public void post(Group group, int assertion) throws MPIException
MPI_WIN_POST.group - group of origin processesassertion - program assertionMPIException - Signals that an MPI exception of some sort has occurred.public void waitFor()
throws MPIException
MPI_WIN_WAIT.MPIException - Signals that an MPI exception of some sort has occurred.public boolean test()
throws MPIException
MPI_WIN_TEST.MPIException - Signals that an MPI exception of some sort has occurred.public 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 assertionMPIException - Signals that an MPI exception of some sort has occurred.public void unlock(int rank)
throws MPIException
MPI_WIN_UNLOCK.rank - rank of windowMPIException - Signals that an MPI exception of some sort has occurred.public void setErrhandler(Errhandler errhandler) throws MPIException
MPI_WIN_SET_ERRHANDLER.errhandler - new MPI error handler for windowMPIException - Signals that an MPI exception of some sort has occurred.public void callErrhandler(int errorCode)
throws MPIException
MPI_WIN_CALL_ERRHANDLER.errorCode - error codeMPIException - Signals that an MPI exception of some sort has occurred.public static int createKeyval()
throws MPIException
Java binding of the MPI operation MPI_WIN_CREATE_KEYVAL.
MPIException - Signals that an MPI exception of some sort has occurred.public static void freeKeyval(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_FREE_KEYVAL.
keyval - attribute keyMPIException - Signals that an MPI exception of some sort has occurred.public void setAttr(int keyval,
java.lang.Object value)
throws MPIException
Java binding of the MPI operation MPI_WIN_SET_ATTR.
keyval - attribute keyvalue - attribute valueMPIException - Signals that an MPI exception of some sort has occurred.public java.lang.Object getAttr(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_GET_ATTR.
keyval - attribute keyMPIException - Signals that an MPI exception of some sort has occurred.public void deleteAttr(int keyval)
throws MPIException
Java binding of the MPI operation MPI_WIN_DELETE_ATTR.
keyval - attribute keyMPIException - Signals that an MPI exception of some sort has occurred.public void free()
throws MPIException
MPI_WIN_FREE.free in interface FreeableMPIException - Signals that an MPI exception of some sort has occurred.