Skip to content
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

Cannot get OpenCL platforms! (-1001) #3

Closed
brizio1971 opened this issue Oct 27, 2016 · 1 comment
Closed

Cannot get OpenCL platforms! (-1001) #3

brizio1971 opened this issue Oct 27, 2016 · 1 comment

Comments

@brizio1971
Copy link

after the installation, as soon I run ./silentarmy --nonces 100 i get the error:

Solving default all-zero 140-byte header
Cannot get OpenCL platforms! (-1001)

running make I get the error: /usr/lib/libOpenCL.so: until I have run sudo apt install ocl-icd-opencl-dev

thanks

@mbevand
Copy link
Owner

mbevand commented Oct 28, 2016

It seems like you installed an ICD but not an actual OpenCL implementation. You need to install the AMDGPU-Pro driver in order to run silentarmy. The driver installs the following packages (and more):

amdgpu-pro-libopencl-dev
amdgpu-pro-libopencl1
amdgpu-pro-opencl-icd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants