If you are interested in having the source of 2.0.3: it is in the 'learn' branch of this same on-line repository. The 1.4.70b version works well for this purpose too, however; the only important things that would not work is seeing tablebase hits in the thinking output, and excluding moves from analysis.Canoike wrote:I have found what was wrong : old version of polyglot. So I went to http://hgm.nubati.net/cgi-bin/gitweb.cgi and compiled it, version 1.4.70b. I also downloaded from this forum version 2.0.3.
OK, in the version I just pushed this could be slightly simplified, because it now copied the directory of the engine as well when the second engine defaults to the first:The command line is : ./xboard -epd -fd "/home/User/temp/xboard-aae9525/" -fcp "/home/User/temp/xboard-aae9525/polyglot". Polyglot.ini for Stockfish.
./xboard -epd -fd "/home/User/temp/xboard-aae9525/" -fcp "./polyglot"
If Polyglot would have been installed compliantly (by "sudo make install") the -fUCI / -sUCI options would work, and you could use
./xboard -epd -fd "/home/User/temp/xboard-aae9525/" -fcp "./stockfish20160315" -fUCI
You then would not have to prepare a polyglot.ini file, but could set any Stockfish parameters you wanted different from the default through the Engine Settings dialog, and press the 'Polyglot Save' button there to make sure these become permanent.
If Stockfish would also have been compliantly installed you would not have had to specify a directory, and the command
./xboard -epd -fcp stockfish20160315 -fUCI
would suffice. Even if youwanted to use the uninstalled Stockfish in a private directory, you could install it with the Load Engine dialog by browsing to /home/User/temp/xboard-aae9525/stockfish20160315 for the 'Engine comand', and erasing the '.' from the 'Engine directory' text entry, ticking the 'UCI' checkbox and giving it a 'Nickname' like 'mystockfish'. Once you have done that, (and the settings were saved!), you could start the EPD suite by
./xboard -epd -fe mystockfish
and XBoard would remember what directory it had to use, and that the engine was UCI.
Note that the match pause and default number of games would have to be set only once, as XBoard remembers those settings. The .epd file, and '-1' for the position number to force auto-increent, would have to be specified every time, though. So when you run the same test suite often (e.g. after changing engine settings) it might bemore convenient to set them from the command line with the -lpf ans -lpi options, and recall the command with the arrow keys.In the last GUI, go to
*** "Tournament options", "Pause between match games" set to 1000 msec. "Default number of game match" set to 1500 ( I have 1500 positions). "File with start position" put the name of the EPD. "Position number" set to -1 to go to the next position when the time is over "Time control" "fixed max", set the time for each position. Validate
./xboard -epd -fe mystockfish -lpf STS1.epd -lpi -1 -st 0:10
(The -st 0:10 would take care of the fixed-max time control.)
This is also something that XBoard should remember, and thus has to be done only one time.*** "Common engine settings" : the number of CPU is reset to 1 each time you start the GUI. Do not forget to set it.
Indeed, the second engine would still be started, although it would never be set to think. This is a consequence of the hasty implementation of running the EPD suite as a match. I hope to be able to fix that in future versions.*** "Mode : Machine match" and the tests can begin.
You see twice the same engine as first and second engine.