Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | comm |
subroutine barrier_comm(comm)
implicit none
integer,intent(in)::comm
# ifdef MPI
integer :: ierror
!$OMP MASTER
call time_message(.false., time_mp_sync, ' MPI Sync')
!$OMP END MASTER
call mpi_barrier (comm, ierror)
!$OMP MASTER
call time_message(.false., time_mp_sync, ' MPI Sync')
!$OMP END MASTER
# else
UNUSED_DUMMY(comm)
# endif
end subroutine barrier_comm