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

  • 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 63
6. In the Preferences window, click on the Bulk Launch tab. Make sur e that Enable
debug server bulk launch is not selected.
7. ClickontheOK button at the bottom- left of the Preferences window to save these
changes.Thefileisstoredinthe.totalview directory i n your home directory. As long
as the file exists, you can omit the steps in this section for subsequent Total View runs.
8. Exit To
talView by selecting Exit from the File pulld own 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 de bug an application. N ote that the ste ps in
this section assume that you have a lready completed the previous steps to prepare TotalVi ew,
described in Section 4.2.1.2 and S ection 4.2.1.5.
1. Compi
le 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 uti lize.
2. Run th
e application in TotalView:
$ mpirun -tv -srun -n2 ./Psimple
4-8 D ebugging Applications
Vue de la page 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 153 154

Commentaires sur ces manuels

Pas de commentaire