Vampir/Vampirtrace 3.1
Overview
- Vampir is the GUI driven frontend used to visualize the data collected by running a program linked with the vampirtrace library on mpp2.
- Vampirtrace is a library that you link to your object files that collects profile information about MPI jobs on MPP2.
Details
- Environment Preparation.
- For csh/tcsh shell users:
source/home/scicons/apps/Pallas/vampir.csh - For sh/bash shell users:
./home/scicons/apps/Pallas/vampir.sh
These scripts set the PAL_ROOT, VT_ROOT, PAL_LICENSEFILE, and VAMPIR_LIB_PATH environment variables, and modify PATH and MANPATH environment variables to add information about the location of the vampir command and its help documentation.
- For csh/tcsh shell users:
- Building.
- mpif90 -c your_prog.f90
- mpif90 your_prog.o -o your_binary
- mpif90 your_prog.f90 -o your_binary -L$(VAMPIR_LIB_PATH) -lVT
- Data Collection
- Data Analysis
- vampir your_binary.bvt &
- stftool your_binary.stf --logfile-format STFSINGLE --convert your_binary.stf.single
- export LD_ASSUME_KERNEL=2.4.19 (for bash users)
- setenv LD_ASSUME_KERNEL 2.4.19 (for csh/tcsh users)
Relink a program with the Vampirtrace library. Start with existing .o files and build the executable by adding:
-L$(VAMPIR_LIB_PATH) -lVT to the end of the link command. For example, if your build commands are:
To link with the Vampirtrace library you would use:
If you are using HP-MPI (instead of Quadrics MPI), then substitute mpif90.mpich for mpif90, so that the MPICH compatability library is linked in.
Execute your program as you normally would (with a bsub), creating the trace file named your_binary.bvt or a large number of trace files (The files generated is software and configuration dependent).
Start Vampir on the .bvt (or .stf) file created in the Data Collection phase.
If vampire generated a large number of files. These can be merged into a single stf.single file for easier use (you then run vampir on the stf.single file):
Depending upon the module environment you are exectuting under, vampir may refuse to run unless a compatibility flag set first:
Help
Contact the MSCF VisUS Consultants if you have difficulties.
Download current, FREE browsers from Mozilla (any platform), Internet Explorer (Windows only), and Opera (any platform).
