app-working-dir

Specify the application directory in auto-generated commands.

GUI Equivalent

Pane: Launch Application

Syntax

-app-working-dir <PATH>

Arguments

A string containing the PATH/name.

Default

Default is the current working directory.

Description

If your data files are stored in a separate location from the application, use the app-working-dir option to specify the application working directory.

Example

This analysis changes to J:\myAppDirectory to run the myApp.exe application, uses binary and symbol 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 working directory.

$ amplxe-cl -collect hotspots -app-working-dir J:\myAppDirectory -search-dir .\mySources -- myApp.exe
For more complete information about compiler optimizations, see our Optimization Notice.