Slide 1Lecture 6: Message Passing Interface (MPI) Slide 2 Parallel Programming Models Message Passing Model Used on Distributed memory MIMD architectures Multiple processes…