Introduction to MPI


P2P Conclusion

That's it ! We are finished with point-to-point communications ! By now you should know all the basics to send and receive messages from one specific process to another specific process. With that, you can already do a lot of different funky things in parallel !

In the next chapter, we will talk about collective communications, when you want to reach more than just one process in a communication. In the meantime, you can practice what you have learnt by answering this quizz :

What is the default communicator that encapsulate all processes ?
Which of these situations is/are a race condition ?
What is a deadlock ?
What are the four modes of communication ?
The buffered mode is fundamentally similar to a non-blocking send
What can we use probing for ?
In non-blocking communications, which function must necessarily be called at some point after a receive or a send ?
What command should be used to synchronise all the processes on a communicator ?
Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to