ROCM installed path

I’m running Aurora-DX.
Based on what I’m seeing ROCM is on my system, and I think that’s by design, but due to the atomic nature of the distro, I don’t know if that changes how it’s put together.

What I find wierd is that I found it here: /usr/bin/rocminfo
and many apps that use it are looking for it here, in some subfolder I think: /opt/rocm

Is my ROCM installed correctly? Maybe I should set some kind of symbolic link or environmental variable to make the ROCM apps happy?

I’m actually trying to get a Flatpak of GPT4ALL to work with ROCM. If you check Github, it looks like they should normally detect ROCM as a device: Code search results · GitHub

EDIT: If I figure this out by some means, I’ll post an answer so others can benefit from the findings.

1 Like

I didn’t dig deeper, but at least in that snippet they assume that the ROCM_PATH environment variable is set, otherwise they default to looking from /opt/rocm. Since rocminfo and others are already in PATH because they’re in /usr/bin, what you want to do is figure out what to set ROCM_PATH environment variable to. Maybe it’s /usr, maybe it’s /usr/bin. You shouldn’t need to use any symlinks, and that wouldn’t really work with an immutable system anyway.

I super appreciate the input. I just tried this, using Flatseal to pass the ENV variable. I also granted explicit access to all the directories that I’ve tried, also using Flatseal.
/usr/bin
/usr/lib
/usr/lib64
/usr

So far, no luck. I’ll keep thinking of stuff to try / read. If you or anyone else thinks of stuff to try, I’ll try that too, and I’ll report back results.

I’m just guessing around, but did you try allowing filesystem=host-os?

I was recently tinkering with Visual Studio Code, trying to get the Flatpak version working with podman, and had to explicitly allow VSCode to run podman by adding xdg-run/podman to the “Other files” section of “Filesystem” permissions with Flatseal.

I did try that after your mentioning. No luck so far. I think I might reach out to the GPT4All community, and if I find out something useful and relevant to Bluefin / Aurora users, I’ll share in this thread.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.