Missing package for lib64rocm6.4-compilersupport

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

Missing package for lib64rocm6.4-compilersupport

Postby physikerchen » Mar 14th, '26, 21:04

Hi,
I was playing around with ROCm and OpenCL. I installed `rocm6.4-amd-opencl`, `lib64rocm6.4-opencl-runtime` and related packages. When executing `clinfo` I get
Code: Select all
$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3649.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD
  Platform Host timer resolution                  1ns

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

I have cross-checked that the GPUs (and CPU related graphics) do show up in `lscpi` and are supported by ROCm.

With the help of AI I executed
Code: Select all
$ LD_DEBUG=libs clinfo 2>clinfo_ld.log
$ cat clinfo_ld.log
...
     20513:     find library=libamd_comgr.so.3 [0]; searching
     20513:      search cache=/etc/ld.so.cache
     20513:      search path=/lib64/glibc-hwcaps/x86-64-v4:/lib64/glibc-hwcaps/x86-64-v3:/lib64/glibc-hwcaps/x86-64-v2:/lib64:/usr/lib64/glibc-hwcaps/x86-64-v4:/usr/lib64/glibc-hwcaps/x86-64-v3:/usr/lib64/glibc-hwcaps/x86-64-v2:/usr/lib64          (system search path)
     20513:       trying file=/lib64/glibc-hwcaps/x86-64-v4/libamd_comgr.so.3
     20513:       trying file=/lib64/glibc-hwcaps/x86-64-v3/libamd_comgr.so.3
     20513:       trying file=/lib64/glibc-hwcaps/x86-64-v2/libamd_comgr.so.3
     20513:       trying file=/lib64/libamd_comgr.so.3
     20513:       trying file=/usr/lib64/glibc-hwcaps/x86-64-v4/libamd_comgr.so.3
     20513:       trying file=/usr/lib64/glibc-hwcaps/x86-64-v3/libamd_comgr.so.3
     20513:       trying file=/usr/lib64/glibc-hwcaps/x86-64-v2/libamd_comgr.so.3
     20513:       trying file=/usr/lib64/libamd_comgr.so.3
...


And here it gets interesting because I was able to find
Code: Select all
lib64rocm-compilersupport5.7.1
which contains /usr/lib64/libamd_comgr.so.2.5. However, I need it in version 3 and the package name also indicates that the 2.5 library is for the wrong (older) ROCm version. Has the needed /usr/lib64/libamd_comgr.so.3 being moved to a different package or is the corresponding lib64rocm6.4-compilersupport package missing?

(I tried to install the 2.5 version and symlinking to the /usr/lib64/libamd_comgr.so.3 but this shows some other errors because of missing features.)
physikerchen
 
Posts: 3
Joined: Apr 12th, '19, 11:55

Re: Missing package for lib64rocm6.4-compilersupport

Postby doktor5000 » Mar 15th, '26, 00:50

What if you just search for the file in all packages in the repos? As root
Code: Select all
urpmf amd_comgr.so.3
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18224
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Missing package for lib64rocm6.4-compilersupport

Postby physikerchen » Mar 15th, '26, 12:56

Thanks for your suggestion! I didn't know the command before.

However, the file cannot be found. Everything is related to rocm 5.7.1.

(There was a -devel package (in version 5.7.1) which contained *amd_comgr.so but the one I'm looking for wasn't found.)
physikerchen
 
Posts: 3
Joined: Apr 12th, '19, 11:55

Re: Missing package for lib64rocm6.4-compilersupport

Postby doktor5000 » Mar 15th, '26, 19:10

I'm not that familiar with AMD boxes, you might want to take a look at some previous threads regarding your OpenCL issue:
https://forums.mageia.org/en/viewtopic.php?t=14973
https://forums.mageia.org/en/viewtopic.php?t=13309 (this might be obsolete nowadays)
The first link also has some information from the maintainer of our amdgpu packages, and a script you need to run depending what graphics chip generation you have.

Although you don't mention what graphics chip and driver you currently use ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18224
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Missing package for lib64rocm6.4-compilersupport

Postby physikerchen » Mar 16th, '26, 22:19

I have found a "solution". I downloaded the rpm for OpenSuSE that contained the lib file I was looking for. It is https://fr.rpmfind.net/linux/RPM/opensuse/tumbleweed/x86_64/libamd_comgr3-19-15.2.x86_64.html.

Besides a small difference in the patch version for ROCm it was what I was looking for. Now I have an alien package installed with Version 19 and Release 15.rocm6.4.2.el10_1 and package name "rocm-comgr". Maybe not the gold standard to solve problems but it serves its purpose. The command
Code: Select all
clinfo
is now working.

For the sake of completeness: I'm using an AMD Radeon RX9070.
physikerchen
 
Posts: 3
Joined: Apr 12th, '19, 11:55


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest