Starting TotalView Debugging on an MPICH2 Hydra Job
As of MPICH2 1.4.1, the default job type for MPICH2 is Hydra. If you are instead using MPD, see Starting TotalView Debugging on an MPICH2 MPD Job.
Start a Hydra job as follows:
totalview -args mpiexec mpiexec-args program program-args
You may not see sources to your program at first. If you do see the program, you can set breakpoints. In either case, press the Go button to start your process. TotalView displays a dialog box when your program goes parallel that allows you to stop execution so you can set breakpoints.
(This is the default behavior. You can change it using the options within File >Preferences >Parallel page. See Parallel Configuration.)