Overview

Discover how to find and fix memory errors using the Intel® Inspector and the nqueens_fortran Fortran sample application.

About This Tutorial

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

  1. Build an application to produce an optimal inspection result.

  2. Inspect an application to find memory errors.

  3. Edit application code to fix the memory errors.

  4. Investigate memory errors using interactive debugging.

  5. Rebuild and reinspect the application.

Estimated Duration

10-15 minutes.

Learning Objectives

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

  • List the steps to find and fix memory errors using the Intel Inspector.

  • Define key Intel Inspector terms.

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

  • Run memory error analyses.

  • Influence analysis scope and running time.

  • Navigate among windows in the Intel Inspector results.

  • Display a prioritized to-do list for fixing errors.

  • Access help for fixing specific errors.

  • Access source code to fix errors.

  • Launch an interactive debugging session to investigate problems more deeply.

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/articles/intel-software-product-tutorials/. This site also offers tutorials for other Intel® products and a printable version (PDF) of tutorials.

In addition, you can find more resources at http://software.intel.com/en-us/articles/intel-parallel-studio-xe/.


Studio-specific supplemental documentation may be available at <install-dir>/<studio>/documentation/.

Per informazioni più dettagliate sulle ottimizzazioni basate su compilatore, vedere il nostro Avviso sull'ottimizzazione.