A. Create an event trace.
% setenv TAU_MAKEFILE /usr/local/packages/tau/i386_linux/lib/Makefile.tau-mpi-pdt
% setenv TAU_TRACE 1
% set path=(/usr/local/packages/tau/i386_linux/bin $path)
% make F90=tau_f90.sh
(There is no need to re-compile the application if you have a binary built with TAU)
% mpirun -np 4 ./a.out
% tau_treemerge.pl
(merges binary traces to create tau.trc and tau.edf files)
JUMPSHOT:
% tau2slog2 tau.trc tau.edf -o app.slog2
% jumpshot app.slog2
OR
VAMPIR:
% tau2otf tau.trc tau.edf app.otf -n 4 -z
(4 streams, compressed output trace)
% vampir app.otf
(or vng client with vngd server).
TAU can also use VampirTrace directly without the need to merge and convert trace files. To use this feature, simply:
% setenv TAU_MAKEFILE % /usr/local/packages/tau/i386_linux/lib/Makefile.tau-papi-mpi-pdt-vampirtrace-trace % make F90=tau_f90.sh % mpirun -np 4 ./a.out % vampir a.out.otf
