
5
Tuning Applications
This chapter discusses h ow to tune applications in the HP XC envir onm ent.
5.1 Using the Intel Trace Collector/Analyzer
This section describes how to use the Intel Trace Collector (ITC) and Intel Trace Analyzer (ITA)
with HP-MPI on an HP XC system . The Intel Trace Collector/Analyzer were formerly known
as VampirTrace and Vampir, respectively. The following topics ar e discussed in this sectio n:
• Building a Program (Section 5.1.1)
• Running a Program (Section 5.1.2)
• Visualizing Data (Section 5.1.3)
The following Intel Trace Collector/Anal
yzer documentation is available on the HP XC system
after Intel Trace Collector/Analyzer is
installed:
• Intel Trace Collector Users Guide — located on the HP XC system at:
<install-path-name>/ITC/doc/Intel_Trace_Collec-
tor_Users_Guide.pdf.
• Intel Trace Analyzer Users Guide — located on the H P XC system at:
<install-path-name>/ITA/doc/Intel_Trace_Ana-
lyzer_Users_Guide.pdf
5.1.1 Building a Prog ram — Intel Trace Collector and HP-MPI
HP-MPI is MPICH compatible if you use the HP-MPI MPICH scripts which are located at:
/opt/hpmpi/bin. The HP-MPI MPICH scripts are:
• mpicc is replaced by mpicc.mpich
• mpif77 is replaced by mpif77.mpich
• mpirun is replaced by mpirun.mpich
In summary, mpixx becomes mpixx.mpich.
For further information, refer to the Intel Trace Collector Users Guide. This document
is located on th e HP XC system at the following location: <install-path-
name>/ITC/doc/Intel_Trace_Collector_Users_Guide.pdf.
Example
For the p urp oses of this example, the exam ples directory und er /opt/IntelTrace/ITC is
copied to the user’s home directory and renamed to examples_directory.
The GNU makefile looks as fol lows:
CC = mpicc.mpich
F77 = mpif77.mpich
CLINKER = mpicc.mpich
FLINKER = mpif77.mpich
IFLAGS = -I$(VT_ROOT)/include
CFLAGS = -g
FFLAGS = -g
LIBS = -lvtunwind -ldwarf -lnsl -lm -lelf -lpthread
Tuning Applications 5-1
Commentaires sur ces manuels