1.4. Q. Who calls MPI_Barrier() Where?

A. Create a callpath profile with given depth.

Figure 1.4. Callpath Profile

Callpath Profile

Here is how to generate a callpath profile with MPI

% setenv TAU_CALLPATH 1
% setenv TAU_CALLPATH_DEPTH 100

% qsub  run.job
% paraprof -–pack app.ppk
	Move the app.ppk file to your desktop. 
% paraprof app.ppk
(Windows -> Thread -> Call Graph)