TotalView Online Help : Other Topics : Memory Debugging in Parallel Environments : MPICH

MPICH
Here's how to use MemoryScape when launching MPICH MPI codes from the command line.
1
mpicc -g test.o -o test -Lpath -ltvheap -Wl,-rpath,path
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
4
5
6
Select Debug > Open MemoryScape from the menu to open MemoryScape to examine your memory usage.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com