程序包 mpi
类 Intercomm
java.lang.Object
mpi.Comm
mpi.Intercomm
This class represents intercommunicators.
-
字段概要
从类继承的字段 mpi.Comm
handle, SELF, TYPE_SHARED, WORLD
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()
Duplicates this communicator.dup()
Duplicates this communicator.dupWithInfo
(Info info) Duplicates this communicator with the info object used in the call.static Intercomm
Java binding ofMPI_COMM_GET_PARENT
.Return the remote group.int
Size of remote group.iDup()
Duplicates this communicator.merge
(boolean high) Creates an intracommuncator from an intercommunicator从类继承的方法 mpi.Comm
abort, allGather, allGather, allGatherv, allGatherv, allReduce, allReduce, allToAll, allToAllv, allToAllw, barrier, bcast, bSend, bSendInit, callErrhandler, compare, createIntercomm, createKeyval, deleteAttr, disconnect, dup, dupWithInfo, free, freeKeyval, gather, gather, gatherv, gatherv, gatherv, getAttr, getErrhandler, getGroup, getInfo, getName, getRank, getRequest, getSize, getTopology, iAllGather, iAllGather, iAllGatherv, iAllGatherv, iAllReduce, iAllReduce, iAllToAll, iAllToAllv, iAllToAllw, iBarrier, iBcast, ibSend, iDup, iGather, iGather, iGatherv, iGatherv, iGatherv, iNeighborAllGather, iNeighborAllGatherv, iNeighborAllToAll, iNeighborAllToAllv, iProbe, iRecv, iReduce, iReduce, iReduceScatter, iReduceScatter, iReduceScatterBlock, iReduceScatterBlock, irSend, iScatter, iScatter, iScatterv, iScatterv, iScatterv, iSend, isInter, isNull, isSend, neighborAllGather, neighborAllGatherv, neighborAllToAll, neighborAllToAllv, pack, packSize, probe, recv, recvInit, reduce, reduce, reduceLocal, reduceScatter, reduceScatter, reduceScatterBlock, reduceScatterBlock, rSend, rSendInit, scatter, scatter, scatterv, scatterv, scatterv, send, sendInit, sendRecv, sendRecvReplace, setAttr, setErrhandler, setInfo, setName, setType, sSend, sSendInit, unpack
-
构造器详细资料
-
Intercomm
protected Intercomm(long handle) -
Intercomm
protected Intercomm(long[] commRequest)
-
-
方法详细资料
-
clone
Duplicates this communicator.Java binding of
MPI_COMM_DUP
.It is recommended to use
dup()
instead ofclone()
because the last can't throw anMPIException
. -
dup
Duplicates this communicator.Java binding of
MPI_COMM_DUP
.- 覆盖:
dup
在类中Comm
- 返回:
- copy of this communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
iDup
Duplicates this communicator.Java binding of
MPI_COMM_IDUP
.The new communicator can't be used before the operation completes. The request object must be obtained calling
Comm.getRequest()
.- 覆盖:
iDup
在类中Comm
- 返回:
- copy of this communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
dupWithInfo
Duplicates this communicator with the info object used in the call.Java binding of
MPI_COMM_DUP_WITH_INFO
.- 覆盖:
dupWithInfo
在类中Comm
- 参数:
info
- info object to associate with the new communicator- 返回:
- copy of this communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
getRemoteSize
Size of remote group.Java binding of the MPI operation
MPI_COMM_REMOTE_SIZE
.- 返回:
- number of process in remote group of this communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
getRemoteGroup
Return the remote group.Java binding of the MPI operation
MPI_COMM_REMOTE_GROUP
.- 返回:
- remote group of this communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
merge
Creates an intracommuncator from an intercommunicatorJava binding of the MPI operation
MPI_INTERCOMM_MERGE
.- 参数:
high
- true if the local group has higher ranks in combined group- 返回:
- new intra-communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
getParent
Java binding ofMPI_COMM_GET_PARENT
.- 返回:
- the parent communicator
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-