Intel® Advisor Help

search-dir

Specify which directories to search for annotations.

GUI Equivalent

Binary/Symbol Search and Source Search Locations

Dialog Box: Project Properties - Source Search

Dialog Box: Project Properties - Binary/Symbol Search

Syntax

-search-dir <keyword>=<PATH>

Arguments

<all | bin | src | sym>:=<PATH>

<PATH> is the PATH/name of the search directory, and can include environment paths and absolute paths.

Keyword Description
all Search all types of directories.
bin Search binary directories.
src Search source directories. This is used for most collect actions.
sym Search symbol directories.

Actions Modified

collect, import-dir, report

Description

Use the search-dir action-option to specify which directories to search for annotations. It is strongly recommended that you use -search-dir src:=<PATH> when performing collect actions.

To exclude files from analysis, use the exclude-files option.

Note

You may find it easier to specify project properties in the Intel® Advisor GUI .

Example

This command performs a Suitability analysis on myApplication, searches for source files in the specified search directory, and writes the result to the specified project directory.

$ advixe-cl -collect suitability -project-dir ./advi -search-dir src:=./src1 -- myApplication

The following two commands are equivalent. Each performs a Suitability analysis on myApplication, searching for source files in the two specified search directories.

$ advixe-cl -collect suitability -project-dir ./advi -search-dir src:=./src1 -search-dir src:=./src2 -- myApplication
$ advixe-cl -collect suitability -project-dir ./advi -search-dir src:=./src1,./src2 -- myApplication

See Also