Computer Chess Club Archives


Search

Terms

Messages

Subject: Calling a program from another to perform analysis

Author: Andrew Templeton

Date: 12:38:55 04/22/98


   I read in the readme file that comes with Rebel9 that you can call
the program from another and pass it an EPD file on its commandline. The
program is supposed to read the EPD file and perform an analysis on all
the positions it contains. At least, this is what I gather from the
readme file.
   I tried to call Rebel using the C spawn() function and passed it the
full pathname of a valid EPD file. At first, all I got was some error
message from Rebel telling me to reinstall the program. Eventually I
determined that the EPD file had to be in the C:\Rebel9 directory and
that the Current Working Directory had to be changed to C:\Rebel9 before
attempting the spawn(). When these changes were made the following
happened:
   Rebel9 started up, skipping the welcome screen, and brought up the
screen as usual. It began to perform the analysis on the first EPD
record in the file. After the program had 'choosen' a good move for
White it then started Black's clock and began to wait for the user to
enter a Black move.
   Is there some kind of commandline switch that must also be passed to
Rebel9 to indicate to it that it is being called via another program to
perform analysis? Have I misunderstood the readme file about Rebel9
being callable from other programs? Any help here would be gratefully
appreciated.
   Finally, does anyone know of a good chess program that is callable
from another to perform analysis?



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.