Comments (9)
It seems like this error comes from https://smlnj-gitlab.cs.uchicago.edu/manticore/llvm/blob/c75c50f45b3d6d1d61ce6b411d12cedaadd71d5b/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp#L49
from silentarmy.
It seems you are running the "Clover" OpenCL driver, instead of the AMD OpenCL driver. Can you report the output of:
head -99 /etc/OpenCL/vendors/*
ldd sa-solver
find /usr /opt -name "libOpenCL.so*" 2>/dev/null
from silentarmy.
It seems you are running the "Clover" OpenCL driver, instead of the AMD OpenCL driver. Can you report the output of:
head -99 /etc/OpenCL/vendors/*
ldd sa-solver
find /usr /opt -name "libOpenCL.so*" 2>/dev/null
silentarmy$ head -99 /etc/OpenCL/vendors/*
==> /etc/OpenCL/vendors/amdocl32.icd <==
libamdocl32.so
==> /etc/OpenCL/vendors/amdocl64.icd <==
libamdocl64.so
==> /etc/OpenCL/vendors/mesa.icd <==
libMesaOpenCL.so.1
micah@muck:silentarmy$ ldd sa-solver
linux-vdso.so.1 (0x00007ffcdd5ef000)
libOpenCL.so.1 => /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007f8a46909000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8a4656b000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8a46363000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8a4605f000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8a45e5b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8a45c3c000)
/lib64/ld-linux-x86-64.so.2 (0x00005650e67c4000)
micah@muck:silentarmy$ find /usr /opt -name "libOpenCL.so*" 2>/dev/null
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so.1
/opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86_64/sdk/libOpenCL.so.1
/opt/AMDAPPSDK-3.0/lib/x86_64/sdk/libOpenCL.so
/opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so
/opt/amdgpu-pro/lib/i386-linux-gnu/libOpenCL.so.1
/opt/amdgpu-pro/lib/i386-linux-gnu/libOpenCL.so
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1
/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so
silentarmy1$
from silentarmy.
mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/mesa.icd.disabled
...then try silentarmy again.
from silentarmy.
mbevand [email protected] writes:
mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/mesa.icd.disabled
...then try silentarmy again.
Did that, now I get:
silentarmy$ ./sa-solver --nonces 10000
Solving default all-zero 140-byte header
Cannot get OpenCL platforms (-1001)
if I put it back, I get the Pseudo instruction error again
from silentarmy.
It seems you have a broken install of amdgpu-pro drivers.
Can I ask what steps you took to install it on your Debian system? And is it Jessie?
from silentarmy.
mbevand [email protected] writes:
It seems you have a broken install of amdgpu-pro drivers.
Can I ask what steps you took to install it on your Debian system? And is it Jessie?
I was afraid of that.
Its a debian sid system. The only linux drivers I could find where for
ubuntu. The install script just tries to detect what release you are,
based on what is in /etc/os-release, only looking for 'ubuntu' or
'steamos' and then installs the packages. So I just made it also check
for for debian.
I'd love to know what is missing or messed up, so it can be corrected!
from silentarmy.
mbevand [email protected] writes:
It seems you have a broken install of amdgpu-pro drivers.
Can I ask what steps you took to install it on your Debian system? And is it Jessie?
I just solved it... I found that amdgpu-pro_16.40-348864_amd64.deb and
opencl-amdgpu-pro-icd:amd64 were not installed. Once I installed those
and then moved /etc/OpenCL/vendors/mesa.icd out of the way, and now
silentarmy is working (!).
That mesa.icd file comes from mesa-opencl-icd:amd64, so I just removed
that package.
from silentarmy.
Yay! Great. Yeah you don't need that mesa (clover) OpenCL implementation.
from silentarmy.
Related Issues (20)
- Build under MAC HOT 1
- Problems getting started: make test and sa-solver -use 0 fail
- Cannot find libcl.so HOT 3
- Use with Intel Xeon Phi CPU 7250 HOT 1
- Docs for Xeon Phi HOT 2
- Error:pipe closed by peer or os.write(pipe, data) raised exception. HOT 3
- Debian 8 & HD 6970: 0 Sols
- API / Stats
- Add equihash solver 48,5 HOT 6
- Correctly validate hashReserved
- Android running, how to reduce the use of gpu. HOT 2
- Error compiling on Ubuntu HOT 1
- ./sa-solver: error while loading shared libraries: libcl.so: cannot open shared object file: No such file or directory
- When i launch sa-solver i get this errors
- Pool error help wanted
- Doesn't do anything on GTX 670 HOT 7
- Error after reboot
- Updated version
- clCreateCommandQueue (-6) HOT 3
- Stratum server sent us the first job Mining on 1 device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silentarmy.