I tried to run poclbm but that doesnt work. I got the following error:
File "/var/lib/poclbm/BitcoinMiner.py", line 359, in loadKernel
kernelFile = open('BitcoinMiner.cl', 'r')
IOError: [Errno 2] No such file or directory: 'BitcoinMiner.cl'
This is because you assume at this point that the CWD is the directory where BitcoinMiner.cl is. Thats wrong.
In my case I put a startup script for poclbm in my home directory and launch poclbm which is in /var/lib/poclbm/ (installed with the package manager).
So it crashs.
I guess you want to use instead:
open(os.path.join(os.path.dirname(__file__), 'BitcoinMiner.cl'), 'r')