HP XC System Software Release Notes for Version 2.1

For more information, refer to the MLIB User’s Guide, which is located at the
following URL and on the XC documentation CD:
http://www.hp.com/go/mlib
7.3 Configuring the Intel Trace Collector and Analyzer with HP
MPI on XC
The Intel Trace Collector was formely known as VampirTrace. The Intel Trace
Analyzer was formely known as Vampir.
7.3.1 Installation Notes
Tee following are installation-related notes:
Installation kits:
- ITC-IA64-LIN-MPICH-PRODUCT.4.0.2.1.tar.gz
- ITA-IA64-LIN-AS21-PRODUCT.4.0.2.1.tar.gz
Installation locations:
- 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.
7.3.2 HP MPI and the Intel Trace Collector (OTA)
The following are notes regarding 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 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
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 the Intel compilers are used, add -static-libcxa to the link line;
otherwise, the following errors are generated at run-time:
[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:
7-2 Programming and User Environment Notes