Mangling your .bashrc

There was a time when the department's installation on MPI was broken, and I gave directions to use an installation under the cs448b account instead. The department installation seems to work now, and I'm not maintaining the old install under cs448b. So, there's nothing that you need to do to your .bashrc.

If you did change your .bashrc according to the previous instructions, you can change it back. The old instructions had you set your PATH and LD_LIBRARY_PATH variables. If you were using the department defaults, then you shouldn't need to set these variables. If you've customized them for other reasons, just remove the entries for cs448b stuff.

Setting up SSH keys

To run MPI processes on multiple linux boxes, you will use the program mpiexec which needs to be able to start processes on the other machines. It uses ssh to do this, and must be able to make these connections without a password. If you don't have ssh keys set up on your account already, you should do so by following the directions below:

Setting up your MPI secret word

Setting up your hosts file


It would be nice if you could just have a hosts file that lists all of the ugrad linux boxes and be done with it. However, I've found that on different days, different subsets of these boxes are available.

Running your first MPI program

Running your second MPI program