HPC @ IU Tutorial - Compiling and Running Parallel jobs using MPICH on AVIDD

This section serves, more than anything else, as an appendix to the rest of the notes on this workshop. It addresses the issue of using MPICH instead of LAM to run MPI code on the AVIDD system. You'll find information about:

Setting your environment, using softenv, up to use MPICH (insted of LAM)

As mentioned above, the default AVIDD softenv setup is configured to use MPICH; You do not need to modify any settings if you've left your ~/.soft file unchanged.

But if you modified your ~/.soft file to use per instructions on this workshop (to use LAM), then edit the file and:

Once you make the changes, you'll need to log out and log back in or do resoft.

There is a file named dot_soft.mpich within the MPI_Tutorial directory (assuming you copied the example programs from hpc's account) which you could use to update/replace your ~/.soft file.



Run examples available in this workshop using MPICH

Assuming you're already logged in to the AVIDD cluster and also have your environment setup to use MPICH, follow the steps given below to run example MPI programs using MPICH.

Re-compile all programs

Run programs interactively



Run programs in batch mode (non-interactively)



Profiling MPICH code using Intel Trace Analyzer (ITA)



Using Totalview to debug MPICH code


Previous Up: Table of Contents Next