Help with Crafty....please!

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Werewolf
Posts: 2033
Joined: Thu Sep 18, 2008 10:24 pm

Help with Crafty....please!

Post by Werewolf »

Hi,
I am using Crafty 23.0 JA build in Fritz (i.e it has been converted to UCI using Jim's adaptor)

My problem is Crafty is only using 1 CPU instead of all 4. I changed the RC file for Crafty 22.9 and it worked FINE (i.e used all cores), but in 23.0 it still only uses 1 core.

A copy of the RC file is below


#egtb
#adaptive 750K 24M 192M 24M 48M
#tbpath=d:\progra~1\arena\nalimov
cache=32M
ponder off
#
# (for use use with ponder on)
# mode=tournament
#
# (Allows Crafty to try to win drawn games (according to Endgame Tables))
swindle on
#
# (default)
learn 7
#
# (default)
book random 1
#
bookw freq 0.7
bookw ratio 0.8
bookw eval 0.6
bookw learn 1
bookw cap 0.5
book width 4
#
#(default = book on)
book on
#
show book
log=off
#
# (Increases Crafty's MaxThreads to 2 for a dual CPU computer )
#mt=4
smpmt=4
#
# (Make Crafty not use cpu on opponents time)
#smpnice=1
#
# (Makes crafty use a lot more time on the first 8 moves out of book)
timebook 80 8
#adaptive NPS a
hash=512M
hashp=64M
exit
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Help with Crafty....please!

Post by sje »

One idea: Earlier versions of Crafty needed to be compiled with a -DCPU=4 option to enable a four core SMP search. Perhaps this is true with the current version and that you have an executable that will only support a single thread.
Werewolf
Posts: 2033
Joined: Thu Sep 18, 2008 10:24 pm

Re: Help with Crafty....please!

Post by Werewolf »

uh-oh. Only Jim would know the answer to that I guess...
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Help with Crafty....please!

Post by Dann Corbit »

Change:
smpmt=4
to:
mt=4
User avatar
Jim Ablett
Posts: 2284
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Help with Crafty....please!

Post by Jim Ablett »

Werewolf wrote:uh-oh. Only Jim would know the answer to that I guess...
Hi Carl,

Crafty 23.0 JA compiled with support for 1024 cores :)
Sedat Canbaz asked for this feature to enable 'future proofing!' :shock:

Jim.
Howard E
Posts: 261
Joined: Wed Mar 08, 2006 8:49 pm

Re: Help with Crafty....please!

Post by Howard E »

Here's my rc file. mt= instead of smpmt= might help.

mt=8
egtb
tbpath=C:\Chess\Nalimov
analyze
display changes
hash=512M
hashp=128M
cache=32M
ponder=off
smpnice=1
log=off
exit
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Help with Crafty....please!

Post by Dr.Wael Deeb »

Jim Ablett wrote:
Werewolf wrote:uh-oh. Only Jim would know the answer to that I guess...
Hi Carl,

Crafty 23.0 JA compiled with support for 1024 cores :)
Sedat Canbaz asked for this feature to enable 'future proofing!' :shock:

Jim.
:shock:
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
Werewolf
Posts: 2033
Joined: Thu Sep 18, 2008 10:24 pm

Re: Help with Crafty....please!

Post by Werewolf »

I did that but it didn't help. Here's my new file:

#egtb
#adaptive 750K 24M 192M 24M 48M
#tbpath=d:\progra~1\arena\nalimov
cache=32M
ponder off
#
# (for use use with ponder on)
# mode=tournament
#
# (Allows Crafty to try to win drawn games (according to Endgame Tables))
swindle on
#
# (default)
learn 7
#
# (default)
book random 1
#
bookw freq 0.7
bookw ratio 0.8
bookw eval 0.6
bookw learn 1
bookw cap 0.5
book width 4
#
#(default = book on)
book on
#
show book
log=off
#
# (Increases Crafty's MaxThreads to 2 for a dual CPU computer )
mt=4
#
# (Make Crafty not use cpu on opponents time)
#smpnice=1
#
# (Makes crafty use a lot more time on the first 8 moves out of book)
timebook 80 8
#adaptive NPS a
hash=512M
hashp=64M
exit
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Help with Crafty....please!

Post by Dann Corbit »

Start crafty from the command line or a DOS window and tell us what gets printed out by doing a cut and paste.

I guess the clue you need is there.
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: Help with Crafty....please!

Post by Dirt »

Remove the log=off and then look at the log file for clues.