MPICH
Here's how to use MemoryScape with MPICH MPI codes. Rogue Wave Software has tested this only on Linux x86.
1. You must link your parallel application with the MemoryScape agent as described LIBPATH and Linking. On most Linux x86 systems, you’ll type:
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. If you need to configure MemoryScape, you should do it now.
4. Run the rank 0 process.