Bitcoin Forum
December 04, 2016, 10:29:34 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [solved] pyopencl.LogicError: clGetPlatformIDs failed: platform not found khr  (Read 4476 times)
newminerr
Member
**
Offline Offline

Activity: 70

like no other.


View Profile
July 28, 2011, 08:52:10 PM
 #1

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.
 Grin
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!