1 installation kit, 2 hp-mpi and the intel trace collector – HP XC System 4.x Software User Manual
Page 77
8.2 The Intel Trace Collector and Analyzer with HP-MPI on HP XC
NOTE:
The Intel Trace Collector (OTA) was formerly known as VampirTrace. The Intel Trace
Analyzer was formerly known as Vampir.
8.2.1 Installation Kit
The following are installation-related notes:
There are two installation kits for the Intel Trace Collector:
•
ITC-IA64-LIN-MPICH-PRODUCT.4.0.2.1.tar.gz
•
ITA-IA64-LIN-AS21-PRODUCT.4.0.2.1.tar.gz
The Intel Trace Collector is installed in the /opt/IntelTrace/ITC directory.
The Intel Trace Analyzer is installed in the /opt/IntelTrace/ITA directory.
The license file is located in the /opt/IntelTrace/ directory so both tools can find it.
8.2.2 HP-MPI and the Intel Trace Collector
This section contains information about building a program with OTA.
HP-MPI is MPICH-compatible if you use the following HP-MPI MPICH scripts, which are located
in the /opt/mpi/bin directory:
•
mpicc
is replaced by mpicc.mpich
•
mpif77
is replaced by mpif77.mpich
•
mpirun
is replaced by mpirun.mpich
In summary: mpiXX becomes mpiXX.mpich
As an example, the examples directory under /opt/IntelTrace/ITC was copied to a home
directory and renamed to ITC_examples_xc6000. The GNU makefile makefile now resembles
the following:
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
CLDFLAGS = -static-libcxa -L$(VT_ROOT)/lib $(TLIB) -lvtunwind -ldwarf
-lnsl -lm -lelf -lpthread
FLDFLAGS = -static-libcxa -L$(VT_ROOT)/lib $(TLIB) -lvtunwind -ldwarf
-lnsl -lm -lelf -lpthread
When you use the Intel compilers, add -static-libcxa to the link line; otherwise, the following
errors are generated at runtime:
[n1]/nis.home/sballe/xc_PDE_work/ITC_examples_xc6000
>mpirun.mpich -np 2 ~/xc_PDE_work/ITC_examples_xc6000/vtjacobic
warning: this is a development version of HP-MPI for internal R&D use only
/nis.home/sballe/xc_PDE_work/ITC_examples_xc6000/vtjacobic:
error while loading shared libraries: libcprts.so.6:
cannot open shared object file: No such file or directory MPI Application
rank 0 exited before MPI_Init() with status 127 mpirun exits with
status: 127 [n1]/nis.home/sballe/xc_PDE_work/ITC_examples_xc6000 >
For specific information on the error Error While Loading Shared Libraries:
libcprts.so.6: cannot open shared object
, see the following URL:
8.2 The Intel Trace Collector and Analyzer with HP-MPI on HP XC
77