TAU - Tuning and Analysis Utilities -

Tuning and Analysis Utilities

TAU

PRL

6.4. Q. Who calls MPI_Barrier() Where?

A. Create a callpath profile with given depth.

Figure 6.4. Callpath Profile

Callpath Profile

Here is how to generate a callpath profile with MPI

% setenv TAU_MAKEFILE
% /usr/local/packages/tau/i386_linux/lib/Makefile.tau-mpi-pdt
% set path=(/usr/local/packages/tau/i386_linux/bin $path)
% make F90=tau_f90.sh
(Or edit Makefile and change F90=tau_f90.sh)
% setenv TAU_CALLPATH 1
% setenv TAU_CALLPATH_DEPTH 100

% mpirun -np 4 ./a.out
% paraprof --pack app.ppk
	Move the app.ppk file to your desktop. 
% paraprof app.ppk
(Windows -> Thread -> Call Graph)