Skip to content

/usr/bin/hipcc not found and how I solved it #130

@fgdfgfthgr-fox

Description

@fgdfgfthgr-fox

This is not a real issue since I already solved it myself, but I think it's worth to be mention here, surely some change to the Makefile should make the life easier.

So, basically, when I try to build it using make, it throws errors on how /usr/bin/hipcc and /usr/bin/hipconfig is not found. Despite the system does have ROCm properly installed.

It turns out to be because I installed my ROCm using the AMDGPU installer method instead of the Package manager method. AMDGPU installer method doesn't create a /opt/rocm path that points to the specific version installed. Instead, it's just /opt/rocm-6.3.3 or other versions you installed.

So, the easiest way to solve it is to create a symlink manually: sudo ln -s /opt/rocm-6.3.3 /opt/rocm

Hope it's useful to anybody before YellowRose made some change to the Makefile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions