broadcast_real Subroutine

private subroutine broadcast_real(a)

FIAME : Add documentation

Arguments

Type IntentOptional Attributes Name
real, intent(inout) :: a

Contents

Source Code


Source Code

  subroutine broadcast_real (a)
    implicit none
    real, intent (in out) :: a
# ifdef MPI
    integer :: ierror
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
    call mpi_bcast (a, 1, mpireal, 0, mp_comm, ierror)
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# else
    UNUSED_DUMMY(a)
# endif
  end subroutine broadcast_real