FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex(kind=kind_rs), | intent(inout), | dimension (:) | :: | z |
subroutine broadcast_complex8_array (z)
use constants, only: kind_rs
implicit none
complex (kind=kind_rs), dimension (:), intent (in out) :: z
# ifdef MPI
integer :: ierror
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
call mpi_bcast (z, size(z), mpicmplx8, 0, mp_comm, ierror)
!$OMP MASTER
call time_message(.false., time_mp_collectives, ' MPI Collectives')
!$OMP END MASTER
# else
UNUSED_DUMMY(z)
# endif
end subroutine broadcast_complex8_array