Page 1 of 1

crafty22 crashes on reset in winboard.

PostPosted: 07 Apr 2008, 16:08
by mike schoonover
hi all,
i have a blended version from jim i believe,and one from peter skinner.
the blended works fine on my 433 mhz celeron d.
they both crash on reset on the dual processer machine i use at the library.
intel duo core,win xp.
any help appreciated.
regards
mike

Re: crafty22 crashes on reset in winboard.

PostPosted: 08 Apr 2008, 12:24
by Jim Ablett
Hi Mike,

Can you show the 'crafty.rc' configuration you are using?
Latest Crafty will crash using
Code: Select all
smpnice=1

using more than one processor.

Here's my latest crafty.rc which works correctly:
Note there must be a carriage return/empty line right at the end too.

Code: Select all
egtb
#adaptive 750K 24M 192M 24M 48M
tbpath=d:\progra~1\arena\nalimov
cache=32M
ponder off
# mode=tournament  # (for use use with ponder on)
swindle on         # (Allows Crafty to try to win drawn games (according to Endgame Tables))
learn 7            # (default)
book random 1      # (default)
bookw freq 0.7
bookw ratio 0.8
bookw eval 0.6
bookw learn 1
bookw cap 0.5
book width 4
book on            #(default = book on)
show book
log=off
mt=2              # (Increases Crafty's MaxThreads to 2 for a dual CPU computer )
#smpnice=1    # (Not working - make Crafty not use cpu on opponents time)
timebook 80 8      # (Makes crafty use a lot more time on the first 8 moves out of book)
#adaptive NPS a
hash=45M
hashp=16M
exit



Jim.

Re: crafty22 crashes on reset in winboard.

PostPosted: 08 Apr 2008, 17:21
by mike schoonover
hi jim,
i have that one.
i used my own rc file goes some thing like this.
mt=2
hash 48
phash 8
book on
learn 7
cache 4
egtb
egtbpath=dir.path
exit


regards
mike

Re: crafty22 crashes on reset in winboard.

PostPosted: 08 Apr 2008, 19:11
by Jim Ablett
Here's a test build of Crafty 22.0 for you to try. This is compiled with Mingw-gcc and it fixes the smpnice feature.
Word of caution: there may be a problem with memory not being released after each game, so keep an eye on memory usage.

http://www.zshare.net/download/10235896e2ec7774/

Jim.

Re: crafty22 crashes on reset in winboard.

PostPosted: 10 Apr 2008, 16:42
by mike schoonover
thanks jum,
the fix build works.
:D
regards
mike