Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Testposition of Matador-Alarm CCT6

Author: Tord Romstad

Date: 07:25:06 02/05/04

Go up one level in this thread


On February 05, 2004 at 08:07:55, Tim Foden wrote:

>On February 05, 2004 at 07:21:12, Tord Romstad wrote:
>
>>I should probably add a "help" command to Gothmog as well.  Just the
>>thought of experienced programmers like you running "strings" on my
>>engine
>
>I was just looking through to see if I could set up a position and get gothmog
>to analyse it

In case you didn't discover it on your own:  Just start it from the
command line, type "setboard <fen>" followed by "analyze".  In other
words, you use the normal xboard commands.  The only difference compared
to xboard mode is that the output looks nicer.  If you want to enter
moves, you must use the "usermove" command.

>(as it finds some difficult things very quickly...

This is sometimes because of my really weird search, and sometimes
because of big and speculative evaluation terms for king safety and
passed pawns.  In the Matador-Alarm position, I am pretty sure the
passed pawn evaluation is why my engine plays Rxe6+ so quickly.

>the kind of
>things that GL has a lot of trouble with), and I noticed it also had a command
>for evaluating the current position.  :)
>
>
>>and seeing all the silly debug output strings and similar stupid
>>stuff makes me feel embarrassed.  :-)
>
>No need.  One of the things I keep thinking about trying at some point is to
>strip everything out of GLC (using conditional compiles) so that I can get an
>exe that doesn't have lots of useless stuff in it (like a nice commandline user
>interface)... just the stuff needed to actually play chess.  I'm sure a few
>people would then run strings on it too! :)

I actually do this.  I have a #define DEVELOPMENT which I change to
#undef DEVELOPMENT immediately before I release a new version.  When
DEVELOPMENT is #defined, there are several more commands available
in console mode.  Before I read your post, I thought the 'eval' command
was one of those which disappeared when DEVELOPMENT was #undefinded,
but clearly I was wrong.  Because there is apparently at least one
person besides myself who like to have it there, I will probably leave
the command there in future releases as well.

>The reason to do this (strip things out) is that I feel this may better on the
>cache.  On the other hand I also feel that this may be better done while
>implementing a new engine (whose aim is to be more cache friendly anyway), which
>I have already started, but I haven't done any work on for about 1.5 years!  :)
>This is probably pointless anyway though (the cache friendlyness), because, as
>you know, speed isn't everything in chess... efficiency is more the thing (e.g.
>efficiency of knowledge applied).

My experience is that it doesn't have any measurable effect on speed at
all.  Gothmog runs at exactly the same speed with or without DEVELOPMENT
defined.  The executable is about 20% smaller without DEVELOPMENT.

Tord




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.