FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | a | |||
integer, | intent(in) | :: | dest | |||
integer, | intent(in), | optional | :: | tag |
subroutine send_real (a, dest, tag)
implicit none
real, intent (in) :: a
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_send (a, 1, mpireal, 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(a)
# endif
end subroutine send_real