comm_bcast_integer Subroutine

private subroutine comm_bcast_integer(comm, buffer, count, root)

Broadcasts integer data from root process to all processes in communicator

Arguments

Type IntentOptional Attributes Name
type(comm_t), intent(in) :: comm
integer(kind=int32), intent(inout) :: buffer
integer(kind=int32), intent(in) :: count
integer(kind=int32), intent(in) :: root

Called by

proc~~comm_bcast_integer~2~~CalledByGraph proc~comm_bcast_integer~2 comm_bcast_integer interface~bcast~2 bcast interface~bcast~2->proc~comm_bcast_integer~2

Variables

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

Source Code

   subroutine comm_bcast_integer(comm, buffer, count, root)
      !! Broadcasts integer data from root process to all processes in communicator
      type(comm_t), intent(in) :: comm
      integer(int32), intent(inout) :: buffer
      integer(int32), intent(in) :: count
      integer(int32), intent(in) :: root
      integer(int32) :: ierr

      ! One rank: the data is already where it needs to be.
   end subroutine comm_bcast_integer