pio_fc_gather_offset Subroutine

public subroutine pio_fc_gather_offset(sendbuf, sendcnt, sendtype, recvbuf, recvcnt, recvtype, root, comm, flow_cntl)

Purpose: Gather collective with additional flow control, so as to be more robust when used with high process counts.

Method: If flow_cntl optional parameter < 0: use MPI_Gather >= 0: use point-to-point with handshaking messages and preposting receive requests up to max(min(1,flow_cntl),max_gather_block_size) ahead if optional flow_cntl parameter is present. Otherwise, fc_gather_flow_cntl is used in its place. Default value is 64.

Author of original version: P. Worley Ported from CAM: P. Worley, Jan 2010

Arguments

Type IntentOptional Attributes Name
integer(kind=pio_offset), intent(in) :: sendbuf(:)
integer, intent(in) :: sendcnt
integer, intent(in) :: sendtype
integer(kind=pio_offset), intent(out) :: recvbuf(*)
integer, intent(in) :: recvcnt
integer, intent(in) :: recvtype
integer, intent(in) :: root
integer, intent(in) :: comm
integer, intent(in), optional :: flow_cntl