Author: Andrew Williams
Date: 15:33:44 05/15/01
Go up one level in this thread
On May 15, 2001 at 18:13:03, James Swafford wrote:
>Cross posted from the Winboard forum:
>
>I need some help shelling an engine on a remote computer.
>
>I have two machines; one runs Linux, the other Windows.
>There is a chess engine on the Linux machine that I'd like to shell
>off and interface with Winboard on the Windows machine.
>
>Here's the startup batch file I'm using:
>
>cd \progra~1\winboard
>winboard /fh="www" /fd="h:\prophet\current" /fcp="./prophet ics"
>
>Note the hostname of the Linux machine is 'www'. I am running Samba,
>hence the mapped drive letter "h" to the directory the engine lives in.
>When I execute the batch file, I get a "error reading from first chess
>program" error. Same deal if I use /fd="/home/james/prophet/current/",
>and if I remove the './' from the engine command.
>
>I've read through the Winboard documentation without any luck.
>
>Help greatly appreciated!
>
>--
>James
Hi James,
I did something like this last Summer. In my case, I was using two Linux
machines, but the principle was the same. I found that I could only make
it work if the executables were in my home directory I didn't really have
time to find out why. Here's the essence of my shell script:
# script starts here
setenv CHESSDIR ~/testmatch
~/bin/xboard -fcp "./ewith xboard" -scp "./gwithout xboard" -sh 99.99.99.99 \
-size Middling -animateMoving False -mg 20 -sgf testmatch.pgn \
-tc 5 -inc 2 -showCoords True \
-popupExitMessage False
# script ends here
Notice that ewith and gwithout were both in my home directory on Linux
machines. Notice also that I had to specify the host for the second program
(-sh) with the ip number, rather than the domain name.
This worked fine and I played well over 1000 games like this.
Andrew
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.