-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rocminfo can't find libhsa-runtime64.so.1 #1302
Comments
This is probably a duplicate of this issue: Please provide info about your distro, distro version, kernel version, which ROCm version you installed, what is your CPU, GPU, and do you use upstream kernel amdgpu, or the one from ROCm (
|
Kernel and distro is 5.4.0-54-generic Ubuntu-18.04.1 and CPU:Ryzen5 1400 GPU:RX580 and RX470(2GPUs) ROCmVer is 3.9.0.30900-17 and I installed rocm from rocm-dkms,rocm-dev ~$ dpkg -l | egrep -i "roc[mkr]|hip|clinfo|opencl" ii clinfo 2.2.18.03.26-1 amd64 Query OpenCL system information libhsa-runtime64.so.1 is already exist in /opt/rocm/hsa-amd-aqlprofile/lib |
I don't know how this error reproduce.but when i updated rocm 3.8 to 3.9,this error has happened. pip3 install tensorflow-rocm==2.2.0 Python 3.6.9 (default, Oct 8 2020, 12:12:24)
ImportError: libhipsparse.so.0: cannot open shared object file: No such file or directory |
Hi @AveNoF Can you please try uninstall ROCm completely once again and make sure that all packages are removed before you install 3.9. Once you make sure that its clean, now try to install ROCm 3.9. |
TF error is due to missing hipsparse library which is a different issue, we can handle it separately. |
for uninstall all old rocm software i typed sudo apt-get purge hsa* hip* llvm* rocm* and now another problem has happen. that errors was same as #1161 and now there is a error of hip that similer to ROCm/tensorflow-upstream#1106 &python3
I wonder why such a core dump has happen. $ pip3 list |
doing sudo purge with llvm* was a bad idea. llvm is probably required by your standard graphics drivers and other important system components. Don't do such things blindly. Is sometimes might or might not work. My recommendation would be to remove it using |
Hi @AveNoF Recommend to uninstall ROCm as per below steps.
Once you make sure that its clean, now try to install ROCm 3.9. |
Thanks @AveNoF for closing this. Hope this issue is resolved for you. |
For future reference, I had the same problem after several dirty up/downgrades. Managed to fix it with
|
$rocminfo
$/opt/rocm/opencl/bin/clinfo
dlerror: libhsa-runtime64.so.1: cannot open shared object file: No such file or directory
dlerror: libhsa-runtime64.so.1: cannot open shared object file: No such file or directory
ERROR: clGetPlatformIDs(-1001)
$/opt/rocm/bin/rocminfo
/opt/rocm/bin/rocminfo: error while loading shared libraries: libhsa-runtime64.so.1: cannot open shared object file: No such file or directory
lib-hsa-runtime64.so.1 is already exist /opt/rocm/hsa-amd-aqlprofile/ but can't use.
The text was updated successfully, but these errors were encountered: