Open wkneewalden opened 4 months ago
Hi @wkneewalden, from what I can see from both SMI tools requirements, only amd-smi requires libdrm (see here). This is likely why you were able to successfully build rocm-smi but not amd-smi.
It looks like the libdrm
packaged in the Amazon Linux distro doesn't provide the correct files that pkg-config is searching for. Could you try to install the libdrm-devel
package to see if the build error is resolved?
Problem Description
Followed build procedure with amdsmi that worked with rocm-smi v6.1.0 or v6.0.2 (https://github.com/ROCm/rocm_smi_lib) on same machine, with same versions of cmake (v3.29.2) and g++ (v7.3.1). Build fails at 'cmake' step indicating that libdrm is missing. However, the machine also has libdrm is installed (libdrm-2.4.97-2.amzn2.x86_64).
Operating System
Amazon Linux 2
CPU
2nd generation AMD EPYC (using g4ad.4xlarge instance on AWS)
GPU
AMD Radeon Pro V520
ROCm Version
ROCm 6.1.1, 6.1.0, 6.0.2
ROCm Component
amdsmi
Steps to Reproduce
Perform the following:
Output:
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response