Results are finalized during collection by default - but sometimes finalization is suppressed, and sometimes a result that was finalized needs to be re-resolved. Here are some of the reasons that you may need to finalize or re-resolve a result.
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. You can also use the recursive and priority arguments, as in the
Raw collector data is used to re-finalize a result. If the collect action was performed with the discard-raw-data option, so that the raw data was deleted after the initial finalization, the result cannot be re-finalized.
How to Re-Finalize
To force result re-finalization, run the finalize action using this general syntax:
$ amplxe-cl -finalize -result-dir <PATH> -search-dir <PATH>
<PATH> is the result directory or search directory. Use the
-search-dir option to specify directories for searching symbol and binary files.