Launch
Intel® Advisor Command Line Interface
Launch
Intel® Advisor
Command Line InterfaceSteps to
run
.
Intel® Advisor
from command line and ramp up with its command line interface (CLI)Run the
Intel® Advisor CLI
Intel® Advisor
CLIThe
Intel® Advisor
CLI is available from a command line on Windows* or Linux* OS systems.
To run the
advisor
command line interface, use the following syntax:
advisor <--action> [--action-options] [--global-options] -- <target> [target options]
where:
- <--action>is anIntel® Advisoraction to do, such ascollectorreport.
- [--action-options]and[--global-options]are options to modify action behavior.
- <target>is an application executable to analyze with optional[target-options]to apply to the target.
To run the
Offload Modeling
perspective using Python* scripts, use the following syntax:
advisor-python <APM>/<offload-script>.py <project-dir> [--options] [-- <target> [target-options]]
where:
- <APM>is the environment variable that points to the directory with theIntel® Advisorscripts. It is$APMfor Linux* OS and%APM%for Windows* OS.
- <offload-script>is a script to run:run_oa,collect, oranalyze.
- <project-dir>is a path to a project directory.
- [--options]is options to modify script behavior.
- <target>is an application executable to analyze with optional[target-options]to apply to the target.
For details about the
Intel® Advisor
command line syntax and options, see the
advisor Command Line Interface Reference. Review the typical workflows for the
Intel® Advisor
CLI in the
advisor Command Line Interface Reference.