Hp XC System 2.x Software Instrukcja Użytkownika Strona 59

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 154
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 58
If TotalView is not installed, hav e your administrator install it. Then either you or your
administrator should set up your environment, as d escrib e d in t he next step.
3. Set the DISPLAY environment variable of the system that hosts TotalVi ew to display on
your local system.
Also, run the xhosts command to accept data from the system that hosts TotalView; see
the X
(7X) manpage for more information.
4. Set up your environment to run TotalView. This consists of defining the PATH and
MANPATH variables with the location of the TotalView executable and manpages. The
methods to do this are in described in Section 2 .2. The following list summa r izes some
suggestions:
•Addthemodule load mpi and module load totalview commands to your
login file. T his command loads the TotalView modulef ile. The To talView modu lefi le
defines the PATH and MANPATH variab les for TotalView in your environment. Be sure
to use the correct name of the TotalView m odulefi le (obtain from y our administrator).
Add the location of the TotalView executable and manp ages to the PATH and
MANPATH variables in you r shell initial izati on file or login file.
Have your administrator set up your environment so that the TotalView modulefile
loads automatically when you log in to the system.
______________________ Note: _______________________
If you prefer, you do not have to set up the TotalView environment variables
ahead of time. In this case, you must define these variables before run ning
To talView. There are tw o ways to do this on the command line:
•Enterthemodule load mpi and module load totalview
commands, as described in Section 2.2.
Enter the full TotalView PATH and MANPATH information. See your
system administrator for this informat ion.
4.2.1.3 Using TotalView with SLURM
Use a command to allocate the nodes you will need before you debug an application with
SLURM, as shown here:
$ srun -Nx -A
$ mpirun -tv -srun application
The
se comm a nds allocate x nodes and run TotalView to debug the program nam ed
app
lication.
Be sure to exit from the SLURM al location created w ith the srun command when you are done.
4.2.1.4 Using TotalView with LSF-HPC
HP recommends the use of xterm when debugging an application with LSF-HPC. You also
need to allocate the nodes you will need.
Yo u may need to verify the full path name of the xterm and mpirun commands:
First run a bsub command to allocate the nodes you will need and to launch an xterm window:
$ bsub -nx -ext "SLURM[nodes=x]" \
-Is /usr/bin/xterm
Enter an mpirun -tv command in the xterm window to start TotalView on the application
you want to debug:
$ mpirun -tv -srun application
Debugging Applications 4-3
Przeglądanie stron 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 153 154

Komentarze do niniejszej Instrukcji

Brak uwag