ROCm / omniperf

Advanced Profiling and Analytics for AMD Hardware
https://rocm.github.io/omniperf/
MIT License
125 stars 33 forks source link

Installation instructions for RHEL-like systems #71

Closed wyphan closed 1 year ago

wyphan commented 1 year ago

It would be helpful if the installation instructions in the documentation can be extended for RHEL and RHEL-like distros like CentOS, Rocky Linux, and Alma Linux.

koomie commented 1 year ago

Hi there. We have used omniperf on RHEL clones and I'm not aware of any significant installation differences. For the client-side installation (to collect profiling data), if you have the basic software dependencies met (python >= 3.7, cmake >= 3.19 and ROCm >= 5.2), I believe you should be good to go. Of course if you find an issue with installation on a binary-compatible rhel clone, please let us know.

Note that the current documentation specifies ROCm 5.1 as the minimum, but it is 5.2 and that will be updated in the docs via the next release.

wyphan commented 1 year ago

Another question: our experimental machine at Rice where I will deploy Omniperf has ROCm 5.2, 5.3, and 5.4 installed on it. Should I build Omniperf 3 different times against each version of ROCm, or one Omniprof build against ROCm 5.2 is enough?

koomie commented 1 year ago

For systems with multiple ROCm versions, we typically just install once and that would be my recommendation. We normally setup modulefiles (e.g. using Lmod) for ROCm so that users can switch between different versions. If you have Lmod locally, the omniperf installation process should also create a template modulefile you can use for omniperf itself (see, e.g. https://amdresearch.github.io/omniperf/installation.html#execution-using-modulefiles)

coleramos425 commented 1 year ago

Closing due to inactivity. Feel free to open another ticket if anything else comes up.