Tutorial: Reducing Trace File Size for Intel® Trace Analyzer and Collector
To
collect information about the Collective operations in the poisson
application, run the application using the commands below.
Linux* OS:
$ mpirun –trace –trace-collectives –n 4 ./poisson
Windows* OS:
> mpiexec –trace-collectives –n 4 poisson.exe
Check your work:
Open the resulting trace file poisson.stf in Intel® Trace Analyzer.
In the Function Profile, right-click Group MPI and select Ungroup Group MPI from the context menu.
Go to the Load Balance tab of the Function Profile to see how the MPI_Bcast and MPI_Allreduce collectives are distributed among the four processes.
Go to Charts > Event Timeline to see the activities in each of the four processes individually.
You can see that the trace data was collected only for the Collective operations that are presented by two functions: MPI_Bcast and MPI_Allreduce: