broadcast_complex8_array Subroutine

private subroutine broadcast_complex8_array(z)

Uses

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
complex(kind=kind_rs), intent(inout), dimension (:) :: z

Contents


Source Code

  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