Point-to-Point Communication

In this section we cover the basics of point-to-point message passing in MPI, and explain how the concepts of synchronous and asynchronous communication map to the specific MPI routines Ssend, Bsend and Send. The exercises associated with this block are numbers 2, 3 and 4.


Learning Objectives

By the end of the session the student will:

  • gain familiarity with the functions required to send and receive messages

  • understand the distinction between synchronous and asynchronous communication


Point-to-Point Communication and MPI Functions

The next set of videos covers point-to-point communication (as cover by the slides)












Pi Calculation Exercise

The following two videos discuss the solution for the Pi calculation exercise (see code).






Modes, Tags, Communicators

Finally, we cover modes, tags and communicators below (see slides).