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
Help with Crafty....please!
Moderator: Ras
-
- Posts: 4675
- Joined: Mon Mar 13, 2006 7:43 pm
Re: Help with Crafty....please!
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.
-
- Posts: 2032
- Joined: Thu Sep 18, 2008 10:24 pm
Re: Help with Crafty....please!
uh-oh. Only Jim would know the answer to that I guess...
-
- Posts: 12792
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help with Crafty....please!
Change:
smpmt=4
to:
mt=4
smpmt=4
to:
mt=4
-
- Posts: 2284
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Help with Crafty....please!
Hi Carl,Werewolf wrote:uh-oh. Only Jim would know the answer to that I guess...
Crafty 23.0 JA compiled with support for 1024 cores

Sedat Canbaz asked for this feature to enable 'future proofing!'

Jim.
-
- Posts: 261
- Joined: Wed Mar 08, 2006 8:49 pm
Re: Help with Crafty....please!
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
mt=8
egtb
tbpath=C:\Chess\Nalimov
analyze
display changes
hash=512M
hashp=128M
cache=32M
ponder=off
smpnice=1
log=off
exit
-
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: Help with Crafty....please!
Jim Ablett wrote:Hi Carl,Werewolf wrote:uh-oh. Only Jim would know the answer to that I guess...
Crafty 23.0 JA compiled with support for 1024 cores![]()
Sedat Canbaz asked for this feature to enable 'future proofing!'![]()
Jim.

_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….
-
- Posts: 2032
- Joined: Thu Sep 18, 2008 10:24 pm
Re: Help with Crafty....please!
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
#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
-
- Posts: 12792
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Help with Crafty....please!
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.
I guess the clue you need is there.
-
- Posts: 2851
- Joined: Wed Mar 08, 2006 10:01 pm
- Location: Irvine, CA, USA
Re: Help with Crafty....please!
Remove the log=off and then look at the log file for clues.