xboard and match

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

xboard and match

Postby geko » 19 Jan 2012, 23:07

This command plays a match with 2 rounds:

Code: Select all
xboard -fcp "engine1" -scp "engine2" -loadPositionFile "file.epd" -loadPositionIndex "0" -exit -xexit -size Tiny  -autoSaveGames true -autosave  -coords -saveGameFile "output.pgn" -repeatsToDraw 3 -tc 1:0 -materialDraws false -trivialDraws false -matchGames 2 -inc 0


usually the output has 2 rounds
but in case of error like:
Code: Select all
{Xboard adjudication: Checkmate} 1-0
{Error: first chess program (engine1) exited unexpectedly but bare king} 1/2-1/2


in output file there is only round 1

how could it play round 2 too?

best regards
g.
geko
 
Posts: 11
Joined: 03 Sep 2008, 23:14

Re: xboard and match

Postby Volker Pittlik » 20 Jan 2012, 07:51

geko wrote:...
{Error: first chess program (engine1) exited unexpectedly but bare king} 1/2-1/2 [/code]

...

how could it play round 2 too?


It seems to be a problem with engine1 which exited.

vp
User avatar
Volker Pittlik
 
Posts: 1026
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: xboard and match

Postby H.G.Muller » 20 Jan 2012, 08:55

geko wrote:how could it play round 2 too?


Use an engine that does not crash after the first round. Or use the extra option -xreuse2, to prevent using the engine for a second game, but start a new one.
User avatar
H.G.Muller
 
Posts: 3170
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 5 guests

cron