8.6.3. Inter-Communication Examples

PreviousUpNext
Up: Inter-Communication Next: Example 1: Three-Group ``Pipeline''' Previous: Inter-Communicator Operations


PreviousUpNext
Up: Inter-Communication Next: Example 1: Three-Group ``Pipeline''' Previous: Inter-Communicator Operations


8.6.3.1. Example 1: Three-Group ``Pipeline'''

PreviousUpNext
Up: Inter-Communication Examples Next: Example 2: Three-Group ``Ring''' Previous: Inter-Communication Examples

Image file


Figure 20: Three-group pipeline

As shown in Figure 20, groups 0 and 1 communicate. Groups 1 and 2 communicate. Therefore, group 0 requires one inter-communicator, group 1 requires two inter-communicators, and group 2 requires 1 inter-communicator.


Example

Image file


PreviousUpNext
Up: Inter-Communication Examples Next: Example 2: Three-Group ``Ring''' Previous: Inter-Communication Examples


8.6.3.2. Example 2: Three-Group ``Ring'''

PreviousUpNext
Up: Inter-Communication Examples Next: Caching Previous: Example 1: Three-Group ``Pipeline'''

Image file


Figure 21: Three-group ring

As shown in Figure 21, groups 0 and 1 communicate. Groups 1 and 2 communicate. Groups 0 and 2 communicate. Therefore, each requires two inter-communicators.


Example

Image file


PreviousUpNext
Up: Inter-Communication Examples Next: Caching Previous: Example 1: Three-Group ``Pipeline'''


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