FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(inout), | dimension (:,:,:,:) | :: | z | ||
integer, | intent(in) | :: | src | |||
integer, | intent(in) | :: | sub |
subroutine bcastfrom_complex_4array_sub (z, src, sub)
implicit none
complex, dimension (:,:,:,:), intent (in out) :: z
integer, intent (in) :: src
integer, intent (in) :: sub
# ifdef MPI
integer :: ierror
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
call mpi_bcast (z, size(z), mpicmplx, src, sub, ierror)
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# else
UNUSED_DUMMY(z); UNUSED_DUMMY(sub)
if (src /= 0) call mp_abort ("broadcast from sub")
# endif
end subroutine bcastfrom_complex_4array_sub