Link to this document's Jupyter Notebook

In order to successfully complete this assignment you need to participate both individually and in groups during class. If you attend class in-person then have one of the instructors check your notebook and sign you out before leaving class on Monday March 13.


In-Class Assignment: The Message Passing Interface (MPI)¶

Picture of kids passing a note in class. This is intended to motivate the message passing aspect of MPI

Image from: https://www.appianimosaic.com/

Agenda for today's class (70 minutes)¶

  1. (20 minutes) Pre class Review
  2. (20 minutes) How to split an array
  3. (20 minutes) MPI Code Writing

1. Pre class Review¶

19p--MPI_Introduction_pre-class-assignment


2. How to split an array?¶

Suppose we have an array/vector of size M and P processors how should we split it?


3. Wave equation example¶


Congratulations, we're done!¶

If you attend class in-person then have one of the instructors check your notebook and sign you out before leaving class. If you are attending asynchronously, turn in your assignment using D2L.

Course Resources:¶

  • Website
  • ZOOM
  • JargonJar
  • GIT

Written by Dr. Dirk Colbry, Michigan State University Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.