Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
java.lang.Object | +----mpi.Comm | +----mpi.Intracomm
Fields inherited from class mpi.Comm |
handle, NULL, SELF, WORLD |
Constructor Summary | |
Intracomm()
|
|
Intracomm(int Type)
|
|
Intracomm(long _handle)
|
Method Summary | |
void | Allgather(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int recvcount,
Datatype recvtype)
|
void | Allgatherv(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int[] recvcounts,
int[] displs,
Datatype recvtype)
|
void | Allreduce(java.lang.Object sendbuf,
int sendoffset,
java.lang.Object recvbuf,
int recvoffset,
int count,
Datatype datatype,
Op op)
|
void | Alltoall(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int recvcount,
Datatype recvtype)
|
void | Alltoallv(java.lang.Object sendbuf,
int sendoffset,
int[] sendcounts,
int[] sdispls,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int[] recvcounts,
int[] displs,
Datatype recvtype)
|
void | Barrier()
|
void | Bcast(java.lang.Object buf,
int offset,
int count,
Datatype datatype,
int root)
|
java.lang.Object | clone()
|
Intracomm | Creat(Group group)
|
Cartcomm | Create_cart(int[] dims,
boolean[] periods,
boolean reorder)
|
Graphcomm | Create_graph(int[] index,
int[] edges,
boolean reorder)
|
void | Gather(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int recvcount,
Datatype recvtype,
int root)
|
void | Gatherv(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int[] recvcounts,
int[] displs,
Datatype recvtype,
int root)
|
long | GetGraph(int[] index,
int[] edges,
boolean reorder)
|
void | Reduce(java.lang.Object sendbuf,
int sendoffset,
java.lang.Object recvbuf,
int recvoffset,
int count,
Datatype datatype,
Op op,
int root)
|
void | Reduce_scatter(java.lang.Object sendbuf,
int sendoffset,
java.lang.Object recvbuf,
int recvoffset,
int[] recvcounts,
Datatype datatype,
Op op)
|
void | Scan(java.lang.Object sendbuf,
int sendoffset,
java.lang.Object recvbuf,
int recvoffset,
int count,
Datatype datatype,
Op op)
|
void | Scatter(java.lang.Object sendbuf,
int sendoffset,
int sendcount,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int recvcount,
Datatype recvtype,
int root)
|
void | Scatterv(java.lang.Object sendbuf,
int sendoffset,
int[] sendcounts,
int[] displs,
Datatype sendtype,
java.lang.Object recvbuf,
int recvoffset,
int recvcount,
Datatype recvtype,
int root)
|
Intracomm | Split(int colour,
int key)
|
Methods inherited from class mpi.Comm |
Abort, Attr_delete, Attr_get, Attr_put, Bsend, Bsend_init, clone, Compare, Create_intercomm, dup, Errhandler_set, Errorhandler_get, Free, GetComm, GetIntercomm, Group, Ibsend, Iprobe, Irecv, Irsend, Isend, Issend, Pack, Pack_size, Probe, Rank, Recv, Recv_init, Rsend, Rsend_init, Send, Send_init, Sendrecv, Sendrecv_replace, Size, Ssend, Ssend_init, Test_inter, Topo_test, Unpack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Intracomm()
public Intracomm(int Type)
public Intracomm(long _handle)
Method Detail |
public java.lang.Object clone()
public Intracomm Split(int colour, int key)
color | control of subset assignment |
key | control of rank assignment |
returns: | new communicator |
Java binding of the MPI operation MPI_COMM_SPLIT.
public Intracomm Creat(Group group)
group | group which is a subset of the group of this communicator |
returns: | new communicator |
Java binding of the MPI operation MPI_COMM_CREATE.
public void Barrier()
Java binding of the MPI operation MPI_BARRIER.
public void Bcast(java.lang.Object buf, int offset, int count, Datatype datatype, int root)
buf | buffer array |
offset | initial offset in buffer |
count | number of items in buffer |
datatype | datatype of each item in buffer |
root | rank of broadcast root |
Java binding of the MPI operation MPI_BCST.
public void Gather(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items to send |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcount | number of items to receive |
recvtype | datatype of each item in receive buffer |
root | rank of receiving process |
Java binding of the MPI operation MPI_GATHER.
public void Gatherv(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcounts, int[] displs, Datatype recvtype, int root)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items to send |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcounts | number of elements received from each process |
displs | displacements at which to place incoming data |
recvtype | datatype of each item in receive buffer |
root | rank of receiving process |
Java binding of the MPI operation MPI_GATHERV.
The sizes of arrays recvcounts and displs should be the size of the group. Entry i of displs specifies the displacement relative to element recvoffset of recvbuf at which to place incoming data.
public void Scatter(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items to send |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcount | number of items to receive |
recvtype | datatype of each item in receive buffer |
root | rank of sending process |
Java binding of the MPI operation MPI_SCATTER.
public void Scatterv(java.lang.Object sendbuf, int sendoffset, int[] sendcounts, int[] displs, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcounts | number of items sent to each process |
displs | displacements from which to take outgoing data |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcount | number of items to receive |
recvtype | datatype of each item in receive buffer |
root | rank of sending process |
Java binding of the MPI operation MPI_SCATTERV.
public void Allgather(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items to send |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcount | number of items to receive |
recvtype | datatype of each item in receive buffer |
Java binding of the MPI operation MPI_ALLGATHER.
public void Allgatherv(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcounts, int[] displs, Datatype recvtype)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items to send |
sendtype | datatype of each item in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcounts | number of elements received from each process |
displs | displacements at which to place incoming data |
recvtype | datatype of each item in receive buffer |
Java binding of the MPI operation MPI_ALLGATHERV.
public void Alltoall(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcount | number of items sent to each process |
sendtype | datatype send buffer items |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcount | number of items received from any process |
recvtype | datatype of receive buffer items |
Java binding of the MPI operation MPI_ALLTOALL.
public void Alltoallv(java.lang.Object sendbuf, int sendoffset, int[] sendcounts, int[] sdispls, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcounts, int[] displs, Datatype recvtype)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
sendcounts | number of items sent to each process |
sdispls | displacements from which to take outgoing data |
sendtype | datatype send buffer items |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcounts | number of elements received from each process |
rdispls | displacements at which to place incoming data |
recvtype | datatype of each item in receive buffer |
Java binding of the MPI operation MPI_ALLTOALLV.
public void Reduce(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op, int root)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
count | number of items in send buffer |
datatype | data type of each item in send buffer |
op | reduce operation |
root | rank of root process |
Java binding of the MPI operation MPI_REDUCE.
The predefined operations are available in Java as MPI.MAX, MPI.MIN, MPI.SUM, MPI.PROD, MPI.LAND, MPI.BAND, MPI.LOR, MPI.BOR, MPI.LXOR, MPI.BXOR, MPI.MINLOC and MPI.MAXLOC.
public void Allreduce(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
count | number of items in send buffer |
datatype | data type of each item in send buffer |
op | reduce operation |
Java binding of the MPI operation MPI_ALLREDUCE.
public void Reduce_scatter(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int[] recvcounts, Datatype datatype, Op op)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
recvcounts | numbers of result elements distributed to each process |
datatype | data type of each item in send buffer |
op | reduce operation |
Java binding of the MPI operation MPI_REDUCE_SCATTER.
public void Scan(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op)
sendbuf | send buffer array |
sendoffset | initial offset in send buffer |
recvbuf | receive buffer array |
recvoffset | initial offset in receive buffer |
count | number of items in input buffer |
datatype | data type of each item in input buffer |
op | reduce operation |
Java binding of the MPI operation MPI_SCAN.
public Cartcomm Create_cart(int[] dims, boolean[] periods, boolean reorder)
dims | the number of processes in each dimension |
periods | true if grid is periodic, false if not, in each dimension |
reorder | true if ranking may be reordered, false if not |
returns: | new Cartesian topology communicator |
Java binding of the MPI operation MPI_CART_CREATE.
The number of dimensions of the Cartesian grid is taken to be the size of the dims argument. The array periods must be the same size.
public Graphcomm Create_graph(int[] index, int[] edges, boolean reorder)
index | node degrees |
edges | graph edges |
reorder | true if ranking may be reordered, false if not |
returns: | new graph topology communicator |
Java binding of the MPI operation MPI_GRAPH_CREATE.
The number of nodes in the graph, nnodes, is taken to be size of the index argument. The size of array edges must be index [nnodes} - 1].
public long GetGraph(int[] index, int[] edges, boolean reorder)
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |