Debugging Memory Problems with MemoryScape : Chapter 4 Creating Programs for Memory Debugging : Setting Up MPI Debugging Sessions : Debugging MPI Programs

Debugging MPI Programs
In many cases, the way in which you invoke an MPI program within MemoryScape control differs little from discipline to discipline. If you invoke MemoryScape from the command line without an argument, MemoryScape displays its Add Programs to Your MemoryScape Session screen. Select Add parallel program and then fill in the information presented in the various screens.
 
 
For example, you should select the Parallel system, the number of Tasks, and possibly Nodes. If there are additional arguments that need to the sent to the starter process, type them within the MPI launcher arguments area. These arguments are ones that are sent to a starter process such as mpirun or poe. They are not arguments sent to your program, which are instead entered within the Command line arguments area. If you need to add environment variables, enter them within the Envrionment variables tab.
In most cases, MemoryScape will remember what you type between invocations of MemoryScape. For example, suppose you were debugging a program called my_foo and set it up using these controls. The next time you start MemoryScape upon this program, this page will show the last entered entries after you select the program’s name from Name of the program pulldown.

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