This routine creates a joined MPI communicators for any two components. The order of these two components appeared in the subroutine parameter argumment has an effect on the local process id within the joined communicator.
REVISION HISTORY:
2001-Nov-15 -- add PROTEX convention
2001-May-20 -- first prototypeINTERFACE:
subroutine MPH_comm_join (name1, name2, comm_joined)USES:
implicit noneSEE ALSO:
MPH_find_name, PE_in_componentINPUT PARAMETERS:
character(len=*), intent(in) :: name1, name2 ! two component namesOUTPUT PARAMETERS:
integer, intent(out) :: comm_joined
! joined communicator for two componentsLOCAL VARIABLES:
integer :: id1, id2
integer :: color, key
logical :: con1, con2
integer :: comm1, comm2
\