Ponder=on in cutechess-cli?

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Jose Carlos
Posts: 150
Joined: Wed Mar 08, 2006 9:09 pm
Location: Murcia (Spain)

Ponder=on in cutechess-cli?

Post by Jose Carlos » Wed Apr 04, 2012 9:44 am

Hi. I'm giving a try to cutechess-cli. I can't find a way to set ponder=on. Is it possible?

If not, what other command-line tool would you recommend for two programs matchs with ponder on (the easier to use, the better)?
__________________________
José Carlos Martínez Galán

SzG
Posts: 2447
Joined: Fri Mar 10, 2006 6:20 am
Location: Szentendre, Hungary

Re: Ponder=on in cutechess-cli?

Post by SzG » Wed Apr 04, 2012 9:57 am

José Carlos wrote:Hi. I'm giving a try to cutechess-cli. I can't find a way to set ponder=on. Is it possible?

If not, what other command-line tool would you recommend for two programs matchs with ponder on (the easier to use, the better)?
Hi José,

I think you can include a command in the 'each' section of the command line such as:

-each option.Ponder=on

if the UCI engine has an option named Ponder.

PS. A new Averno in the works?
Gabor Szots

CCRL testing group

Jose Carlos
Posts: 150
Joined: Wed Mar 08, 2006 9:09 pm
Location: Murcia (Spain)

Re: Ponder=on in cutechess-cli?

Post by Jose Carlos » Wed Apr 04, 2012 10:18 am

SzG wrote:
José Carlos wrote:Hi. I'm giving a try to cutechess-cli. I can't find a way to set ponder=on. Is it possible?

If not, what other command-line tool would you recommend for two programs matchs with ponder on (the easier to use, the better)?
Hi José,

I think you can include a command in the 'each' section of the command line such as:

-each option.Ponder=on

if the UCI engine has an option named Ponder.

PS. A new Averno in the works?
Hi Gabor.

I'm using winboard engines now, so that trick won't work. I might modify my program to ignore the "easy" command and set pondering=on always, but I wonder if cutechess-cli will get messed by the unexpected output from the program.

I lost Averno's source code. It was in a computer that was stolen.
I have the sources for an old version of another program I wrote, which I called Anubis, and I'm trying to fix it and make it work, just for fun. That's what I wanted cutechess-cli for.

Additionally, as that Anubis had such a crap design, I've started a new one from scratch, and I've reused the name. The new one is well designed and has much more potential, but it's not complete yet, it can't play chess.

I planned to give the sources along with the program because I believe this design is really good, but all the mess around the Rybka case has made me change my mind. Too much trouble for what should be an enjoyable hobby. So I'm not going to release any chess program nor participate in any tournament.
__________________________
José Carlos Martínez Galán

User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 5:45 pm
Location: Finland
Contact:

Re: Ponder=on in cutechess-cli?

Post by ilari » Wed Apr 04, 2012 10:36 am

SzG wrote:
José Carlos wrote:Hi. I'm giving a try to cutechess-cli. I can't find a way to set ponder=on. Is it possible?

If not, what other command-line tool would you recommend for two programs matchs with ponder on (the easier to use, the better)?
Hi José,

I think you can include a command in the 'each' section of the command line such as:

-each option.Ponder=on

if the UCI engine has an option named Ponder.

PS. A new Averno in the works?
Nope, that has no effect. Cutechess-cli doesn't support pondering yet. It's been on the TODO list for a long while but it's quite tricky to implement without dirty hacks. Maybe before summer...

Jose Carlos
Posts: 150
Joined: Wed Mar 08, 2006 9:09 pm
Location: Murcia (Spain)

Re: Ponder=on in cutechess-cli?

Post by Jose Carlos » Wed Apr 04, 2012 10:41 am

ilari wrote:
SzG wrote:
José Carlos wrote:Hi. I'm giving a try to cutechess-cli. I can't find a way to set ponder=on. Is it possible?

If not, what other command-line tool would you recommend for two programs matchs with ponder on (the easier to use, the better)?
Hi José,

