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 enter the required information.
Figure 75: Adding a Parallel program
For example, you should select the Parallel system, the number of Tasks, and possibly Nodes. If there are additional arguments to send to the starter process, enter them in the MPI launcher arguments area. Note that these arguments are those sent to a starter process such as mpirun or poe; arguments sent to your program are instead entered in the Command line arguments area. If you need to add environment variables, enter them within the Envrionment variables tab.
In most cases, MemoryScape remembers your entries between invocations of MemoryScape and pre-populates the relevant fields.