PawseySC / rocm-from-source

Scripts to build AMD ROCm from source.
MIT License
15 stars 3 forks source link

[BUG] kernel module missing from installation #2

Closed dipietrantonio closed 2 years ago

dipietrantonio commented 2 years ago

I have compiled ROCm 5.2.3 on a Nimbus VM (Ubuntu 20). Executing rocm-smi gives the following error:

ubuntu@cdp-rocmbuild:/opt/rocm-dev/rocm-5.2.3rev0$ rocm-smi
cat: /sys/module/amdgpu/initstate: No such file or directory
ERROR:root:Driver not initialized (amdgpu not found in modules)

We may need to install the kernel module after all. How?

dipietrantonio commented 2 years ago

Found a solution as explained in this page