I think you can include a command in the 'each' section of the command line such as:

-each option.Ponder=on

if the UCI engine has an option named Ponder.

PS. A new Averno in the works?
Nope, that has no effect. Cutechess-cli doesn't support pondering yet. It's been on the TODO list for a long while but it's quite tricky to implement without dirty hacks. Maybe before summer...
Will it ignore my output if I just ponder in spite of the the "easy" command, or will it get messed and have trouble?

Thanks in advance.
__________________________
José Carlos Martínez Galán

User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 5:45 pm
Location: Finland
Contact:

Re: Ponder=on in cutechess-cli?

Post by ilari » Wed Apr 04, 2012 1:17 pm

José Carlos wrote:
ilari wrote:Nope, that has no effect. Cutechess-cli doesn't support pondering yet. It's been on the TODO list for a long while but it's quite tricky to implement without dirty hacks. Maybe before summer...
Will it ignore my output if I just ponder in spite of the the "easy" command, or will it get messed and have trouble?

Thanks in advance.
I don't see why it wouldn't work - pondering output shouldn't bother cutechess-cli.

User avatar
hgm
Posts: 22274
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Ponder=on in cutechess-cli?

Post by hgm » Wed Apr 04, 2012 2:55 pm

José Carlos wrote:I'm using winboard engines now, so that trick won't work.
Note that the trick also won't work on UCI engines, not even on those that support the option Ponder. That is, it will set their option Ponder to on, but that will not make them ponder. It will just mess up their time control.

I don't know how hard your requirement is that it should be a command-line tool. If it is sufficient that it can be iconized, you could use WinBoard / XBoard.

Jose Carlos
Posts: 150
Joined: Wed Mar 08, 2006 9:09 pm
Location: Murcia (Spain)

Re: Ponder=on in cutechess-cli?

Post by Jose Carlos » Wed Apr 04, 2012 4:56 pm

hgm wrote:
José Carlos wrote:I'm using winboard engines now, so that trick won't work.
Note that the trick also won't work on UCI engines, not even on those that support the option Ponder. That is, it will set their option Ponder to on, but that will not make them ponder. It will just mess up their time control.

I don't know how hard your requirement is that it should be a command-line tool. If it is sufficient that it can be iconized, you could use WinBoard / XBoard.
Thanks for the suggestion, but it'd better be a command-line tool because I'm using it at work and my boss can see my screen from the distance (he can't read it, but definetly would see a chess board) :oops:
__________________________
José Carlos Martínez Galán

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Ponder=on in cutechess-cli?

Post by Guenther » Wed Apr 04, 2012 6:24 pm

José Carlos wrote: Thanks for the suggestion, but it'd better be a command-line tool because I'm using it at work and my boss can see my screen from the distance (he can't read it, but definetly would see a chess board) :oops:
AFAIK there exists a noGUI flag too, but I have never tried it. HG will surely comment on this.

Guenther

edit: from the xboard manual =>

Code: Select all

4.6 User interface options

-noGUI
    Suppresses all GUI functions of XBoard (to speed up automated ultra-fast engine-engine games, which you don't want to watch). There will be no board or clock updates, no printing of moves, and no update of the icon on the task bar in this mode. 

User avatar
michiguel
Posts: 6264
Joined: Thu Mar 09, 2006 7:30 pm
Location: Chicago, Illinois, USA
Contact:

Re: Ponder=on in cutechess-cli?

Post by michiguel » Wed Apr 04, 2012 7:52 pm

hgm wrote:
José Carlos wrote:I'm using winboard engines now, so that trick won't work.
Note that the trick also won't work on UCI engines, not even on those that support the option Ponder. That is, it will set their option Ponder to on, but that will not make them ponder. It will just mess up their time control.

I don't know how hard your requirement is that it should be a command-line tool. If it is sufficient that it can be iconized, you could use WinBoard / XBoard.
That highlights one of the differences between protocols. Ponder responsibility goes to the GUI in UCI, to the engine in WB. So, a GUI needs nothing to implement pondering in WB protocol (but the engine will have to do the work).

Miguel

Post Reply