broadcast_integer_array Subroutine

private subroutine broadcast_integer_array(i)

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), dimension (:) :: i

Contents


Source Code

  subroutine broadcast_integer_array (i)
    implicit none
    integer, dimension (:), intent (in out) :: i
# ifdef MPI
    integer :: ierror
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
    call mpi_bcast (i, size(i), MPI_INTEGER, 0, mp_comm, ierror)
!$OMP MASTER
    call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# else
    UNUSED_DUMMY(i)
# endif
  end subroutine broadcast_integer_array