If an engine uses the xboard protocol, it sends "post" to it. I do not believe there is any reason for an engine to send PVs to this non-graphical interface. At least, the default should be nopost with an option to turn it on.
The fact is that it generates a lot of traffic that is not needed. It was useful to me because it exposed a bug in my engine:-) but I think a user should have the ability to turn this off.
Thanks!
Miguel
Suggestion for cutechess-cli
Moderators: hgm, Rebel, chrisw
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: Suggestion for cutechess-cli
I just realized there is no way to turn off "posting" information in UCI! Did I miss anything?michiguel wrote:If an engine uses the xboard protocol, it sends "post" to it. I do not believe there is any reason for an engine to send PVs to this non-graphical interface. At least, the default should be nopost with an option to turn it on.
The fact is that it generates a lot of traffic that is not needed. It was useful to me because it exposed a bug in my engine:-) but I think a user should have the ability to turn this off.
Thanks!
Miguel
I will have to make an option "mute 1" and send it at the beginning, but I am out of luck with other engines.
Miguel
-
- Posts: 27808
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Suggestion for cutechess-cli
I usually want to have score/depth in the PGN, and for that you do need thinking output.
-
- Posts: 228
- Joined: Sun Mar 12, 2006 3:11 pm
Re: Suggestion for cutechess-cli
Is there a switch (command) to turn this off, so that the pgn just records the moves. I find the extra information distracting when reading through games.hgm wrote:I usually want to have score/depth in the PGN, and for that you do need thinking output.
-
- Posts: 3232
- Joined: Mon May 31, 2010 1:29 pm
- Full name: lucasart
Re: Suggestion for cutechess-cli
cutechess-cli could always display the PV in the comment of the output PGN (although it doesn't) That could be a reason.michiguel wrote:If an engine uses the xboard protocol, it sends "post" to it. I do not believe there is any reason for an engine to send PVs to this non-graphical interface. At least, the default should be nopost with an option to turn it on.
The fact is that it generates a lot of traffic that is not needed. It was useful to me because it exposed a bug in my engine:-) but I think a user should have the ability to turn this off.
Thanks!
Miguel
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: Suggestion for cutechess-cli
Yes, that makes sense. I did not think of that. Still, I think it would be a good idea to turn the feature off with a switch for people who don't use it.hgm wrote:I usually want to have score/depth in the PGN, and for that you do need thinking output.
Miguel
-
- Posts: 27808
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Suggestion for cutechess-cli
Indeed. In WinBoard you can select whether you want scores in the PGN, and if you don't, and also don't have the Eval Graph or Engine Output windows open, it sends a nopost. But you also cannot do score-based adjudication then.
-
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Suggestion for cutechess-cli
I noticed this thread only now because I took some time off from computer chess. Anyway, I'm back and trying to release something this autumn, so this kind of feature could make it in.
-
- Posts: 482
- Joined: Thu Oct 16, 2008 4:23 am
- Location: Milky Way
Re: Suggestion for cutechess-cli
Hello Ilari, good to hear you are back to computer chess!ilari wrote:I noticed this thread only now because I took some time off from computer chess. Anyway, I'm back and trying to release something this autumn, so this kind of feature could make it in.
As a frequent user of cutechess I'd like to have an option in which you could enable cutechess to flush the pgn file after each move at the game.
Regards,
Ben-Hur Carlos Langoni Junior
http://sourceforge.net/projects/redqueenchess/
http://sourceforge.net/projects/redqueenchess/
-
- Posts: 750
- Joined: Mon Mar 27, 2006 7:45 pm
- Location: Finland
Re: Suggestion for cutechess-cli
Hi,bhlangonijr wrote: Hello Ilari, good to hear you are back to computer chess!
As a frequent user of cutechess I'd like to have an option in which you could enable cutechess to flush the pgn file after each move at the game.
Regards,
Unfortunately there are a couple of problems with that:
1. The Result and Termination tags are at the beginning of a PGN game, but their values can only be determined when the game is over
2. The -concurrency option would have to be disabled or else the resulting PGN file would be a mess. Alternatively multiple output files could be used.
I think the sensible way to do what you want would be to have a separate debug-type file where the moves would be written in real time.