Remove Serialization

 You can improve the performance of the poisson sample program by replacing the serial MPI_Sendrecv with non-blocking communication: MPI_Isend and MPI_Irecv.

Once corrected, the single iteration of the revised program will look similar to:

Since poisson_sendrecv.single.stf is a striking example of serialization, almost all of the Intel® Trace Analyzer charts show this interesting pattern. But in the real-world cases, it may be necessary to formulate a hypothesis regarding how the program should behave and to check this hypothesis using the most suitable chart.

Key Terms


For more complete information about compiler optimizations, see our Optimization Notice.