4.6.1. Model Implementation of Buffered Mode

PreviousUpNext
Up: Buffer Allocation and Usage Next: Nonblocking Communication Previous: Buffer Allocation and Usage

The model implementation uses the packing and unpacking procedures described in Section Pack and Unpack and the nonblocking communication procedures described in Section Nonblocking Communication.

We assume that a circular queue of pending message entries (PME) is maintained. Each entry contains a communication request handle that identifies a pending nonblocking send, a pointer to the next entry and the packed message data. The entries are stored in successive locations in the buffer. Free space is available between the queue tail and the queue head.

A buffered send call results in the execution of the following algorithm:



PreviousUpNext
Up: Buffer Allocation and Usage Next: Nonblocking Communication Previous: Buffer Allocation and Usage


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023