Starting an MPICH program under TotalView control


Up: Debugging MPI programs with TotalView Next: Attaching to a running program Previous: Preparing MPICH for TotalView debugging

To start a parallel program under TotalView control, simply add ` -tv' to your mpirun arguments:

    mpirun -tv -np 4 cpi 
TotalView will come up and you can start the program by typing ` G'. A window will come up asking whether you want to stop processes as they execute MPI_Init. You may find it more convenient to say ``no'' and instead to set your own breakpoint after MPI_Init (See Section Debugging with TotalView .) This way when the process stops it will be on a line in your program instead of somewhere inside MPI_Init.



Up: Debugging MPI programs with TotalView Next: Attaching to a running program Previous: Preparing MPICH for TotalView debugging