To collect data on the Point-to-Point operations in the poisson application, run the application using the command:
$ mpirun –trace -trace-pt2pt –n 4 ./poisson
> mpiexec -trace-pt2pt –n 4 poisson.exe
Check your work:
Open the resulting trace file poisson.stf in the Intel® Trace Analyzer.
In the Function Profile, right-click Group MPI and select Ungroup MPI from the context menu.
Go to the Load Balance tab of the Function Profile to see how the MPI_Sendrecv function is 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 Point to Point operations that are presented by the MPI_Sendrecv function: