Rocm state in f37

What is rocm status in fedora 37?

I’ve tried installing rocm-runtime, rocm-opencl in toolbox and on native host.
Got this error:

rocm-clinfo
mesa: CommandLine Error: Option 'h' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
fish: Job 1, 'rocm-clinfo' terminated by signal SIGABRT (Abort)

Should i use installer script / CentOS repos from here?
https://docs.amd.com/bundle/ROCm_Installation_Guidev5.0/page/How_To_Install_ROCm.html

I have it running successfully by installing those packages on host. Unsure what that error could be though.

I’ve done more research.
This error can be caused by linking to different version of LLVM.

sudo dnf list installed | grep llvm
llvm.x86_64                                                   15.0.4-1.fc37                               @updates
llvm-libs.i686                                                15.0.4-1.fc37                               @updates
llvm-libs.x86_64                                              15.0.4-1.fc37                               @updates
llvm13-libs.x86_64                                            13.0.1-2.fc37                               @fedora

Removed llvm13-libs.x86_64, but it has fixed nothing(

1 Like

Here is amd issue: