Visible to Intel only — GUID: GUID-D3C7708F-B18C-4DC2-99AA-FAE5D9808A95
Visible to Intel only — GUID: GUID-D3C7708F-B18C-4DC2-99AA-FAE5D9808A95
app-working-dir
Specify the directory where the application will be run.
GUI Equivalent
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
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