How do I build a chess cluster?

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

FinlayDaG33k
Posts: 1
Joined: Fri Feb 26, 2016 4:44 pm

How do I build a chess cluster?

Post by FinlayDaG33k »

Hii There,

I've bene into chess computers for a while now, even though I don't understand them that well.
and a few days ago, I shutdown my old cluster as it's job was done.
now, I have about 4 machines (without identical specs) hanging in my rack, and I wondered:
can I cluster them together to make one badass chess computer??

does anyone have a tutorial for me or someting?? that would be quite nice.

Cheers
brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 4:02 pm

Re: How do I build a chess cluster?

Post by brtzsnr »

Hi, Aroop!

I built my own cluster software https://bitbucket.org/zurichess/zuritest based on fishtest. The software consistes of three main pieces:

1) The server. Runs on appengine and keeps track of created, running, stopped and finished matches. The matches are usually between two versions (different git commits) of zurichess from my development respository. The server implements SPRT stopping criteria.
2) The daemon. Gets work from the server, builds the binaries, runs 100 games and uploads the results to the server. Repeats for ever. Daemon normally runs on a few ODROIDs at home.
3) The client. This runs on my computer. Creates a new match between current branch and the master.


The server also exports a page where I can check the results and start/stop the matches. It's basically a table where a row looks like:

quiet master

▶ Finished

Elo0: 0.00 Elo1: 6.00
Alpha: 0.03 Beta: 0.15
LLR: 3.37 [-1.87:+3.34]

14400 @ 40/15+0.05
4942 - 4685 - 4773
ELO 6.20±4.64

+1611849 engine: Extend hash move when in check.


I guess the easiest for you is to fork zuritest and change the binary creation logic in the daemon. https://bitbucket.org/zurichess/zurites ... ache.go-35

Hope it helps. Please let me know if you have questions.
CRoberson
Posts: 2053
Joined: Mon Mar 13, 2006 2:31 am
Location: North Carolina, USA

Re: How do I build a chess cluster?

Post by CRoberson »

There are two interpretations for what you mean by "Chess Cluster". One is for testing as has been described in Alexandru's post and the other is one Chess program running on all CPU's of all machines as if they are one computer. The second is harder, but some (including me) have done it.

Which do you mean?