Skip to content

Static builds of cutechess cli

ppigazzini edited this page Apr 17, 2024 · 3 revisions

Fishtest uses cutechess-cli, a command-line interface for managing chess games.

The static-cutechess-cli repository is responsible for building a static version of cutechess-cli using scripts and GitHub Actions workflows. After checking the archive on VirusTotal, the zipped cutechess-cli is uploaded on the Releases section, where it is ready for download.

Supported Platforms

Operating System CPU Workflow
Linux x86_64, x86_32 linux
Linux aarch64, armv7 arm
macOS x86_64, arm64 macos
Windows: WSL x86_64 linux
Windows: MSYS2, Cygwin x86_64, x86_32 windows
Windows x86_64, x86_32 windows

To run cutechess-cli in a way equivalent to fishtest use (linux example below):

./cutechess-cli -repeat -rounds 10000 -games 2 -tournament gauntlet \
                -resign movecount=3 score=600 -draw movenumber=34 movecount=8 score=20 \
                -concurrency 8 -openings file=UHO_4060_v2.edp format=epd order=random plies=16 \
                -engine name=base cmd=stockfish.base option.EvalFile=/home/user/nn-ad9b42354671.nnue option."Use NNUE=true" \
                -engine name=test cmd=stockfish.test option.EvalFile=/home/user/nn-ad9b42354671.nnue option."Use NNUE=true" \
                -ratinginterval 1 -each tc=10.0+0.1 proto=uci option.Threads=1 -pgnout result.pgn

The book UHO_XXL_+0.90_+1.19.edp can be downloaded from the books repo. The EvalFile is specific to the binary, can be downloaded from the network server, and must be specified with the full path. Look at ./cutechess-cli --help for more options.