Hp XC System 2.x Software Manuel d'utilisateur Page 57

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 56
4
Debugging Applications
This chapter describes how to debug serial and parallel applications in the HP XC development
environment. In general, effective d ebug gin g of applications requires the applications to
be compiled with debug symbols, typically the -g switch. Some compilers allow -g with
optimization.
4.1 Debugging Serial Applications
Debugging a serial application on an HP XC system is perform ed the sam e as debugging a serial
application on a conventional Linux operating system. Refer to standard Linux documentation
for information about debu gging serial programs.
The fo
llowing serial debuggers are available for use in the HP XC environment for local
debug
ging:
•Thegdb utility is provided with the standa rd Linux distribution; it p erforms line-mode
debugging of a single process.
•Theidb util ity is generally availab le with the Intel compiler suite.
•Thepg
d/jointfilesconvert/1469930/bg uti lit y is generally available with the PGI compilers.
For information about using these debuggers, r efer to standard Linux documentation and the
documentation that is available with the specific debugger that y ou are using.
4
.2 Debugging Parallel Applications
The following parallel debuggers are recommended for use in the HP XC environment are
TotalView and DDT.
TotalView
TotalView is a full-featured GUI debugger for debugging parallel applicatio ns from Etnus, Inc.
It is specifically designed to meet the requirements of parallel applications running on many
processors. The use of TotalView in the HP XC environment is described in Section 4.2.1. You
can obtain additional information about TotalView from the To talView documentation and
the TotalView Web site at:
http://www.etnus.com
_________________________ Note _________________________
TotalView is not included wit h the HP XC software and is not supported. If you
have any problems installing or usin g TotalView, contact Etnus, Inc.
DDT
DDT (Distributed Debugging Too l) is a parallel debu gger from Streamlin e Computing. DDT
is a comprehensive graphical debugger designed for debugging parallel code. I t gives users a
common interface for most comp ilers, languages a nd MPI distribution s. For information about
using DDT, refer to Streamline Computin g documen tati on and the Streamline Computing
Web site:
http://www.streamline-computing.com/softwaredivision_1.shtml
Debugging Applications 4-1
Vue de la page 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 153 154

Commentaires sur ces manuels

Pas de commentaire