FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | old_comm |
subroutine unsplit_all(old_comm)
implicit none
integer, intent(in) :: old_comm
#ifdef MPI
integer :: ierror
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)
#else
UNUSED_DUMMY(old_comm)
#endif
end subroutine unsplit_all