cutechess-cli for macOS

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

ydebilloez
Posts: 187
Joined: Tue Jun 27, 2017 11:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz

cutechess-cli for macOS

Post by ydebilloez »

Dear all,
I am looking for a cutechess-cli binary for macOS.

I came across a version 1.0.0 in a fish test project, but it relies on some dylibs and on a local install of the QT framework and creating additional user folders.

Looking for version 1.2 without any dependencies.
Yves De Billoëz @ macchess belofte chess
Once owner of a Mephisto I, II, challenger, ... chess computer.
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: cutechess-cli for macOS

Post by amanjpro »

ydebilloez wrote: Thu Dec 23, 2021 11:41 am Dear all,
I am looking for a cutechess-cli binary for macOS.

I came across a version 1.0.0 in a fish test project, but it relies on some dylibs and on a local install of the QT framework and creating additional user folders.

Looking for version 1.2 without any dependencies.
Compile from the source, that is what I did
User avatar
Ras
Posts: 2720
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: cutechess-cli for macOS

Post by Ras »

ydebilloez wrote: Thu Dec 23, 2021 11:41 amLooking for version 1.2 without any dependencies.
Did you consider c-chess-cli that was designed to not have dependencies? https://github.com/lucasart/c-chess-cli
Rasmus Althoff
https://www.ct800.net
purechess
Posts: 83
Joined: Wed Nov 28, 2018 1:28 pm
Full name: Heinrich Pulliter

Re: cutechess-cli for macOS

Post by purechess »

Ras wrote: Thu Dec 23, 2021 3:58 pm
ydebilloez wrote: Thu Dec 23, 2021 11:41 amLooking for version 1.2 without any dependencies.
Did you consider c-chess-cli that was designed to not have dependencies? https://github.com/lucasart/c-chess-cli
Problem with c-chess-cli is that engines are hanging very often. So it's not very reliable for engine matches.
User avatar
Ras
Posts: 2720
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: cutechess-cli for macOS

Post by Ras »

purechess wrote: Thu Dec 23, 2021 5:12 pmProblem with c-chess-cli is that engines are hanging very often.
I've ever only seen this with buggy engines because they discard input during search, but mishandle the race condition between resetting the discard flag and new valid input already arriving. That becomes especially visible at fast time controls with all logical CPU cores fully loaded.
Rasmus Althoff
https://www.ct800.net
purechess
Posts: 83
Joined: Wed Nov 28, 2018 1:28 pm
Full name: Heinrich Pulliter

Re: cutechess-cli for macOS

Post by purechess »

Ras wrote: Thu Dec 23, 2021 5:53 pm
purechess wrote: Thu Dec 23, 2021 5:12 pmProblem with c-chess-cli is that engines are hanging very often.
I've ever only seen this with buggy engines because they discard input during search, but mishandle the race condition between resetting the discard flag and new valid input already arriving. That becomes especially visible at fast time controls with all logical CPU cores fully loaded.
The issue is posted on Github . Check it here

https://github.com/lucasart/c-chess-cli/issues/33
User avatar
Ras
Posts: 2720
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: cutechess-cli for macOS

Post by Ras »

purechess wrote: Fri Dec 24, 2021 9:35 amThe issue is posted on Github.
From the issue discussion: "I think it would be nice to be able to treat that engine failure as a single defeat rather than aborting the whole tournament." So the root cause is an unresponsive engine, not problem with c-chess-cli, which is why DIE() is called in the first place. I've had the same with buggy engines, and ideally, that would be a bug report for the engine author - typically caused by the race condition I mentioned, within the engine.
Rasmus Althoff
https://www.ct800.net