ssend_logical Subroutine

private subroutine ssend_logical(f, dest, tag)

FIXME : Add documentation

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: f
integer, intent(in) :: dest
integer, intent(in), optional :: tag

Contents

Source Code


Source Code

  subroutine ssend_logical (f, dest, tag)
    implicit none
    logical, intent (in) :: f
    integer, intent (in) :: dest
    integer, intent (in), optional :: tag
# ifdef MPI
    integer :: ierror
    integer :: tagp
    tagp = 0
    if (present(tag)) tagp = tag
!$OMP MASTER
    call time_message(.false., time_mp_ptp, ' MPI Point-to-point')
!$OMP END MASTER
    call mpi_ssend (f, 1, MPI_LOGICAL, dest, tagp, mp_comm, ierror)
!$OMP MASTER
    call time_message(.false., time_mp_ptp, ' MPI Point-to-point')
!$OMP END MASTER
# else
    UNUSED_DUMMY(dest) ; UNUSED_DUMMY(tag); UNUSED_DUMMY(f)
# endif
  end subroutine ssend_logical