Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: Ubuntu Natty Narwhal 11.04 Mining Guide / HOWTO
by
Inaba
on 23/05/2011, 02:28:40 UTC
I'm trying to get auto-start working for myself but have run into an issue, basically my thought was to make a startup launcher that ran a bash file, I think I got it mostly correct but now I'm getting this error

phatk1.bash
Code:
#!/bin/bash

cd /home/arc/phoenix
python phoenix.py -u http://uname:pass@deepbit.net:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1

error
Code:
Traceback (most recent call last):
  File "phoenix.py", line 123, in
    miner.start(options)
  File "/home/arc/phoenix/Miner.py", line 75, in start
    self.kernel = self.options.makeKernel(KernelInterface(self))
  File "phoenix.py", line 111, in makeKernel
    kernelModule = imp.load_module(module, file, filename, smt)
  File "kernels/phatk/__init__.py", line 23, in
    import pyopencl as cl
  File "/usr/local/lib/python2.7/dist-packages/pyopencl-0.92-py2.7-linux-x86_64.egg/pyopencl/__init__.py", line 3, in
    import pyopencl._cl as _cl
ImportError: libOpenCL.so: cannot open shared object file: No such file or directory

You need to export your LD_LIBRARY_PATH and DISPLAy variables in the script.