Run a batch job and collect data:
batch script commands
cd $SLURM_SUBMIT_DIR export PATH=/sw/external/amd/AMDuProf_Linux_x64_4.0.341/bin:$PATH set -v srun AMDuProfCLI collect --config tbp -o `pwd`/uprof_tbp `pwd`/stream.22gb srun AMDuProfCLI collect --config assess -o `pwd`/uprof_assess `pwd`/stream.22gb srun AMDuProfCLI collect --config assess_ext -o `pwd`/uprof_assess_ext `pwd`/stream.22gb
After collecting data from a batch job, generate reports with the AMDuProfCLI report option.
generate report
[arnoldg@dt-login03 uprof_tbp]$ export PATH=/sw/external/amd/AMDuProf_Linux_x64_4.0.341/bin:$PATH [arnoldg@dt-login03 uprof_tbp]$ AMDuProfCLI report -i AMDuProf-stream-TBP_Dec-19-2022_09-40-27/ /sw/external/amd/AMDuProf_Linux_x64_4.0.341/bin/AMDuProfCLI Translation started ... Translation finished Generated database file : cpu Report generation started... Generating report file... Report generation completed... Generated report file: /projects/bbka/slurm_test_scripts/cpu/stream/uprof_tbp/AMDuProf-stream-TBP_Dec-19-2022_09-40-27/report.csv