The IBM HPC Toolkit also includes the Xprof GUI, which is a viewer for gmon.out files that are
generated by compiling the application by using the -pg option. Xprof is used to find hot spots
in your application.
The following installation location is used for AIX and Linux (PE Developer Edition):
/opt/ibmhpc/ppedev.pct
You must ensure that several environment variables that are required by the IBM HPC Toolkit
are properly set before you use the toolkit. To set these environment variables, you run the
setup scripts that are in the top-level directory of your IBM HPC Toolkit installation.
Before you use the IBM HPC Toolkit, issue the following commands:
cd /opt/ibmhpc/ppedev.pct
. ./env_sh
These commands add a path for the HPC toolkit command to the PATH environment variable
and the path for HPC toolkit library to the LIBPATH environment variable for AIX and the
LD_LIBRARY_PATH environment variable for Linux.
If you use the Eclipse plug-in, you do not set these environment variables directly. Instead,
you set them by using Eclipse dialogs. The IBM HPC Toolkit requires your application to be
compiled and linked by using the –g flag.
If your application is not compiled and linked by using the –g flag, peekperf and hpctInst
cannot instrument your application. If you plan to use Xprof to view profiling data for your
application, your application must be compiled and linked by using the –pg flag.
If you use the IBM HPC Toolkit on Linux to collect performance data other than application
profiling by using Xprof, you must compile and link the application with the —emit-stub-syms
and -WI, —hash-style=sysv flags.
Using the IBM HPC Toolkit Eclipse plug-in
This Eclipse plug-in is a user interface for the IBM HPC Toolkit that you use for instrumenting
your application, running your instrumented application, and obtaining performance
measurements in the following areas:
Hardware performance counter measurements
MPI profiling
OpenMP profiling
Application I/O profiling
The plug-in maps performance measurements to your source code, and allows you to sort
and filter the data.
Figure 2-14 on page 138 shows the Eclipse HPCT perspective for the IBM HPC Toolkit.
Chapter 2. Application integration
137
Need help?
Do you have a question about the Power Systems 775 and is the answer not in the manual?
Questions and answers