return-app-exitcode

Return the exit code of the target.

Syntax

-return-app-exitcode

Default

OFF

By default, the amplxe-cl exit code is returned.

Actions Modified

collect

Description

Use the return-app-exitcode option to return the exit code of the target rather than the amplxe-cl tool.

Example

This example runs the Threading analysis for the sample Linux* application, generates a default summary report, and returns the exit code of the sample application.

$ amplxe-cl -collect threading -return-app-exitcode -- /home/test/sample
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)