comm_barrier Subroutine

private subroutine comm_barrier(this)

Blocks until all processes in the communicator have called barrier

Type Bound

comm_t

Arguments

Type IntentOptional Attributes Name
class(comm_t), intent(in) :: this

Calls

proc~~comm_barrier~~CallsGraph proc~comm_barrier comm_t%comm_barrier mpi_barrier mpi_barrier proc~comm_barrier->mpi_barrier

Variables

Type Visibility Attributes Name Initial
integer(kind=int32), private :: ierr

Source Code

   subroutine comm_barrier(this)
   !! Blocks until all processes in the communicator have called barrier
      class(comm_t), intent(in) :: this
      integer(int32) :: ierr
      call MPI_Barrier(this%m_comm, ierr)
   end subroutine comm_barrier