mpi
Class Intercomm

java.lang.Object
  extended by mpi.Comm
      extended by mpi.Intercomm

public class Intercomm
extends Comm


Method Summary
 void Allgather(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype)
           Not implemented in the current release
 void Allgatherv(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcount, int[] displs, Datatype recvtype)
           Not implemented in the current release
 void Allreduce(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op)
           Not implemented in the current release
 void Alltoall(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype)
           Not implemented in the current release
 void Alltoallv(java.lang.Object sendbuf, int sendoffset, int[] sendcount, int[] sdispls, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcount, int[] rdispls, Datatype recvtype)
           Not implemented in the current release
 void Barrier()
           Not implemented in the current release
 void Bcast(java.lang.Object buf, int offset, int count, Datatype datatype, int root)
           Not implemented in the current release
 Comm clone()
          Duplicate this communicator.
 void Gather(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
           Not implemented in the current release
 void Gatherv(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int[] recvcount, int[] displs, Datatype recvtype, int root)
           Not implemented in the current release
 Group Group()
          Return group associated with a communicator.
 Intracomm Merge(boolean high)
          Creates an intra-communicator from the union of the two groups in this inter-communicator.
 int Rank()
          Rank of this process in group of this communicator.
 void Reduce_scatter(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int[] recvcounts, Datatype datatype, Op op)
           Not implemented in the current release
 void Reduce(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op, int root)
           Not implemented in the current release
 Group Remote_group()
          Return the remote group.
 int Remote_size()
          Determines the size of the remote group associated with an inter-communicator.
 void Scan(java.lang.Object sendbuf, int sendoffset, java.lang.Object recvbuf, int recvoffset, int count, Datatype datatype, Op op)
           Not implemented in the current release
 void Scatter(java.lang.Object sendbuf, int sendoffset, int sendcount, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
           Not implemented in the current release
 void Scatterv(java.lang.Object sendbuf, int sendoffset, int[] sendcount, int[] displs, Datatype sendtype, java.lang.Object recvbuf, int recvoffset, int recvcount, Datatype recvtype, int root)
           Not implemented in the current release
 int Size()
          Size of group of this communicator.
 
Methods inherited from class mpi.Comm
Abort, Bsend_init, Bsend, Compare, Create_intercomm, Delete_attr, Errorhandler_get, Errorhandler_set, Free, Get_attr, Get_name, Ibsend, Iprobe, Irecv, Irsend, Is_null, Isend, Issend, Pack_size, Pack_size, Pack, Probe, Recv_init, Recv, Rsend_init, Rsend, Send_init, Send, Sendrecv_replace, Sendrecv, Set_attr, Set_name, Ssend_init, Ssend, Test_inter, Topo_test, Unpack
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Group

public Group Group()
            throws MPIException
Description copied from class: Comm
Return group associated with a communicator.

returns: group corresponding to this communicator

Java binding of the MPI operation MPI_COMM_GROUP.

Specified by:
Group in class Comm
Throws:
MPIException

Rank

public int Rank()
         throws MPIException
Description copied from class: Comm
Rank of this process in group of this communicator.

returns: rank of the calling process in the group of this communicator

Java binding of the MPI operation MPI_COMM_RANK.

Specified by:
Rank in class Comm
Throws:
MPIException

Size

public int Size()
         throws MPIException
Description copied from class: Comm
Size of group of this communicator.

returns: number of processors in the group of this communicator

Java binding of the MPI operation MPI_COMM_SIZE.

Specified by:
Size in class Comm
Throws:
MPIException

clone

public Comm clone()
           throws MPIException
Description copied from class: Comm
Duplicate this communicator.

returns: copy of this communicator

Java binding of the MPI operation MPI_COMM_DUP.

The new communicator is "congruent" to the old one, but has a different context.

Overrides:
clone in class Comm
Throws:
MPIException

Remote_size

public int Remote_size()
                throws MPIException
Determines the size of the remote group associated with an inter-communicator.

returns: number of process in remote group of this communicator

Java binding of the MPI operation MPI_COMM_REMOTE_SIZE.

Throws:
MPIException

Remote_group

public Group Remote_group()
                   throws MPIException
Return the remote group.

returns: remote group of this communicator

Java binding of the MPI operation MPI_COMM_REMOTE_GROUP.

Throws:
MPIException

Merge

public Intracomm Merge(boolean high)
                throws MPIException
Creates an intra-communicator from the union of the two groups in this inter-communicator.

high true if the local group has higher ranks in combined group
returns: new intra-communicator

Java binding of the MPI operation MPI_INTERCOMM_MERGE.

The high argument is used to order the groups when creating the new intra-communicator. All processes should provide the same high value within each of the two groups. If processes in one group provided the value high = false and processes in the other group provided the value high = true then the union orders the "low" group before the "high" group. If all processes provided the same high argument then the order of the union is arbitrary. This call is blocking and collective within the union of the two groups.

Throws:
MPIException

Barrier

public void Barrier()
             throws MPIException
Not implemented in the current release

Specified by:
Barrier in class Comm
Throws:
MPIException

Bcast

public void Bcast(java.lang.Object buf,
                  int offset,
                  int count,
                  Datatype datatype,
                  int root)
           throws MPIException
Not implemented in the current release

Specified by:
Bcast in class Comm
Throws:
MPIException

Gather

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)
            throws MPIException
Not implemented in the current release

Specified by:
Gather in class Comm
Throws:
MPIException

Gatherv

public void Gatherv(java.lang.Object sendbuf,
                    int sendoffset,
                    int sendcount,
                    Datatype sendtype,
                    java.lang.Object recvbuf,
                    int recvoffset,
                    int[] recvcount,
                    int[] displs,
                    Datatype recvtype,
                    int root)
             throws MPIException
Not implemented in the current release

Specified by:
Gatherv in class Comm
Throws:
MPIException

Scatter

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)
             throws MPIException
