report-output

Write a generated report to a file.

Syntax

-report-output <pathname>

Arguments

Argument

Description

<dir>

Name of the directory if you are writing multiple report files

<pathname>

Directory, filename and extension of a single report file.

Default

The report is written to stdout.

Actions Modified

report

Description

Use the report-output action-option to write a report to a file.

  • If the filename includes a file extension, it is used unchanged.

  • If the file extension is not included in the filename, the value specified for the format option is used (.txt for text or .csv for csv).

Note

If you specify a .csv file, use the csv-delimiter option to specify which delimiter you want to use in the report.

Example

This example generates a wait-time report for the r001lw result and saves it in the /home/text/report.txt file.

$ amplxe-cl -report wait-time -r r001lw -format text -report-output /home/test/report.txt

This example creates a hotspots report from the most recent hotspot result and saves it as a .csv file with tab delimiters.

$ amplxe-cl -R hotspots -report-output MyReport.csv -format csv -csv-delimiter tab
For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)