Crafty 22.0 Windows x64 available

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

Moderators: hgm, Rebel, chrisw

User avatar
Jim Ablett
Posts: 1385
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Crafty 22.0 Windows x64 available

Post by Jim Ablett »

Crafty 22.0 by Prof. Robert Hyatt

Windows x64 Intel Compiler 10 p.g.o

http://www.zshare.net/download/7911616f3c0999/

There may be a problem with SMP functionality,
although it was utililizing 2 threads ok on my Core2Duo.
Also it isn't as highly optimized as I would like. Trying
to squeeze extra speed made the exe unstable. It's
still faster than my 32-bit exe though.

Jim.
User avatar
Werner
Posts: 2872
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty 22.0 Windows x64 available

Post by Werner »

Thanks Jim,
I have 2 questions:
a) does it work for you with that rc file? Why 2 lines with egtb?

b) do you remember the line which stops using 1 CPU during the other engine is running?

egtb
tbpath=d:\progra~1\arena\nalimov
# adaptive 750K 24M 192M 24M 48M
egtb
tbpath=d:\progra~1\arena\nalimov
cache=32M
ponder off
mode=tournament
swindle on # (Allows Crafty to try to win drawn games (according to Endgame Tables))
learn 7
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
book on
show book
computer
log=off
mt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - disables smp)
# smpmt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - using smp dual-core/2+ cpus)
timebook 80 8
#adaptive NPS a
hash=45M
hashp=16M
exit
Werner
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Crafty 22.0 Windows x64 available

Post by Dr.Wael Deeb »

Werner wrote:Thanks Jim,
I have 2 questions:
a) does it work for you with that rc file? Why 2 lines with egtb?

b) do you remember the line which stops using 1 CPU during the other engine is running?

egtb
tbpath=d:\progra~1\arena\nalimov
# adaptive 750K 24M 192M 24M 48M
egtb
tbpath=d:\progra~1\arena\nalimov
cache=32M
ponder off
mode=tournament
swindle on # (Allows Crafty to try to win drawn games (according to Endgame Tables))
learn 7
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
book on
show book
computer
log=off
mt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - disables smp)
# smpmt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer - using smp dual-core/2+ cpus)
timebook 80 8
#adaptive NPS a
hash=45M
hashp=16M
exit
smpnice=1
_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….
User avatar
Jim Ablett
Posts: 1385
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Crafty 22.0 Windows x64 available

Post by Jim Ablett »

Hi Werner,
I have 2 questions:
a) does it work for you with that rc file? Why 2 lines with egtb?
I don't know why the second one is there :?
b) do you remember the line which stops using 1 CPU during the other engine is running?
Wael has kindly answered that one. I didn't know.
smpnice=1
smpmt=2
is the one which may not work at all.

regards,
Jim.
Tony Thomas

Re: Crafty 22.0 Windows x64 available

Post by Tony Thomas »

If I had to take a guess about the egtb, crafty now has a smarter egtb usage option. Crafty will decide the amount of Ram it needs depending on the position. Crafty still supports the old way of using egtb's as well. So all in all there are two options.
Uri
Posts: 473
Joined: Thu Dec 27, 2007 9:34 pm

Re: Crafty 22.0 Windows x64 available

Post by Uri »

Is Crafty 22.0 only for winboard? Will it work on Windows 2000 professional?
User avatar
Jim Ablett
Posts: 1385
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Crafty 22.0 Windows x64 available

Post by Jim Ablett »

Hi Uri,
Uri wrote:Is Crafty 22.0 only for winboard? Will it work on Windows 2000 professional?
Crafty is a winboard engine. Use with an adaptor (wb2uci), if
you want ro run it in UCI interface.

Crafty can run on pretty much every OS, with the right compile of course.
My 32-bit build should run no problem.

Jim.
User avatar
Werner
Posts: 2872
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty 22.0 x64 smp crashes

Post by Werner »

Hi Jim,
I tried to run it with 2 CPUs under arena and started a eng-eng match.
Crafty startes running on 2 CPUs a few seconds and then crashes before first move after book is made. This test was made on my AMD 64x2.
Here is the rc file I use:
egtb
hash=512M
hashp=32M
log=off
tbpath=j:\tbs
cache=16M
mode=tournament
swindle off # (Allows Crafty to try to win drawn games (according to Endgame Tables))
mt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer)
timebook 80 8
#adaptive NPS a
smpnice=1

edit:
just using it without smpnice=1
match is running - crafty uses 1 CPU when other engine is running :(
Werner
User avatar
Jim Ablett
Posts: 1385
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Crafty 22.0 x64 smp crashes

Post by Jim Ablett »

Werner wrote:Hi Jim,
I tried to run it with 2 CPUs under arena and started a eng-eng match.
Crafty startes running on 2 CPUs a few seconds and then crashes before first move after book is made. This test was made on my AMD 64x2.
Here is the rc file I use:
egtb
hash=512M
hashp=32M
log=off
tbpath=j:\tbs
cache=16M
mode=tournament
swindle off # (Allows Crafty to try to win drawn games (according to Endgame Tables))
mt=2 #(Increases Crafty's MaxThreads to 2 for a dual CPU computer)
timebook 80 8
#adaptive NPS a
smpnice=1

edit:
just using it without smpnice=1
match is running - crafty uses 1 CPU when other engine is running :(
Hi Werner,

Yes, there is a problem with SMP in x64.

I just tested the 32 bit again in smp mode (2 core) and it's
seems to be working ok.

Jim.
User avatar
Werner
Posts: 2872
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty 22.0 x64 smp crashes

Post by Werner »

Hi Jim,
no!
The 32bit engine crashes too when using smpnice=1
Werner