Tutorial

  • 2021.1
  • 12/04/2020
  • Public Content

Rebuild and Rerun Analysis

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 topic is part of a
tutorial
that shows how to find and fix
memory
errors using the
Intel Inspector
and a
Fortran
sample application.
To check if your edits resolved the
Memory leak
problem:

Rebuild the Application

If you are using the Visual Studio* IDE:
  1. Choose
    Build
    Clean Solution
    .
  2. Choose
    Build
    Project Only
    Build Only memory_issues
    .
If you are using the
Intel Inspector
standalone GUI:
  1. In the previously opened command prompt window, change directory to the
    nqueens_fortran
    directory.
  2. Type
    devenv nqueens_fortran.sln /Clean
    .
  3. Type
    devenv nqueens_fortran.sln /Build
    .

Rerun the Analysis

To run another analysis of the same analysis type:
  • From the Visual Studio* menu, choose
    Tools
    >
    Intel Inspector [version]
    >
    Memory Error Analysis / Detect Memory Problems
    .
  • From the
    Intel Inspector
    standalone GUI menu, choose
    File
    New
    Memory Error Analysis / Detect Memory Problems
    .
The
Summary
window automatically displays after analysis (both collection and finalization) completes successfully:
Summary window
Notice the
Intel Inspector
:
  • Created a new result tab:
    r001mi2
    .
  • No longer detects the
    Memory leak
    problem in the
    nqueens_fortran.f90
    source file.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.