Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty 20.0

Author: Robert Hyatt

Date: 17:32:16 08/26/05

Go up one level in this thread


On August 26, 2005 at 18:11:39, Andreas Guettinger wrote:

>On August 26, 2005 at 15:32:08, Robert Hyatt wrote:
>
>>On August 26, 2005 at 15:26:27, Andreas Guettinger wrote:
>>
>>>On August 26, 2005 at 15:09:29, Robert Hyatt wrote:
>>>
>>>>I just released version 20.0.  The only new feature beyond 19.20, is that the
>>>>book files (*.bin) are now portable.  That is, you can build a book on a
>>>>big-endian architecture, and use it on a little-endian architecture.  You can
>>>>build a book on a 32 bit architecture, and use it on a 64 bit architecture.
>>>>Etc.  This was a sore point with me for quite a while...  some systems/compilers
>>>>make structures multiples of 8 bytes, some multiples of 4, some are big-endian,
>>>>some are little-endian.  In the 2004 WCCC blitz tournament, I gave peter a book
>>>>that was made on my 32 bit systems, which produced some bizarre stuff on the 64
>>>>bit opteron.  I decided to fix that.
>>>>
>>>>20.1 will be out as soon as I get all the bit renumbering done.  Nothing new
>>>>other than a very slight expected speedup due to the removal of the 63 - bit#
>>>>translation required between the Intel BSF/BSR and the Cray LEADZ bit numbering
>>>>schemes...
>>>>
>>>>20.2 and beyond are a planned complete revision of the Evaluation, but these
>>>>changes will not be released publicly until after the next WCCC event...
>>>
>>>Does this mean we should download a new book.bin file too?
>>>
>>>regards
>>>Andy
>>
>>
>>No.  The "standard format" is the x86 book.bin, which is what everyone has
>>always downloaded from my web site.  If you are running on anything other than a
>>32 bit X86 architecture, you had to build a book.bin for that architecture.  You
>>now need to either download the "standard format" or else build a new one, which
>>will be in standard format automatically.
>
>Strange. If I remember correctly I downloaded the book.bin file from your ftp
>some time ago and used it all the time with crafty19.19 on my amd64 system. Are
>you sure its not the x86_64 version?


Were you running a 64 bit operating system?  And a version of crafty compiled
for 64 bits?  That's where the rub comes in.  And, in fact, the book will appear
to "sorta work" but most of the possible moves are not available.

On amd64, a "BOOK_POSITION" structure is 24 bytes long.  On IA-32 compilers, it
is 20 bytes long.  That is what kills it on the AMD64 boxes, because they are
still little-endian...



>
>The reason I used your book.bin file is that on my gentoo x86_64 system
>crafty19.19 crashes at the very end of bookbuilding when using enormous.pgn,
>although it has no problems with gm2600.pgn.
>I will try version 20.0 as soon as I have time.
>
>regards
>Andy



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.