Intel® Inspector User Guide for Windows* OS

ID 767798
Date 5/15/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

app-working-dir

Specify the directory where the application will be run.

GUI Equivalent

Microsoft Visual Studio* IDE: Project > Intel Inspector <version> Project Properties > Target tab > Application Launch Directory

Intel Inspector standalone GUI menu: File > Project Properties... > Target tab > Application Launch Directory

Syntax

-app-working-dir <PATH>

Arguments

A string containing the PATH/name for the application.

Default

Defaults to the current working directory.

Actions Modified

collect, collect-with

Description

Use the app-working-dir action-option when performing a collect or collect-with action to run the application in a directory other than the current working directory during profiling. The process uses the specified directory to run the application, then returns to the current working directory. This option is especially useful when the application and data files are stored in different locations.

Example

Run a memory error analysis that answers the question Does my target have memory access problems? . The collection process changes to J:\myAppDirectory to run the myApp application, uses source files found in the directory specified by the search-dir option to finalize the result, writes the result in the default result directory, and then returns to the current working directory to create the inspxe-cl.txt Summary report file.

$ inspxe-cl -collect mi2 -app-working-dir J:\myAppDirectory -search-dir src:=.\mySources -- myApp