PetscPostIrecvInt#
Allocate the receive buffers for an irregular all-to-all of PetscInt messages and post non-blocking MPI_Irecv()s on them
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscPostIrecvInt(MPI_Comm comm, PetscMPIInt tag, PetscMPIInt nrecvs, const PetscMPIInt onodes[], const PetscMPIInt olengths[], PetscInt ***rbuf, MPI_Request **r_waits)
Collective; No Fortran Support
Input Parameters#
Output Parameters#
rbuf - allocated array of length
nrecvsof pointers to the receive buffers (in contiguous storage)r_waits - allocated array of length
nrecvsofMPI_Requests for the posted irecvs
Note#
The caller is responsible for freeing rbuf[0], rbuf, and r_waits with PetscFree() once the irecvs have completed.
See Also#
PetscPostIrecvScalar(), PetscGatherNumberOfMessages(), PetscGatherMessageLengths()
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages