Debugging Memory Problems with MemoryScape : Chapter 4 Creating Programs for Memory Debugging : Setting Up MPI Debugging Sessions : Debugging MPICH Applications
Debugging MPICH Applications
* 
In many cases, you can bypass the procedure described in this section. For more information, see Debugging MPI Programs”.
To examine Message Passing Interface/Chameleon Standard (MPICH) applications, you must use MPICH version 1.2.5 or later on a homogenous collection of computers. If you need a copy of MPICH, you can obtain it at no cost from Argonne National Laboratory at http:// www.mcs.anl.gov/mpi. (We strongly urge that you use a later version of MPICH.)
The MPICH library should use the ch_p4, ch_p4mpd, ch_shmem, ch_lfshmem, or ch_mpl devices.
*For networks of workstations, the default MPICH library is ch_p4.
*For shared-memory SMP computers, use ch_shmem.
*On an IBM SP computer, use the ch_mpl device.
The MPICH source distribution includes all these devices. Choose the device that best fits your environment when you configure and build MPICH.
For more information, see:
*Starting MemoryScape on an MPICH Job, below
*Attaching to an MPICH Job”
*Using MPICH P4 procgroup Files”