Changes between Initial Version and Version 1 of BitCoin


Ignore:
Timestamp:
Jun 7, 2011, 12:24:51 PM (13 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BitCoin

    v1 v1  
     1I like the BitCoin idea, mostly for the GPU computation part and to see if the idea actually holds. To get it running under Ubuntu 10.10 with NVIDIA CUDA 3.2 tools installed, requires some tricks as {{{python-pyopencl}}} requires a whole bunch of non-compatibele NVIDIA stuff to be installed.
     2
     3  $ sudo apt-get install  blt dkms libboost-python1.42.0   python-dateutil python-decorator python-matplotlib python-matplotlib-data git-core libboost-python-dev
     4  $ mkdir ~/src
     5  $ cd ~/src
     6  $ git clone http://git.tiker.net/trees/pyopencl.git
     7  $ cd pyopencl
     8  $ ./configure.py
     9  $ cat <<EOF > siteconf.py
     10BOOST_INC_DIR = []
     11BOOST_LIB_DIR = []
     12BOOST_COMPILER = 'gcc43'
     13BOOST_PYTHON_LIBNAME = ['boost_python-py26']
     14USE_SHIPPED_BOOST = False
     15CL_TRACE = False
     16CL_ENABLE_GL = False
     17CL_ENABLE_DEVICE_FISSION = False
     18CL_INC_DIR = ['/usr/local/cuda/include']
     19CL_LIB_DIR = ['/usr/local/cuda/lib64']
     20CL_LIBNAME = ['OpenCL']
     21CXXFLAGS = []
     22LDFLAGS = []
     23EOF
     24  $ make
     25  $ sudo make install
     26
     27
     28Now download and run the miner. I run mine against the [http://eligius.st/wiki/index.php/Getting_Started Eligius Grid]. Replace {{{1AdxXkR3aB6xwPU6XwPZMZhu2v9avFuFoJ}}} with your own BitCoin Address, else thanks for the donation!
     29  $ cd ~/src
     30  $ git clone https://github.com/m0mchil/poclbm
     31  $ cd poclbm
     32  $ python poclbm.py --device=0 --pass=x --host=mining.eligius.st --port=8337 --user=1AdxXkR3aB6xwPU6XwPZMZhu2v9avFuFoJ --verbose
     33 
     34For daily usage you can run it as a daemon with verbose logging if wanted:
     35  $ python poclbm.py --device=0 --pass=x --host=mining.eligius.st --port=8337 --user=1AdxXkR3aB6xwPU6XwPZMZhu2v9avFuFoJ --verbose >> bitcoin-mining.log &
     36
     37If you have multiple GPUs in your system, make sure to fire up multiple installed with different {{{--device=}}} ID.
     38
     39