Re-finalize Results from Command Line

Results are finalized during collection by default, but sometimes finalization is suppressed, or a result that was finalized needs to be re-resolved. Here are some of the possible reasons:

  • The no-auto-finalize action-option may be used to suppress finalization when performing the collect action. In this case, the finalize action must be performed before the result can be viewed or used to generate a report.

  • Finalization may not have completed successfully. If you open the result in the GUI and see question marks or other unexpected characters, the usual cause is that amplxe-cl could not find all the source, binary and symbol files. When re-finalizing the result, use the search-dir action-option and make sure to specify all search directories.

Note

Raw collector data is used to re-finalize a result. If the collect action is performed with the discard-raw-data option, so that the raw data is deleted after the initial finalization, the result cannot be re-finalized.

Re-Finalize a Result

To force result re-finalization, run the finalize action using this general syntax:

$ amplxe-cl -finalize -result-dir <result_path> -search-dir <search_path>

where

<result_path> is the result directory and <search_path> is the search directory. Use the -search-dir option to specify directories for searching symbol and binary files.

Example

This example re-finalizes the r001hs result, searching for symbol files in the specified search directory.

$ amplxe-cl -finalize -result-dir r001hs -search-dir /home/import/system_modules 

See Also

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)