Intel® Advisor Help

Offload Modeling Command Line Reference

This reference section describes the command line options available for each of the Python* scripts that you can use to run the Offload Modeling perspective.

To use the Offload Modeling, run one or two of the following scripts, depending on a method you chose:

Note

You can also run Offload Modeling using a different combination of Python scripts and/or advisor CLI. For example, you can use advisor CLI to collect performance data and run analyze.py to model performance, or run run_oa.py for the data collection and the first modeling and run analyze.py if you want to remodel performance for different configuration.

Command Syntax

The syntax for Offload Modeling commands is as follows:

advisor-python <APM>/<script-name>.py <project-dir> [--options] [-- <target> [target-options]]

where:

advisor-python

A call to the Intel® Advisor Python* command line tool.

advisor-python is recommended to run the scripts. The main advantage of using this command line tool is that it does not require you to install a specific Python version on your system because it calls to an internal Python version of the Intel Advisor.

<APM>

The environment variable that points to the directory with the scripts. Replace it with:

  • $APM on Linux* OS

  • %APM% on Windows* OS

<script-name>

A script name to run: run_oa.py, collect.py, or analyze.py.

<project-dir>

The path to a project directory.

<--options>

Options to modify behavior specific to the script. You can specify several options per script. Using an option not supported by the script causes a usage error.

<target>

A target application to analyze.

Important

You do not need to specify a target executable and target options when running the analyze.py script.

[target-options]

Options to modify target application behavior.

Syntax Rules and Alternatives