From the manual:flok wrote:lucasart wrote:Cutechess CLI does NOT restart engines, if you use it correctly...flok wrote:Usually I use cutechess-cli for testing (because it is command line so I can easily start it on all nodes of the test cluster) but using strace I saw that it restarts every program after an iteration which gives me a clean transposition table every time.
It just sends "ucinewgame" between games. If you want to clear HT between games, that's where you should do it: upon receipt of "ucinewgame".
Can you show me a correct example?
I usually do this:
Code: Select all
cutechess-cli \ -engine cmd=/usr/local/bin/dorpsgek proto=xboard name=dorpsgek \ -engine cmd=./E_trunk.sh proto=uci name=trunk \ -engine cmd=./E_trunk-age.sh proto=uci name=trunk-age \ -engine cmd=./E_4171.sh proto=uci name=4171 \ -engine cmd=./E_4173.sh proto=uci name=4173 \ -engine cmd=./E_4182.sh proto=uci name=4182 \ -engine cmd=./E_4183.sh proto=uci name=4183 \ -concurrency $CONC \ -each dir=$DIR tc=40/10+0.25 -rounds 500 -recover -repeat -tournament gauntlet -pgnout out/$HOST.pgn -site "$HOST" | tee log/$HOST.log
Code: Select all
-games N Play N games per encounter. This value should be set to
an even number in tournaments with more than two players
to make sure that each player plays an equal number of
games with white and black pieces.
-rounds N Multiply the number of rounds to play by N.
For two-player tournaments this option should be used
to set the total number of games to play.