MPI_Comm_remote_group

int MPI_Comm_remote_group(MPI_Comm, MPI_Group *);
Returns the handle of the remote group of an inter-communicator.