Engines that won't work with CuteChess

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

Moderators: hgm, Rebel, chrisw

JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Engines that won't work with CuteChess

Post by JohnW »

Have any of you noticed that certain Engines just don't work with Cutechess v1.2.0?
I have had to unregister the engines below because of various issues:

ProDeo 2.0 just refuses to move, works fine in Fritz 17 and Arena though
Same with Rebel 6.0 uci and the old Mephisto uci versions (e.g Mephisto Roma, Mephisto Dallas etc). All work fine in Fritz and Arena though.
Cinnamon 2.0 pops up an error with red x
supersharp77
Posts: 1242
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Engines that won't work with CuteChess

Post by supersharp77 »

JohnW wrote: Wed Mar 31, 2021 7:09 pm Have any of you noticed that certain Engines just don't work with Cutechess v1.2.0?
I have had to unregister the engines below because of various issues:

ProDeo 2.0 just refuses to move, works fine in Fritz 17 and Arena though
Same with Rebel 6.0 uci and the old Mephisto uci versions (e.g Mephisto Roma, Mephisto Dallas etc). All work fine in Fritz and Arena though.
Cinnamon 2.0 pops up an error with red x
Don't forget you can run Prodeo or the Old rebels as either winboard or UCI engines with the adaptor...if UCI is not working I would try to run as a "pure winboard" engine...AR :) :wink:
JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Re: Engines that won't work with CuteChess

Post by JohnW »

Thanks, I can get them to work fine in other guis. I want to use them specifically with the cute chess command line interface though.
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: Engines that won't work with CuteChess

Post by Rebel »

JohnW wrote: Wed Mar 31, 2021 8:58 pm Thanks, I can get them to work fine in other guis. I want to use them specifically with the cute chess command line interface though.
With older versions don't try the -concurrency option.
90% of coding is debugging, the other 10% is writing bugs.
Ras
Posts: 2487
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Engines that won't work with CuteChess

Post by Ras »

Rebel wrote: Wed Mar 31, 2021 10:41 pmWith older versions don't try the -concurrency option.
That looks like a workaround for a race condition in the UCI parser. That kind of bug may hit engines that use a dedicated input thread and discard UCI commands other than isready/stop/quit during search if not carefully implemented. A strong hint would be that this shows only if you load all logical cores of your CPU, e.g. eight games in parallel on a quadcore with hyperthreading.
Rasmus Althoff
https://www.ct800.net
JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Re: Engines that won't work with CuteChess

Post by JohnW »

Rebel wrote: Wed Mar 31, 2021 10:41 pm
JohnW wrote: Wed Mar 31, 2021 8:58 pm Thanks, I can get them to work fine in other guis. I want to use them specifically with the cute chess command line interface though.
With older versions don't try the -concurrency option.
Thanks, I am not using that.
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: Engines that won't work with CuteChess

Post by Rebel »

Ras wrote: Wed Mar 31, 2021 11:06 pm
Rebel wrote: Wed Mar 31, 2021 10:41 pmWith older versions don't try the -concurrency option.
That looks like a workaround for a race condition in the UCI parser. That kind of bug may hit engines that use a dedicated input thread and discard UCI commands other than isready/stop/quit during search if not carefully implemented. A strong hint would be that this shows only if you load all logical cores of your CPU, e.g. eight games in parallel on a quadcore with hyperthreading.
It's not the case, the reason is that older versions keep track of a couple of info-files, removing them allowed the use of the -concurrency option.
90% of coding is debugging, the other 10% is writing bugs.
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: Engines that won't work with CuteChess

Post by Rebel »

JohnW wrote: Wed Mar 31, 2021 11:19 pm
Rebel wrote: Wed Mar 31, 2021 10:41 pm
JohnW wrote: Wed Mar 31, 2021 8:58 pm Thanks, I can get them to work fine in other guis. I want to use them specifically with the cute chess command line interface though.
With older versions don't try the -concurrency option.
Thanks, I am not using that.
Can you post the cutechess batchfile, I then can try to emulate. One other thing that springs to mind :

cutechess-cli engine name=Rebel6 cmd=Rebel6.exe dir=somewhere proto=uci

Don't use cmd=Rebel6.exe but cmd=rebeluci.exe
90% of coding is debugging, the other 10% is writing bugs.
JohnW
Posts: 381
Joined: Thu Nov 22, 2012 12:20 am
Location: New Hampshire

Re: Engines that won't work with CuteChess

Post by JohnW »

Rebel wrote: Thu Apr 01, 2021 6:07 am
JohnW wrote: Wed Mar 31, 2021 11:19 pm
Rebel wrote: Wed Mar 31, 2021 10:41 pm
JohnW wrote: Wed Mar 31, 2021 8:58 pm Thanks, I can get them to work fine in other guis. I want to use them specifically with the cute chess command line interface though.
With older versions don't try the -concurrency option.
Thanks, I am not using that.
Can you post the cutechess batchfile, I then can try to emulate. One other thing that springs to mind :

cutechess-cli engine name=Rebel6 cmd=Rebel6.exe dir=somewhere proto=uci

Don't use cmd=Rebel6.exe but cmd=rebeluci.exe
I register the engines via the CuteChess gui then I create something like:

cutechess-cli -engine conf="ProDeo2.0" -engine conf="Rybka 3" -pgnout "C:\CHESS ENGINES\ChessMatches.pgn" -each tc=0/1:00+1

This problem isn't just with using the cli, ProDeo2.0 refuses to move when using the cutechess gui. I reregistered Rebel6 and for some reason it worked just fine this morning.