m_SPMDutils Module


Subroutines

public subroutine m_swapm_int(nprocs, mytask, sndbuf, sbuf_siz, sndlths, sdispls, stypes, rcvbuf, rbuf_siz, rcvlths, rdispls, rtypes, comm, comm_hs, comm_isend, comm_maxreq)

Purpose: Reduced version of original swapm (for swap of multiple messages using MPI point-to-point routines), more efficiently implementing a subset of the swap protocols.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nprocs
integer, intent(in) :: mytask
integer, intent(in) :: sndbuf(sbuf_siz)
integer, intent(in) :: sbuf_siz
integer, intent(in) :: sndlths(0:nprocs-1)
integer, intent(in) :: sdispls(0:nprocs-1)
integer, intent(in) :: stypes(0:nprocs-1)
integer, intent(out) :: rcvbuf(rbuf_siz)
integer, intent(in) :: rbuf_siz
integer, intent(in) :: rcvlths(0:nprocs-1)
integer, intent(in) :: rdispls(0:nprocs-1)
integer, intent(in) :: rtypes(0:nprocs-1)
integer, intent(in) :: comm
logical, intent(in) :: comm_hs
logical, intent(in) :: comm_isend
integer, intent(in) :: comm_maxreq

public subroutine m_swapm_FP(nprocs, mytask, sndbuf, sbuf_siz, sndlths, sdispls, stypes, rcvbuf, rbuf_siz, rcvlths, rdispls, rtypes, comm, comm_hs, comm_isend, comm_maxreq)

Purpose: Reduced version of original swapm (for swap of multiple messages using MPI point-to-point routines), more efficiently implementing a subset of the swap protocols.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nprocs
integer, intent(in) :: mytask
real(kind=FP), intent(in) :: sndbuf(sbuf_siz)
integer, intent(in) :: sbuf_siz
integer, intent(in) :: sndlths(0:nprocs-1)
integer, intent(in) :: sdispls(0:nprocs-1)
integer, intent(in) :: stypes(0:nprocs-1)
real(kind=FP), intent(out) :: rcvbuf(rbuf_siz)
integer, intent(in) :: rbuf_siz
integer, intent(in) :: rcvlths(0:nprocs-1)
integer, intent(in) :: rdispls(0:nprocs-1)
integer, intent(in) :: rtypes(0:nprocs-1)
integer, intent(in) :: comm
logical, intent(in) :: comm_hs
logical, intent(in) :: comm_isend
integer, intent(in) :: comm_maxreq