Author

Topic: [SOLVED]pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code (Read 9696 times)

jr. member
Activity: 51
Merit: 1
Serial Inventor
same problem with http://vipco.in miner.

Code:
$ sudo ./oclvanitygen -d 2 -P 047a59a820bf2acbf10e30e178c433a7584e####6bf9867a##c3877a1cf78a10####7aac14c583c41078dd5d46a695f57616bf5c10f292c9264f046e6c0679cd9f -Z 3D71E8A1A1038623A2dEF831ABDF39## 1Den
Difficulty: 77178
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:
bb
member
Activity: 84
Merit: 10
I have the same problem.
What did you do to fix it?

I deleted the old ICDs from /etc/OpenCL/vendors/ and put the 2.4 ones from AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz there.
sr. member
Activity: 313
Merit: 258
I have the same problem.
What did you do to fix it?
bb
member
Activity: 84
Merit: 10
Oh no, I was using SDK 2.4, but the IDCs of SDK 2.1.  Roll Eyes
bb
member
Activity: 84
Merit: 10
Ok, so I am closer to mad than usually. I keep getting the following error:

pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code

Now, all of the following work just fine:
  • fglrxinfo
  • aticonfig --listadapters

Also LD_LIBRARY_PATH is set:

$ echo $LD_LIBRARY_PATH
/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64:


And (most importantly) the ICDs are installed:

$ ls /etc/OpenCL/vendors/
atiocl32.icd  atiocl64.icd


What am I missing?  Angry

Thanks,
bb

Jump to: