Bitcoin Forum
May 26, 2024, 09:18:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [solved] pyopencl.LogicError: clGetPlatformIDs failed: platform not found khr  (Read 5065 times)
newminerr (OP)
Member
**
Offline Offline

Activity: 147
Merit: 11

The day to rise has come.


View Profile
July 28, 2011, 08:52:10 PM
Last edit: July 28, 2011, 09:43:26 PM by newminerr
 #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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!