5.3.3. Send and Receive Partitioning Example with OpenMP version 4.0 or later

PreviousUpNext
Up: Partitioned Communication Examples Next: Datatypes Previous: Send-only Partitioning Example with Tasks and OpenMP version 4.0 or later

This example demonstrates receive-side partial completion notification using more than one partition per receive-side thread. It uses a naive flag based method to test for multiple completed partitions per thread. Note that this means that some threads may be busy polling for completion of assigned partitions when partitions are available to work on that were not assigned to the polling threads in this example. More advanced work stealing methods could be employed for greater efficiency. Like previous examples, it also demonstrates send-side production of input to part of an overall buffer. This example also uses different send-side and receive-side partitioning.


Example Partitioned communication receive-side partial completion.

Image file


PreviousUpNext
Up: Partitioned Communication Examples Next: Datatypes Previous: Send-only Partitioning Example with Tasks and OpenMP version 4.0 or later


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