comms_barrier Subroutine

public subroutine comms_barrier()

A barrier to synchronise all nodes

Arguments

None

Called by

proc~~comms_barrier~~CalledByGraph proc~comms_barrier comms_barrier program~postw90 postw90 program~postw90->proc~comms_barrier

Contents

Source Code


Source Code

  subroutine comms_barrier
    !! A barrier to synchronise all nodes
    implicit none

#ifdef MPI
    integer :: ierr

    call mpi_barrier(mpi_comm_world, ierr)
#endif

  end subroutine comms_barrier