Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
doku:perf-report [2015/09/15 10:15] – sh | doku:perf-report [2020/09/24 13:09] – sh |
---|
===== VSC-3: Performance Report (Allinea) ===== | ===== Performance Reports ===== |
| |
| |
==== Synopsis: ==== | ==== Synopsis: ==== |
''perf-report'' is a lightweight profiling tool that provides basic information about where the computing time is actually spent in a given application. It is developed by Allinea [[http://www.allinea.com/products/allinea-performance-reports]] and very easy to use, i.e. by simply inserting the call to ''perf-report'' prior to the usual execution of the program. | ''perf-report'' is a lightweight profiling tool that provides basic information about where the computing time is actually spent in a given application. It is developed by ARM (formerly Allinea) [[https://developer.arm.com/tools-and-software/server-and-hpc/debug-and-profile/arm-forge]] and very easy to use, i.e. by simply prefixing the usual executable with a call to ''perf-report''. |
| It is nowadays integral part of [[doku:forge|ARM's forge]]. |
| |
==== Usage: ==== | ==== Usage: ==== |
#SBATCH -J prflng | #SBATCH -J prflng |
#SBATCH -N 2 | #SBATCH -N 2 |
#SBATCH --time=00:10:00 | #SBATCH -L allinea@vsc |
| #SBATCH --ntasks-per-node=16 |
| #SBATCH --ntasks-per-core=1 |
| |
module purge | module purge |
module load intel-mpi/5 | module load intel/18 intel-mpi/2018 allinea/20.1_FORGE |
module load allinea/5.10 | |
| |
perf-report mpirun -np 32 a.out | perf-report srun --jobid $SLURM_JOB_ID --mpi=pmi2 -n 32 ./a.out |
| |
This will result in the creation of two summary files in *.txt and *.html format providing an overview of the relative time spent in MPI, I/O, OpenMP etc. | This will result in the creation of two summary files in *.txt and *.html format providing an overview of the relative time spent in MPI, I/O, OpenMP etc. |
| |
==== Further Reading: ==== | ==== Further Reading: ==== |
Explanations, examples, case studies at [[http://content.allinea.com/downloads/getting-started.pdf]] | Explanations, examples, typical cases in ''/opt/sw/x86_64/glibc-2.17/ivybridge-ep/allinea/20.1_FORGE/doc/userguide-forge.pdf'' ( part 4 ) |