Communicators and Groups
Christopher Cameron, Brandon Barker, Steve Lantz (original)
Cornell Center for Advanced Computing
Revisions: 5/2022, 10/2014, 5/2011 (original)
This topic discusses communicators and how process groups help organize message passing.
Objectives
After you complete this topic, you should be able to:
- Describe the communicator's contents
- Explain how communicators help prevent message-passing mixups
- Demonstrate defining a process group
- Explain the importance of ranking in defining process groups
- Explain how to split and subdivide communicators
- Describe the appropriate use of intra-communicators
Prerequisites
- A basic knowledge of parallel programming and MPI.
- Ability to program in a high-level language such as Fortran or C.