unsplit_all Subroutine

public subroutine unsplit_all(old_comm)

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: old_comm

Contents

Source Code


Source Code

  subroutine unsplit_all(old_comm)
    implicit none
    integer, intent(in) :: old_comm
    integer :: ierror
#ifdef MPI
    call free_comm_id(comm_all)
    comm_all = old_comm
!$OMP MASTER
    call time_message(.false., time_mp_other, ' MPI Overheads')
!$OMP END MASTER
    call mpi_comm_size (comm_all, ntot_proc, ierror)
    call mpi_comm_rank (comm_all, aproc, ierror)
!$OMP MASTER
    call time_message(.false., time_mp_other, ' MPI Overheads')
!$OMP END MASTER
    aproc0 = aproc == 0
    included = .true.
    call scope (allprocs)
#endif
  end subroutine unsplit_all