User Guide

To launch the command line interface: Run the inspxe-cl command. (To get help, append -help to the
command line.)
Choose/Create Project
Intel Inspector is based on a project paradigm and requires that you create or open a project to enable
analysis features.
Think of an analysis project as a:
Compiled application
Collection of configurable attributes, including suppression rules and search directories
Container for analysis results
For more information, see
Choosing Projects in Intel Inspector Help.
Configure Project
Data set size and workload have a direct impact on application execution time and analysis speed.
For best results, choose small, representative data sets that create threads with minimal to moderate work
per thread.
Your objective: In as short a runtime period as possible, execute as many paths and the maximum number
of tasks (parallel activities) as you can afford, while minimizing the redundant computation within each task
to the bare minimum needed for good code coverage.
Data sets that run a few seconds are ideal. Create additional data sets to ensure all your code is inspected.
For more information, see Configuring Projects in Intel Inspector Help.
Configure Analysis
Intel Inspector offers a range of preset memory and threading analysis types (as well as custom analysis
types) to help you control analysis scope and cost. The narrower the scope, the lighter the load on the
system. The wider the scope, the larger the load on the system.
Tip
Use analysis types iteratively. Start with a narrow scope to verify your application is set up correctly
and set expectations for analysis duration. Widen the scope only if you need more answers and you
can tolerate the increased cost.
For more information, see Configuring Analyses in Intel Inspector Help.
Run Analysis
When you run an analysis, the Intel Inspector:
Executes your application.
Identifies issues that may need handling.
Collects those issues in a result.
Converts symbol information into filenames and line numbers.
Applies suppression rules.
Performs duplicate elimination.
Forms problem sets.
Depending on your analysis configuration options, may launch an interactive debugging session.
For more information, see Running Analyses in Intel Inspector Help.
Choose Problems
During analysis, the Intel Inspector displays problems in the order detected. After analysis is complete, the
Intel Inspector:
Intel
®
Inspector Get Started Guide
10