Debugging Memory Problems with MemoryScape™ : Chapter 4 Creating Programs for Memory Debugging : Setting Up MPI Debugging Sessions : Debugging LAM/MPI Applications
Debugging LAM/MPI Applications
NOTE >> In many cases, you can bypass the procedure described in this section. For more information, see "Debugging MPI Programs".
You debug a LAM/MPI program in a similar way to how you debug most MPI programs. Use the following syntax if MemoryScape is in your path:
mpirun -tv mpirun args prog prog_args
As an alternative, you can invoke MemoryScape on mpirun:
memscape mpirun -a prog prog_args