Le Forum de l'Alliance Francophone

Nouvelles:

Auteur Sujet: Strongest chesscomputer of the world (open source)  (Lu 6415 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne Norman_RKN

  • P'tit Nouveau
  • *
  • Messages: 39
  •   
    • E-mail
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.

Video: https://www.youtube.com/watch?v=jePuj9-T4oU

Citer
Overview

Fishtest is a distributed task queue for testing chess engines. The main instance for Stockfish is http://tests.stockfishchess.org

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 http://www.python.org/ftp/python/2.7.4/python-2.7.4.msi

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

You can download fishtest directly from Github:

https://github.com/glinscott/fishtest/archive/master.zip

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

git clone https://github.com/glinscott/fishtest.git

Sign up

Create your username/password at http://tests.stockfishchess.org/signup
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 worker.py --concurrency 3 username password

or, after the first access, a simple

python worker.py

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 worker.py &

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 setup.py develop
./start.sh

on some machines you need: apt-get install PyQt4.x86_64
at the moment it is only on slower pyhton but if someone has interest you can do C/C++ or someting else as portations ;)

source: https://github.com/glinscott/fishtest/blob/master/README.md

ready products for use:

http://abrok.eu/stockfish/

http://stockfishchess.org/download/


Norman
« Modifié: 01 September 2013 à 21:26 par Norman_RKN »



Hors ligne JeromeC

  • Modérateur
  • Boinc'eur devant l'éternel
  • *****
  • Messages: 31061
  •   
Réponse #1 le: 25 August 2013 à 20:28
"Fishtest is a distributed task queue for testing chess engines"

I don't understand what is it exactly for, what does "testing chess engine" mean ? how does it work ?

A quoi bon prendre la vie au sérieux, puisque de toute façon nous n’en sortirons pas vivants ? (Alphonse Allais)



Hors ligne Norman_RKN

  • P'tit Nouveau
  • *
  • Messages: 39
  •   
    • E-mail
Réponse #2 le: 25 August 2013 à 21:39
http://stockfishchess.org
that should be the 3. strongest chessengie in the world and its not commercial  - it´s open souce.

they do daily tests 24/7 to improve the alghoritm and the engine will be stronger and stronger.
the engine can used on most popular GUI like arena3, fritz ......

to participate in the testing part we could be a help to build the best engine because they need computing power to improve the code.
every test has a new build stockfish.exe. base.exe is the old one. they play together.. the more stockingfish is winning the better it is.
the developers needs our help because the need computing power to test if the code is better or not.
then we play games again and see what happens. is it better is it ok and other changes can made and other parameters can tested.

at the moment the development is good but they need POWER to test the changes every day and world ranking is 3th place.
but they want to be the best and it´s open source.
every body can participate and/or develop.

Norman



Hors ligne [AF>Libristes] nico8313

  • Boinc'eur devant l'éternel
  • *****
  • Messages: 8027
  •   
Réponse #3 le: 25 August 2013 à 21:52
why not create a BOINC project for this ???
It would be nice.  :love:



Hors ligne Norman_RKN

  • P'tit Nouveau
  • *
  • Messages: 39
  •   
    • E-mail
Réponse #4 le: 25 August 2013 à 22:10
yes, that was suggested and tested, but BOINC is not compatible with realtime projects like this and other issues too.
surely it would be funny. maybe one day it could be. how knows ;)

it´s more or less ALPHA project and need help with computing and/or manpower.
i give it a chance.
there a so less FREE good chess programs and its open source as extra.
why not? :)

Norman

btw: i´m an absolut rookie in chees and lost more games then you think - hihi



Hors ligne [AF>Libristes] nico8313

  • Boinc'eur devant l'éternel
  • *****
  • Messages: 8027
  •   
Réponse #5 le: 25 August 2013 à 22:15
I will try to understand how it works and help a little me too

Have a nice evening  :hello:



Hors ligne Norman_RKN

  • P'tit Nouveau
  • *
  • Messages: 39
  •   
    • E-mail
Réponse #6 le: 25 August 2013 à 22:36
note: phyton is only the start environment not the optimized cores inside.
sorry for false connections ;)

yeaah, we play ( or let play ) chess.
even on your smartphone ;)