1 debugging with totalview, 1 ssh and totalview, 2 setting up totalview – HP XC System 2.x Software User Manual
Page 58
4.2.1 Debugging with TotalView
You can purchase the TotalView debugger, from Etnus, Inc., for use on the HP XC cluster.
TotalView is a full-featured, GUI-based debugger specifically designed to meet the requirements
of parallel applications running on many processors.
TotalView has been tested for use in the HP XC environment. However, it is not included with
the HP XC software and technical support is not provided by HP XC. If you install and use
TotalView, and have problems with it, contact Etnus, Inc.
This section describes how to use TotalView in the HP XC environment. It provides set up and
configuration information, and an example of debugging applications. Instructions for installing
TotalView are included in the HP XC System Software Installation Guide.
This section provides only minimum instructions to get you started using TotalView. It is
recommended that you obtain TotalView documentation for full information about using
TotalView. The TotalView documentation set is available directly from Etnus, Inc. at the
following URL:
http://www.etnus.com
.
4.2.1.1 SSH and TotalView
As discussed in Section 2.1 and Section 10.1, XC systems use the OpenSSH package in place
of traditional commands like
rsh
to provide more secure communication between nodes in
the cluster. When run in a parallel environment, TotalView expects to be able to use the
rsh
command to communicate with other nodes, but the default XC configuration disallows
this. Users should set the
TVDSVRLAUNCHCMD
environment variable to specify an alternate
command for TotalView to use in place of
rsh
. When using the TotalView Modulefile,
as described in Section 4.2.1.2, this variable is automatically set to
/usr/bin/ssh -o
BatchMode=yes
. Users who manage their environments independently of the provided
modulefiles will need to set this variable manually.
4.2.1.2 Setting Up TotalView
Before you can use TotalView, your administrator must install it on the HP XC system, and your
operating environment must be properly set up for TotalView.
Your administrator may have already installed TotalView and set up the environment for you. In
this case, you can skip the steps in this section and proceed to Section 4.2.1.5, which describes
using TotalView for the first time.
The set up of your environment to run TotalView consists of configuring the
PATH
and
MANPATH
variables so that they can locate the TotalView executable and manpages when
TotalView is invoked. This configuration step is recommended, but not absolutely necessary,
because. you can optionally start TotalView by entering its full pathname. The HP XC system
provides the TotalView modulefile to configure your environment for you, as described in
the following steps.
To prepare your environment to use TotalView, proceed as follows:
1.
Determine if TotalView has been installed, and whether environment variables have been
defined for TotalView. You can use standard Linux commands to check these things.
2.
Depending upon the status of TotalView, do one of the following things:
•
If TotalView is installed and your environment is set up, proceed to Section 4.2.1.5,
for information about running TotalView for the first time.
•
If TotalView is installed, but your environment is not yet set up, either you or your
system administrator should set it up, as described in the next step.
4-2
Debugging Applications