View Single Post
Old 2013-08-25, 15:13   #1
NormanRKN's Avatar
Jul 2012
Saarland / Germany

1048 Posts
Default Strongest chesscomputer of the world (open source)

if someone has a core or few cores free and like testing and maybe playing chess too and want to help the developers to optimize the code. (what ever ;) )
feel free to join the pioneers.


Fishtest is a distributed task queue for testing chess engines. The main instance for Stockfish is

It is currently being used for testing changes on Stockfish, using tens of thousands of games, both on Linux and Windows. The following setup describes a step-by-step installation for a machine that will run test matches (a worker).
Setup Python on Windows

On Windows you will need to install Python 2.7.x for x86 (not 3.x series and not 64 bit) from

In case something is not clear please read windows-step-by-step-installation.txt
Setup fishtest

You can download fishtest directly from Github:

or, in case you have a git installation, you can clone it.

git clone

Sign up

Create your username/password at
Launching the worker

To launch the worker open a console window in fishtest/worker directory and run the following command (after changing concurrency to the correct value for your system, see below), providing username and password you've been given.

python --concurrency 3 username password

or, after the first access, a simple


Option concurrency refers to the number of available cores in your system (not including Hyperthreaded cores!), leaving one core for the OS. For example, on my 4 core machine, I use --concurrency 3.

On Linux, you can use the nohup command to run the worker as a background task.

nohup python &

Override default make command

Once launched, fishtest will automatically connect to host, download the book, the cutechess-cli game manager and the engine sources that will be compiled according to the type of worker platform. If default make command is not suitable for you, for instance if you need to use some other compiler than gcc/mingw, then you can create a custom_make.txt file in fishtest/worker directory, containing a single line command that fishtest will run to compile the sources.
Running the website

This is only if you wish to run your own testing environment (ie. you are testing changes on another engine). As a pre-requisite, the website needs a mongodb instance. By default it assumes there is one running on localhost. You can set FISHTEST_HOST environment variable to connect to a different host. To launch a development version of the site, open a console window in fishtest/fishtest directory and do:

sudo python develop
on some machines you need: apt-get install PyQt4.x86_64
atm is only slow phyton but if someone can compile in C/C++ or somewhat else.
the optimium would be GPU-support :D

ready products to use:



Last fiddled with by NormanRKN on 2013-08-25 at 15:39 Reason: adding links
NormanRKN is offline   Reply With Quote