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 threading errors using the Intel Inspector and a C++ sample application.
Do one of the following to set up the Intel Inspector environment:
Run one of the following source commands:
For csh/tcsh users: source <inspector-install-dir>/inspxe-vars.csh
For bash users: source <inspector-install-dir>/inspxe-vars.sh
The name of this script for the application as part of an Intel® oneAPI HPC Toolkit or Intel® oneAPI IoT Toolkit installation is env\vars instead of inspxe-vars.
The default installation path, <inspector-install-dir>, is inside:
/opt/intel/ for root users
$HOME/intel/ for non-root users
Add <inspector-install-dir>/bin32 or <inspector-install-dir>/bin64 to your path.
Open the Intel Inspector Standalone GUI
Run the inspxe-gui command.
Navigate the Intel Inspector Standalone GUI
The menu, toolbar, and Project Navigator offer different ways to perform many of the same functions.
Use the menu to create projects and dynamic analysis results, import result archive files and results from other Intel error-detection products, open projects and results, compare results, configure projects, set various options, and access the Getting Started page and Help.
Use the toolbar to open the Getting Started page; create, configure, and open projects; create dynamic analysis results; and open and compare results.
Use the Project Navigator:
Tree to see a hierarchical view of your projects and results based on the directory where the opened project resides.
Context menus (right-click to open) to perform functions available from the menu and toolbar plus delete or rename a selected project or result, close all opened results, and copy various directory paths to the system clipboard.
Navigate the Intel Inspector Result Tabs
Use result tab names to distinguish among results.
Click buttons on the navigation toolbar to change window views.
Use window panes to view and manage result data.
Click buttons to display help pages that describe how to use window panes.
Drag window pane borders to resize window panes.
Click , , , and controls to show/hide window panes.
Click window pane data controls to adjust result data within the pane (and possibly in adjacent panes).
Use title bars to identify window panes.
Data column headers - Drag to reposition the data column; drag the left or right border to resize the data column; click to sort results in ascending or descending order by column data.
Right-click data in window panes to display context menus that provide access to key capabilities.