Week 9

This week we will begin programming in MPI. You can/should do all development "locally" either on your home box or by ssh-ing into one of the computer lab machines. You can develop parallel programs in MPI without having to fire up the whole cluster - this also speeds up development. Once your programs are thoroughly tested, we'll throw them on the "big iron" to see how they do. Development Options: 1. Install MPICH: Mpich is the implementation of MPI we'll be using. It was developed at the Argonne National Lab. Here, you can find instructions to download and install MPich on your home machine - you want Mpich-2. If you follow the installation instructions closely you should be able to get it up and running, but I'm not really going to help you with that. 2. Ssh into a machine in UH202. If you are a windows user you'll need to install an ssh client on your machine. My personal favorite is puTTY, but there are others. Here are instructions for how to ssh into a lab machine. Resources: MPI Tutorials - while the structure of this document is slightly arcane there is good information here. MPI API - ESSENTIAL documentation of MPI functions that are available. We'll only be using a subset of these. Exercises: Paul Bissonnette has put together a terrific set of introductory exercises for MPI that we're going to work through. Ex1: MPI Lab1 :: Hello World! Ex2: MPI Lab2 :: Passing Messages
How to Submit