6 debugging an application – HP XC System 2.x Software User Manual
Page 64

6.
In the
Preferences
window, click on the
Bulk Launch
tab. Make sure that
Enable
debug server bulk launch
is not selected.
7.
Click on the
OK
button at the bottom-left of the
Preferences
window to save these
changes. The file is stored in the
.totalview
directory in your home directory. As long
as the file exists, you can omit the steps in this section for subsequent TotalView runs.
8.
Exit TotalView by selecting
Exit
from the
File
pulldown menu.
TotalView launch preferences are now configured and saved. You can make changes to this
configuration at any time.
4.2.1.6 Debugging an Application
This section describes how to use TotalView to debug an application. Note that the steps in
this section assume that you have already completed the previous steps to prepare TotalView,
described in Section 4.2.1.2 and Section 4.2.1.5.
1.
Compile the application to be debugged. For example:
$ mpicc -g -o Psimple simple.c -lm
The
-g
option is strongly recommended. It enables debugging information that TotalView
will utilize.
2.
Run the application in TotalView:
$ mpirun -tv -srun -n2 ./Psimple
4-8
Debugging Applications
- Scripting Toolkit for Linux (68 pages)
- Scripting Toolkit for Windows 9.50 (62 pages)
- Scripting Toolkit for Windows 9.60 (62 pages)
- Storage Area Manager (13 pages)
- Core HP-UX (5 pages)
- Matrix Operating Environment Software (36 pages)
- Matrix Operating Environment Software (99 pages)
- Matrix Operating Environment Software (192 pages)
- Matrix Operating Environment Software (198 pages)
- Matrix Operating Environment Software (66 pages)
- Matrix Operating Environment Software (95 pages)
- Matrix Operating Environment Software (152 pages)
- Matrix Operating Environment Software (264 pages)
- Matrix Operating Environment Software (138 pages)
- Matrix Operating Environment Software (137 pages)
- Matrix Operating Environment Software (97 pages)
- Matrix Operating Environment Software (33 pages)
- Matrix Operating Environment Software (142 pages)
- Matrix Operating Environment Software (189 pages)
- Matrix Operating Environment Software (58 pages)
- Matrix Operating Environment Software (68 pages)
- Matrix Operating Environment Software (79 pages)
- Matrix Operating Environment Software (223 pages)
- Matrix Operating Environment Software (136 pages)
- Matrix Operating Environment Software (34 pages)
- Matrix Operating Environment Software (63 pages)
- Matrix Operating Environment Software (67 pages)
- Matrix Operating Environment Software (104 pages)
- Matrix Operating Environment Software (128 pages)
- Matrix Operating Environment Software (75 pages)
- Matrix Operating Environment Software (245 pages)
- Matrix Operating Environment Software (209 pages)
- Matrix Operating Environment Software (71 pages)
- Matrix Operating Environment Software (107 pages)
- Matrix Operating Environment Software (239 pages)
- Matrix Operating Environment Software (77 pages)
- Insight Management-Software (148 pages)
- Matrix Operating Environment Software (80 pages)
- Insight Management-Software (128 pages)
- Matrix Operating Environment Software (74 pages)
- Matrix Operating Environment Software (132 pages)
- Matrix Operating Environment Software (76 pages)
- Matrix Operating Environment Software (233 pages)
- Matrix Operating Environment Software (61 pages)
- Matrix Operating Environment Software (232 pages)