Tutorial: Analyzing Memory Errors With Intel® Inspector and a Fortran Sample Application for Windows* OS

ID 762163
Date 12/04/2020
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Intel® Inspector Tutorial: Analyzing Memory Errors in a Fortran Sample Application for Windows* OS

Intel® Inspector is a dynamic memory and threading error checking tool for users developing serial and multithreaded applications on Windows* and Linux* operating systems.

This tutorial - and Fortran sample application you can use to follow along - show how to use the Intel inspector on a Windows* platform to analyze memory errors.

Intel® Inspector is available as a standalone product and as part of the following products:

  • Intel® oneAPI HPC Toolkit

  • Intel® oneAPI IoT Toolkit

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. Rebuild and reinspect the application.

It was last updated for the 2017 product release. (The only variance for the 2018 product release is screenshot background color.)

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.

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 Intel® Software Documentation Library.

These sites also offer tutorials for other Intel products.

In addition, you can find more resources in: