TotalView User Guide : Part II: Debugging Tools and Tasks : Debugging Strategies for  Parallel Applications : MPI Debugging Tips and Tools : MPICH Debugging Tips
MPICH Debugging Tips
These debugging tips apply only to MPICH:
*Passing options to mpirun
You can pass options to TotalView using the MPICH mpirun command.
To pass options to TotalView when running mpirun, you can use the TOTALVIEW environment variable. For example, you can cause mpirun to invoke TotalView with the -no_stop_all option, as in the following C shell example:
setenv TOTALVIEW "totalview -no_stop_all"
*Using ch_p4
If you start remote processes with MPICH/ch_p4, you may need to change the way TotalView starts its servers.
By default, TotalView uses rsh to start its remote server processes. This is the same behavior as ch_p4 uses. If you configure ch_p4 to use a different start-up mechanism from another process, you probably also need to change the way that TotalView starts the servers.
 
 
RELATED TOPICS 
 
MPICH configuration and session setup
tvdsvr and rsh
rsh specifically