Get Trace Data on Collective Operations

 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:

  1. Open the resulting trace file poisson.stf in Intel® Trace Analyzer.

  2. In the Function Profile, right-click Group MPI and select Ungroup Group MPI from the context menu.

  3. 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.

  4. 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:

Key Terms

Configuration File
Event Timeline
Function Profile