Bitcoin Forum

Bitcoin => Mining support => Topic started by: newminerr on July 28, 2011, 08:52:10 PM



Title: [solved] pyopencl.LogicError: clGetPlatformIDs failed: platform not found khr
Post by: newminerr on July 28, 2011, 08:52:10 PM
Ubuntu fresh install

AMD-APP-SDK-v2.4-lnx64
pyopencl-2011.1.2
python-jsonrpc
icd-registration.tgz

and
catalyst11.4


ati-driver-installer-11-4-x86.x86_64.run
fglrx_8.841-0ubuntu1_amd64.deb
fglrx-amdcccle_8.841-0ubuntu1_amd64.deb
fglrx-dev_8.841-0ubuntu1_amd64.deb

It should be working but i get
Code:
Traceback (most recent call last):
  File "./phoenix.py", line 123, in <module>
    miner.start(options)
  File "/phoenix-1.50/Miner.py", line 75, in start
    self.kernel = self.options.makeKernel(KernelInterface(self))
  File "./phoenix.py", line 112, in makeKernel
    self.kernel = kernelModule.MiningKernel(requester)
  File "kernels/poclbm/__init__.py", line 132, in __init__
    platforms = cl.get_platforms()
pyopencl.LogicError: clGetPlatformIDs failed: platform not found khr

Code:
$ ./clinfo  |grep CL_DEVICE_TYPE_GPU
terminate called after throwing an instance of 'cl::Error'
  what():  clGetPlatformIDs

Edit: SOLVED

I had the wrong version of icd-registration.tgz extracted to /etc
I extracted the one that came with the AMD-APP-SDK-v2.4-lnx64.tgz and it worked.
 ;D