Debugging Memory Problems with MemoryScape : Chapter 4 Creating Programs for Memory Debugging : Using MemoryScape in Selected Environments : MPICH

MPICH
Here's how to use MemoryScape with MPICH MPI codes. Rogue Wave Software has tested this only on Linux x86.
1
mpicc -g test.o -o test -Lpath \
-ltvheap -Wl,-rpath,path
2
Start MemoryScape using the –tv command-line option to the mpirun script in the usual way. For example:
mpirun -tv mpirun-args test args
MemoryScape will start up on the rank 0 process.
3
4

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