- 1. Introduction
- 2. HPCToolkit Overview
- 3. Quick Start
- 4. Installing with Spack
- 5. Meson for Developers
- 6. Monitoring Applications
- 7. Monitoring CPU
- 7.1. REALTIME and CPUTIME
- 7.2. IO
- 7.3. MEMLEAK
- 7.4. PAPI
- 7.5. Linux
perf_events - 7.6. CPU Top-down Profiling
- 8. Monitoring MPI
- 9. Monitoring OpenMP
- 10. Monitoring GPUs
- 11. Hpcviewer
- 12. Strategies for Insight
- 13. Known Issues
- 13.1. Limited cross-version compatibility with ROCm
- 13.2. No support for PC sampling with CUDA 13+
- 13.3. When monitoring applications that use ROCm, using LD_AUDIT in
hpcrunmay cause it to fail to elide OpenMP runtime frames - 13.4. When using instrumentation on Intel GPUs,
hpcrunmay report that substantial time is spent in a partial call path consisting of only an unknown procedure - 13.5.
hpcrunreports partial call paths for code executed by a constructor prior to entering main - 13.6.
hpcrunmay fail to measure a program execution on a CPU with hardware performance counters - 13.7. hpcrun may associate several profiles and traces with rank 0, thread 0
- 13.8.
hpcrunsometimes enables writing of read-only data in memory - 13.9. A confusing label for GPU theoretical occupancy
- 14. FAQ and Troubleshooting
- 14.1. General Measurement Failures
- 14.2. Measurement Failures using NVIDIA GPUs
- 14.2.1. Deadlock while monitoring a program that uses IBM Spectrum MPI and NVIDIA GPUs
- 14.2.2. Ensuring permission to use GPU performance counters
- 14.2.3. Avoiding the error
cudaErrorUnknown - 14.2.4. Avoiding the error
CUPTI_ERROR_NOT_INITIALIZED - 14.2.5. Avoiding the error
CUPTI_ERROR_HARDWARE_BUSY - 14.2.6. Avoiding the error
CUPTI_ERROR_UNKNOWN
- 14.3. General Measurement Issues
- 14.4. Problems Recovering Loops in NVIDIA GPU binaries
- 14.5. Graphical User Interface Issues
- 14.5.1.
hpcviewerfails to launch - 14.5.2. Fail to run
hpcviewer: executable launcher was unable to locate its companion shared library - 14.5.3. Launching
hpcvieweris very slow on Windows - 14.5.4. When executing
hpcviewer, it complains cannot create “Java Virtual Machine” - 14.5.5.
hpcviewerfails to launch due tojava.lang.NoSuchMethodErrorexception. - 14.5.6.
hpcviewerfails due tojava.lang.OutOfMemoryErrorexception. - 14.5.7.
hpcviewerwrites a long list of Java error messages to the terminal! - 14.5.8.
hpcviewerattributes performance information only to functions and not to source code loops and lines! Why? - 14.5.9.
hpcviewerhangs trying to open a large database! Why? - 14.5.10.
hpcviewerruns glacially slowly! Why? - 14.5.11.
hpcviewerdoes not show my source code! Why? - 14.5.12.
hpcviewer’s reported line numbers do not exactly correspond to what I see in my source code! Why? - 14.5.13.
hpcviewerclaims that there are several calls to a function within a particular source code scope, but my source code only has one! Why? - 14.5.14. hpcviewer’s Trace view shows lots of white space on the left. Why?
- 14.5.1.
- 14.6. Debugging
- 15. Environment Variables
- 16. Getting Help
- 17. Information for Experts