.. meta:: :description: ROCm Systems Profiler installation documentation and reference :keywords: rocprof-sys, rocprofiler-systems, Omnitrace, ROCm, installation, installer, profiler, tracking, visualization, tool, Instinct, accelerator, AMD ************************************* ROCm Systems Profiler installation ************************************* The following information builds on the guidelines in the :doc:`Quick start <./quick-start>` guide. It covers how to install `ROCm Systems Profiler `_ from source or a binary distribution, as well as the :ref:`post-installation-steps`. If you have problems using ROCm Systems Profiler after installation, consult the :ref:`post-installation-troubleshooting` section. Release links ======================================== To review and install either the current ROCm Systems Profiler release or earlier releases, use these links: * Latest ROCm Systems Profiler Release: ``_ * All ROCm Systems Profiler Releases: ``_ Operating system support ======================================== ROCm Systems Profiler is only supported on Linux. The following distributions are tested in the ROCm Systems Profiler GitHub workflows: * Ubuntu 20.04 * Ubuntu 22.04 * OpenSUSE 15.5 * OpenSUSE 15.6 * Red Hat 8.8 * Red Hat 8.9 * Red Hat 8.10 * Red Hat 9.2 * Red Hat 9.3 * Red Hat 9.4 Other OS distributions might function but are not supported or tested. Identifying the operating system ----------------------------------- If you are unsure of the operating system and version, the ``/etc/os-release`` and ``/usr/lib/os-release`` files contain operating system identification data for Linux systems. .. code-block:: shell $ cat /etc/os-release .. code-block:: shell NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ... VERSION_ID="20.04" ... The relevant fields are ``ID`` and the ``VERSION_ID``. Architecture ======================================== With regards to instrumentation, at present only AMD64 (x86_64) architectures are tested. However, Dyninst supports several more architectures and ROCm Systems Profiler instrumentation may support other CPU architectures such as aarch64 and ppc64. Other modes of use, such as sampling and causal profiling, are not dependent on Dyninst and therefore might be more portable. Installing ROCm Systems Profiler from binary distributions ========================================================== Every ROCm Systems Profiler release provides binary installer scripts of the form: .. code-block:: shell rocprof-sys-{VERSION}-{OS_DISTRIB}-{OS_VERSION}[-ROCm-{ROCM_VERSION}[-{EXTRA}]].sh For example, .. code-block:: shell rocprof-sys-1.0.0-ubuntu-18.04-OMPT-PAPI-Python3.sh rocprof-sys-1.0.0-ubuntu-18.04-ROCm-405000-OMPT-PAPI-Python3.sh ... rocprof-sys-1.0.0-ubuntu-20.04-ROCm-50000-OMPT-PAPI-Python3.sh Any of the ``EXTRA`` fields with a CMake build option (for example, PAPI, as referenced in a following section) or with no link requirements (such as OMPT) have self-contained support for these packages. To install ROCm Systems Profiler using a binary installer script, follow these steps: #. Download the appropriate binary distribution .. code-block:: shell wget https://github.com/ROCm/rocprofiler-systems/releases/download/v/