Tutorial: Where to Add Parallelism with Intel® Advisor 2015 and a Fortran Sample

Find Where to Add Parallelism

Follow these steps to find where to add parallelism to a serial application using the Intel Advisor and the nqueens Fortran sample application.

Step

Step Detail

Step 1: Prepare for tutorial.

  • Get software tools and unpack the sample.

  • Verify optimal compiler/linker settings for the Survey tool.

  • Set up the Intel Advisor environment.

  • Build the sample target in release mode.

  • Test the target.

  • Open the Intel Advisor.

  • Create a new Intel Advisor project.

Step 2: Discover parallel opportunities.

  • Collect Survey data.

  • View Survey Report.

  • View Survey source.

  • View Summary window.

Step 3: Mark best parallel opportunities with annotations.

  • Add parallel site and task annotations.

  • Rebuild target in release mode.

Step 4: Predict maximum parallel performance speedup.

  • Collect Suitability data.

  • View Suitability Report.

  • View Summary window.

Step 5: Predict parallel data sharing problems.

  • Build target in debug mode.

  • Change Intel Advisor project properties.

  • Collect Correctness data.

  • View Correctness Report.

  • View Summary window.

Step 6: Fix data sharing problems.

  • Make cost/benefit decision.

  • Fix memory reuse and data communication sharing problems.

  • Rebuild target in debug mode.

  • Rerun Correctness tool.

  • View Summary window.

Step 7: Add parallelism.

Under normal circumstances:

  • Rebuild target in release mode.

  • Collect Suitability data again.

  • Make cost/benefit decision.

  • Replace Intel Advisor annotations with parallel framework code.

  • Build parallel version of target in release mode.

For the purposes of this tutorial: Explore how we replaced Intel Advisor annotations with parallel framework code for you.

Key Terms

annotations, parallel framework, target


Submit feedback on this help topic