Intel® Advisor User Guide

ID 766448
Date 3/22/2024
Public
Document Table of Contents

project-dir

Specify the top-level directory where a result is saved if you want to save the collection somewhere other than the current working directory.

Syntax

--project-dir=<PATH>

Arguments

<PATH> is the PATH/name of a directory.

Default

Current working directory

Usage

Recommendation: Specify the project directory when you:

  • Generate a report from a collection.

  • Import MPI collections.

Examples

Run a Survey analysis on myApplication. Search the src directory for all source, binary, and symbol files. Write the result to advi_results.

advisor --collect=survey --search-dir all:=./src --project-dir=./advi_results -- ./myApplication

Generate a Survey report from the result in the advi directory. Output the report in text format as survey.txt.

advisor --report=survey --format=text --report-output=./out/survey.txt --project-dir=./advi_results