Intel® VTune™ Amplifier
Specify the application directory in auto-generated commands.
Analysis Target window > Launch Application target type
-app-working-dir <PATH> |
A string containing the PATH/name.
Default is the current working directory.
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.
This analysis changes to home/myAppDirectory to run the myApp 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 home/myAppDirectory -search-dir ./mySources -- myApp