Remote engine access

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Remote engine access

Postby jdart » 15 May 2014, 21:30

I am having some difficulty accessing a Linux engine from Windows.

If I try this in a command window:

"plink bunny -l jdart /home/jdart/chess/engines/arasan/arasanx-64-popcnt"

After I type in the password, the engine starts on machine "bunny" and I am able to type commands to it and get a response ("plink" is the ssh client that comes with "putty").

But I tried the winboard command (4.7.2):

winboard -debugMode true -mode MachineWhite -rsh plink -ruser jdart -fh bunny -fcp "/home/jdart/chess/engines/arasan/arasanx-64-
popcnt" -fd "/home/jdart/chess/engines/arasan"

and this fails. After the startup screen a window just comes up briefly and then closes. The debug log follows:

recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
shuffleOpenings = 0
Version: WinBoard 4.7.2 + arasanx-64-popcnt@bunny
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="") plink bunny -l jdart /home/jdart/chess/engines/arasan/arasanx-64-popcnt
Fatal Error: MachineWhite mode requires a chess engine
GameEnds(28, xboard exit, 2)
name = '%APPDATA%\winboard47.ini', expanded name = 'C:\Users\Jon Dart\AppData\Roaming\winboard47.ini'

The command line to access the remote machine looks fine. But apparently it is not executing.

--Jon
User avatar
jdart
 
Posts: 105
Joined: 26 Sep 2004, 21:11
Location: San Jose, CA

Re: Remote engine access

Postby H.G.Muller » 20 May 2014, 07:20

Sorry I did not see this before the CSVN tourney. I think the problem is that you need an extra argument -cp to tell WinBoard that it must run in chess-program mode. Unlike XBoard, for WinBoard this is not the default, and even when you specify an -fcp and -scp given it would still invoke the startup dialog to allow you to tick the required mode (which is incompatible with specifying a Machine White starting mode). To suppress the startup dialog it always needs one of -cp, -ncp or -ics arguments. The only exception to this is -mm (-matchMode), which implies -cp.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 16 guests