Not implemented in the current release

Specified by:
Scatter in class Comm
Throws:
MPIException

Scatterv

public void Scatterv(java.lang.Object sendbuf,
                     int sendoffset,
                     int[] sendcount,
                     int[] displs,
                     Datatype sendtype,
                     java.lang.Object recvbuf,
                     int recvoffset,
                     int recvcount,
                     Datatype recvtype,
                     int root)
              throws MPIException
Not implemented in the current release

Specified by:
Scatterv in class Comm
Throws:
MPIException

Allgather

public void Allgather(java.lang.Object sendbuf,
                      int sendoffset,
                      int sendcount,
                      Datatype sendtype,
                      java.lang.Object recvbuf,
                      int recvoffset,
                      int recvcount,
                      Datatype recvtype)
               throws MPIException
Not implemented in the current release

Specified by:
Allgather in class Comm
Throws:
MPIException

Allgatherv

public void Allgatherv(java.lang.Object sendbuf,
                       int sendoffset,
                       int sendcount,
                       Datatype sendtype,
                       java.lang.Object recvbuf,
                       int recvoffset,
                       int[] recvcount,
                       int[] displs,
                       Datatype recvtype)
                throws MPIException
Not implemented in the current release

Specified by:
Allgatherv in class Comm
Throws:
MPIException

Alltoall

public void Alltoall(java.lang.Object sendbuf,
                     int sendoffset,
                     int sendcount,
                     Datatype sendtype,
                     java.lang.Object recvbuf,
                     int recvoffset,
                     int recvcount,
                     Datatype recvtype)
              throws MPIException
Not implemented in the current release

Specified by:
Alltoall in class Comm
Throws:
MPIException

Alltoallv

public void Alltoallv(java.lang.Object sendbuf,
                      int sendoffset,
                      int[] sendcount,
                      int[] sdispls,
                      Datatype sendtype,
                      java.lang.Object recvbuf,
                      int recvoffset,
                      int[] recvcount,
                      int[] rdispls,
                      Datatype recvtype)
               throws MPIException
Not implemented in the current release

Specified by:
Alltoallv in class Comm
Throws:
MPIException

Reduce

public void Reduce(java.lang.Object sendbuf,
                   int sendoffset,
                   java.lang.Object recvbuf,
                   int recvoffset,
                   int count,
                   Datatype datatype,
                   Op op,
                   int root)
            throws MPIException
Not implemented in the current release

Specified by:
Reduce in class Comm
Throws:
MPIException

Allreduce

public void Allreduce(java.lang.Object sendbuf,
                      int sendoffset,
                      java.lang.Object recvbuf,
                      int recvoffset,
                      int count,
                      Datatype datatype,
                      Op op)
               throws MPIException
Not implemented in the current release

Specified by:
Allreduce in class Comm
Throws:
MPIException

Reduce_scatter

public void Reduce_scatter(java.lang.Object sendbuf,
                           int sendoffset,
                           java.lang.Object recvbuf,
                           int recvoffset,
                           int[] recvcounts,
                           Datatype datatype,
                           Op op)
                    throws MPIException
Not implemented in the current release

Specified by:
Reduce_scatter in class Comm
Throws:
MPIException

Scan

public void Scan(java.lang.Object sendbuf,
                 int sendoffset,
                 java.lang.Object recvbuf,
                 int recvoffset,
                 int count,
                 Datatype datatype,
                 Op op)
          throws MPIException
Not implemented in the current release

Specified by:
Scan in class Comm
Throws:
MPIException