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

Overview

Discover how to find where to add parallelism to a serial application using the Intel® Advisor and the nqueens Fortran sample application.

About This Tutorial

This tutorial demonstrates an end-to-end workflow you can ultimately apply to your own applications:

  1. Survey the target executable to locate the loops and functions where your application spends the most time.

  2. In the target sources, add Intel Advisor annotations to mark possible parallel tasks and their enclosing parallel sites.

  3. Check Suitability to predict the maximum parallel performance speedup of the target based on these annotations.

  4. Check Correctness to predict parallel data sharing problems in the target based on these annotations.

  5. If the predicted maximum speedup benefit is worth the effort to fix the predicted parallel data sharing problems, fix the problems.

  6. Recheck Suitability to see how your fixes impact the predicted maximum speedup.

  7. If the predicted maximum speedup benefit is still worth the effort to add parallelism to the target, replace the annotations with parallel framework code that enables parallel execution.

Estimated Duration

20 minutes.

Learning Objectives

After you complete this tutorial, you should be able to:

  • List the steps to find where to add parallelism using the Intel Advisor.

  • Define key Intel Advisor terms.

  • Identify compiler/linker options that produce the most accurate and complete Intel Advisor analysis results.

  • Run all Intel Advisor analysis tools.

  • View, interpret, and manipulate data collected by Intel Advisor analysis tools.

More Resources

The concepts and procedures in this tutorial apply regardless of programming language; however, a similar tutorial using a sample application in another programming language may be available at http://software.intel.com/en-us/intel-software-technical-documentation. This site also offers tutorials for other Intel® products and a printable version (PDF) of many tutorials.

In addition, you can find more resources in Intel Advisor Help.

Next Step

Find Where to Add Parallelism


Submit feedback on this help topic