MPICH
Here's how to use MemoryScape when launching MPICH MPI codes from the command line.
2. Start TotalView using the -tv command-line option to the mpirun script in the usual way. For example:
mpirun -tv mpirun-args test args
TotalView will start up on the rank 0 process.
3. Because you will have linked in MemoryScape’s agent, memory debugging is automatically selected in your rank 0 process.
4. If you need to modify the memory debugging options, you should do it now in MemoryScape.
5. Run the rank 0 process.
6. Select Debug > Open MemoryScape from the menu to open MemoryScape to examine your memory usage.