FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(inout), | dimension(:,:,:,:) | :: | x |
subroutine broadcast_real_4array(x)
implicit none
real, dimension(:,:,:,:), intent (in out) :: x
# ifdef MPI
integer :: ierror
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
call mpi_bcast (x, size(x), mpireal, 0, mp_comm, ierror)
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# endif
end subroutine broadcast_real_4array