Poclbm

From Bitcoin Wiki
Revision as of 19:08, 28 June 2011 by Nabella Leen (talk | contribs) (→‎Flags to Use: Add of new command line flags, Page setting.)
Jump to navigation Jump to search

Poclbm (PyOpenCL bitcoin miner) is a python GPU bitcoin miner that uses the OpenCL framework to quickly perform the hashing computations. Works with AMD - 4xxx and up, Nvidia - 8xxx and up, video cards.

Download

Latest miner. (MD5 SUM: c726f05af3252ac2236201d10448953f)

Sources.

Flags to Use

Flags List

Command line flags Flags descriptions
-version Show program's version number and exit
-h, --help Show help message and exit
-u USER, --user=USER Set user name
--pass=PASSWORD Set password
-o HOST, --host=HOST Set RPC host (without 'http://')
-p PORT, --port=PORT Set RPC port
-r RATE, --rate=RATE Set hash rate display interval in seconds, default=1
-f FRAMES, --frames=FRAMES Will try to bring single kernel execution to 1/frames seconds, default=30. Increase this for less desktop lag
-d DEVICE, --device=DEVICE Set used device by id, by default asks for device
-a ASKRATE, --askrate=ASKRATE Set how many seconds between getwork requests, default 5, max 10
-w WORKSIZE, --worksize=WORKSIZE Set work group size, default is maximum returned by opencl
-v, --vectors Enable vectors, which is faster on some cards.
--verbose Enable verbose output, suitable for redirection to log file
--platform=PLATFORM Set used platform by id
-s SLEEPTIME Sleep for the specified number of seconds between iterations (default 0). Increase this to reduce hashing performance if your temperatures are too high.

Usage Tips

ATI/AMD Radeon HD 5xxx cards (for example, HD 5770): use '-v -w128'

('-v -f10 -w128' works even better for HD5770.)

If you find the desktop laggy while mining, use '-f60'. This may decrease performance slightly.

Please update this section if you find better settings, or good settings for a card not listed here.

FAQ

Introductory post FAQ.

Founder

m0mchil

Guides and Installation

Windows

How to get started using your GPU to mine for Bitcoins on Windows

Ubuntu

Easy Ubuntu python OpenCL mining setup

Gentoo

An poclbm ebuild can be found here

OpenSUSE

This works on 11.4, it might work on other versions (11.3 is more than likely to work) just replace the "11.4" in the repo URLs with your version number. This also assumes that you are already familiar with running getting the BitCoin client running (to run the GUI version on OpenSUSE you will need libpng12-0 installed).

Add the Python devel repo:

# zypper ar -r http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_11.4/devel:languages:python.repo

and this user repo, which provides PyOpenCL (take a moment to appreciate this because if "scorot" didn't package it this would be a lot harder):

# zypper ar -r http://download.opensuse.org/repositories/home:/scorot/openSUSE_11.4/home:scorot.repo

Refresh your repos:

# zypper ref

You will asked to accept the repo keys, respond with 'a' each time.

Install PyOpenCL:

# zypper in python-pyopencl

Get the latest version of poclbm with git (`zypper in git` if you don't have git installed):

$ git clone git://github.com/m0mchil/poclbm.git

This will create a poclbm folder in your current directory. Change to it:

$ cd poclbm

And run it:

$ python poclbm.py --user=user --pass=pass --device=0 [add whatever other flags you use]

License

public domain[1]

See Also

External Links

References

  1. [1]License file on github