This routine merges the current process with an existing group. The general syntax for its use is
newcomm = mpiintercommmerge(comm,highflag)
where comm
is the communicator we want to merge onto,
highflag
determines if our rank is at the high end of
ranks in the new communicator or at the bottom end, and
newcomm
is the handle to the new communicator.