HP XC System 2.x Software Tuning Applications, Using the Intel Trace Collector/Analyzer, Example

Models: XC System 2.x Software

1 154
Download 154 pages 20.06 Kb
Page 69
Image 69

5

Tuning Applications

This chapter discusses how to tune applications in the HP XC environment.

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 are discussed in this section:

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/Analyzer 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 HP XC system at:

<install-path-name>/ITA/doc/Intel_Trace_Ana- lyzer_Users_Guide.pdf

5.1.1Building a Program — 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 the HP XC system at the following location: <install-path-

name>/ITC/doc/Intel_Trace_Collector_Users_Guide.pdf.

Example

For the purposes of this example, the examples directory under /opt/IntelTrace/ITC is copied to the user’s home directory and renamed to examples_directory.

The GNU makefile looks as follows:

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

Page 69
Image 69
HP XC System 2.x Software manual Tuning Applications, Using the Intel Trace Collector/Analyzer, Example