Preparing the Debugging Environment

When you start the debugger, it captures the environment of the shell that launches the debugger. When you debug a message passing interface (MPI) application, the debugger uses the environment of the leaf debugger's shell, capturing this environment when you launch the debugger. The shell's environment variables include PATH, LD_LIBRARY_PATH, SHELL, and HOME.

To modify the captured enviroment, use the set environment command. To display the captured environment, use the show environment command.

Changes you make to the captured environment only affect debuggees that are started after you make the change. They have no effect on the debugger itself until you restart the debugger.

To see the list of environment variables, use the printenv shell command before starting the debugger.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.