To start a parallel program under TotalView control, simply add
` -dbg=totalview'
to your mpirun arguments:
mpirun -dbg=totalview -np 4 cpiTotalView 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.