@@ -123,7 +123,20 @@ protected Intracomm(long[] commRequest)
123123 MPI .check ();
124124 return new Intracomm (iDup (handle ));
125125 }
126-
126+
127+ /**
128+ * Duplicates this communicator with the info object used in the call.
129+ * <p>Java binding of {@code MPI_COMM_DUP_WITH_INFO}.
130+ * @param info info object to associate with the new communicator
131+ * @return copy of this communicator
132+ * @throws MPIException Signals that an MPI exception of some sort has occurred.
133+ */
134+ @ Override public Intracomm dupWithInfo (Info info ) throws MPIException
135+ {
136+ MPI .check ();
137+ return new Intracomm (dupWithInfo (handle , info .handle ));
138+ }
139+
127140 /**
128141 * Partition the group associated with this communicator and create
129142 * a new communicator within each subgroup.
@@ -173,7 +186,23 @@ public final Intracomm create(Group group) throws MPIException
173186 }
174187
175188 private native long create (long comm , long group );
189+
190+ /**
191+ * Create a new intracommunicator for the given group.
192+ * <p>Java binding of the MPI operation {@code MPI_COMM_CREATE_GROUP}.
193+ * @param group group which is a subset of the group of this communicator
194+ * @param tag an integer tag
195+ * @return new communicator
196+ * @throws MPIException Signals that an MPI exception of some sort has occurred.
197+ */
198+ public final Intracomm createGroup (Group group , int tag ) throws MPIException
199+ {
200+ MPI .check ();
201+ return new Intracomm (createGroup (handle , group .handle , tag ));
202+ }
176203
204+ private native long createGroup (long comm , long group , int tag );
205+
177206 // Topology Constructors
178207
179208 /**
0 commit comments