You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
import os
...
open(os.path.join(os.path.dirname(__file__), 'BitcoinMiner.cl'), 'r')
The text was updated successfully, but these errors were encountered:
I tried to run poclbm but that doesnt work. I got the following error:
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:
The text was updated successfully, but these errors were encountered: