Skip to content

Instantly share code, notes, and snippets.

@dbolser
Created July 24, 2013 11:15
Show Gist options
  • Save dbolser/6069715 to your computer and use it in GitHub Desktop.
Save dbolser/6069715 to your computer and use it in GitHub Desktop.
Here is the error I'm seeing:
dmb@percy:AMDAPP$ bfgminer -n
[2013-07-24 11:57:07] Error -1001: clGetPlatformsIDs failed (no OpenCL SDK installed?)
[2013-07-24 11:57:07] clDevicesNum returned error, no GPUs usable
[2013-07-24 11:57:07] 0 GPU devices max detected
dmb@percy:AMDAPP$ bfgminer --version
bfgminer 3.1.3
The tool requires this dep:
AMD-APP-SDK-v2.8.1.0-lnx32
from here:
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
Which has the worlds crappiest install script:
https://gist.github.com/dbolser/6069699
I've tweaked that script to put all files under /home/amdapp instead of /opt/ and /etc/, etc., and set the environment variables that it mentions in /etc/profile, namely:
AMDAPPSDKROOT="/home/dmb/AMDAPP"
LD_LIBRARY_PATH=/home/dmb/AMDAPP/lib/x86
export AMDAPPSDKROOT
export LD_LIBRARY_PATH
but I still see the above error... NOTE, running bfgminer -n before setting LD_LIBRARY_PATH gives:
[2013-07-24 12:14:04] Failed to load OpenCL library, no GPUs usable
[2013-07-24 12:14:04] 0 GPU devices max detected
So I think I just need to get bfgminer to see the include files?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment