comm_bcast_real_dp Subroutine

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

Broadcasts double precision data from root process to all processes in communicator

Arguments

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

Calls

proc~~comm_bcast_real_dp~~CallsGraph proc~comm_bcast_real_dp comm_bcast_real_dp mpi_bcast mpi_bcast proc~comm_bcast_real_dp->mpi_bcast

Called by

proc~~comm_bcast_real_dp~~CalledByGraph proc~comm_bcast_real_dp comm_bcast_real_dp interface~bcast bcast interface~bcast->proc~comm_bcast_real_dp

Variables

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

Source Code

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

      call MPI_Bcast(buffer, count, MPI_DOUBLE_PRECISION, root, comm%m_comm, ierr)
   end subroutine comm_bcast_real_dp