Crafty 22.0 Windows x64 available

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

Moderator: Ras

User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

Ómar wrote:Hi Peter,

Your .rc file don´t work here. Not in Arena 1.1 or Arena 1.99 beta 5.
And there was an extra line after exit. (I am using Notepad2)
While thinking on its first move out of book the hash goes down to 0
and the engine can´t move.
Hello Omar,

If you use the rc file of Peter Skinner as mentioned with Crafty build based on Feb. 20 (with smpnice=1) then it should happen as you mentioned. Just set smpnice=0, and Crafty will run smoothly, but ponders on opponent's move.

Since Bob Hyatt made a fix for the "pondering". He relased another src last Feb. 21. Smpnice is now working by default (smpnice=1). From my account, Jim Ablett compiled this latest fixed src which works perfectly in Arena. This build also uses the given rc file parameters by Peter Skinner, without problems. I think Peter Skinner's builds used the first src, that's why using smpnice=1 will cause the engine to stop.
Ómar

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Ómar »

Hi Denis,

The latest exe from master Jim that I have is from 22. Feb. and is not working with the.rc file given by Peter Skinner.
I am not shure if that is the latest because the last download I got from his mirror was corrupted.
So the fun goes on :D
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

Hello Omar,

Try my ICC10 64-bit pgo builds for comparison. This includes the sources and binaries. They're the same speed as Jim's. no harm in trying :wink: .

http://www.zshare.net/download/8052025300c109/
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

In addition Omar, Jim Ablett's last updated compiles all worked fine for me using Arena. I haven't tested mine thoroughly, though I played a couple of games without problems. No guarantees yet! Good luck.
Ómar

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Ómar »

Hi Denis,

There is some misunderstanding, This was allways about the32 bit engine for dual core.
But thanks for the exe I will keep it for my collection :cry:
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

Ómar wrote:Hi Denis,

There is some misunderstanding, This was allways about the32 bit engine for dual core.
But thanks for the exe I will keep it for my collection :cry:
Sorry Omar, I thought this thread was for the x64 compile (as per suject title :o ). For your sake, hear are my 32-builds to compare the differences of the code releases with same procedures done on the 64-bits. They also run smoothly in Arena when I tested them.

http://www.zshare.net/download/8073377abfef49/
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

And another thing Omar. Try to test first using mt=1 using 022108-src build (latest) with the attached rc file ( change mt=2 to mt=1). Set an engine to engine match and observe it at the taskbar. It will now remain idle at 0% cpu on opponents move not like before (~25%). It should work that way using Arena.

Stop again, then edit to mt=2. Do the same routine engine match and observe at taskbar. You'll notice that Crafty will "exit" (or terminate) at taskbar during opponent's move, then runs again when it's time to move. It's a strange behawvior (which I don't like) but this is what smpnice was told to do. It could be the reason why other GUIs have problems running this version with SMPNICE=1. This is also what Jim's build is doing, so I'm sure of it. You may experience intermittent stopping of engine when using this version in SMP-mode, so my advice is just use first build or set the second build with smpnice=0. For an equal match, just play matches with ponder ON :wink: !

Have a nice day!
peter
Posts: 3423
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Crafty 22.0 x64 smp - thanks Bob

Post by peter »

Peter Skinner wrote:Ok for those still having issues, I have made an .rc file for those to download.

The settings are as follows:

mt=2
egtb
hash=384M
hashp=128M
cache=32M
ponder=off
smpnice=1
log=off
exit


Now when you get it, edit the tablebase path. ie: edit egtb to read tbpath=<path to your tbs>. Edit the hash settings as you see fit.

MAKE ABSOLUTELY SURE WHEN SAVING IT AGAIN THAT THERE IS AN EXTRA BLANK LINE AFTER THE "EXIT".

crafty.rc download

If you are not sure what to do and I will create an rc file for you. Just pm me on this board and leave your email address or email me directly off the website.

I will be looking at the Chessbase issues in a few mins. I just got home from working and once I eat I will tackle that problem and will post a working wb2uci file.

Peter
I'd be interested in wb2uci especially cause as for me I'm sure crashes come from mt=2 in wb2uci.eng, not in .rc, but if I don't have it in wb2uci.eng file too besides the name of .exe, I never ever have both cores of dual working, even if mt=2 is in .rc for chessbase and Shredder there's always only one core adressed. Got advice from Werner Schüle, with mt=2 in wb2uci.eng kN/s are almost double and Task Manager shows 100% but after 1 legal move GUI stops
regards
Peter.
Ómar

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Ómar »

Hi Denis,

Sorry, you are right. This thread is about x64 compile. My mistake.

"You'll notice that Crafty will "exit" (or terminate) at taskbar during opponent's move, then runs again when it's time to move. It's a strange behawvior (which I don't like)"

I actualy got this far with one of master Jim´s builds but I did´nt like it
as you and considered it faulty.
Thank you for your great patience. I guess that things are clear for me now and hopefully for some others here as well.

Best regards.
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Denis P. Mendoza »

Ómar wrote:Hi Denis,

Sorry, you are right. This thread is about x64 compile. My mistake.

"You'll notice that Crafty will "exit" (or terminate) at taskbar during opponent's move, then runs again when it's time to move. It's a strange behawvior (which I don't like)"

I actualy got this far with one of master Jim´s builds but I did´nt like it
as you and considered it faulty.
Thank you for your great patience. I guess that things are clear for me now and hopefully for some others here as well.

Best regards.
In the meantime, I could give you some tips to make it run in Shredder GUI based on my experience. Let's start with the WB2UCI.eng:

Here's my sample WB2UCI.eng settings. you can edit some of them:
[ENGINE]
Name=Crafty22.0SMP64bit
Author=Robert Hyatt
Filename=Crafty22_smp64UCI.exe

[OPTIONS]
Program=crafty22_0_SMP_64bit- 022008.exe
InitString=resign 700 3
HashCommand=hash %iM
WhiteScore=true
OwnBook=true
InitTime=5
hash=128
Visible=Ponder,Hash,Extras,Logfile,Computer
log=off
[EXTRAS]
Tournament mode=mode|check|false|normal|tournament
Crafty log=log|check|false|off|on
Learning=learn|spin|7|0|7
NalimovPath=tbpath|string|c:\Tablebases
NalimovCache=cache %iM|spin|16|1|32
Swindle mode=swindle|check|false|off|on
King safety=evaluation kscale|spin|100|0|200
King safety asymmetry=evaluation asymmetry|spin|-40|-100|100
king safety tropism=evaluation bscale|spin|100|0|200
Blocked pawn=evaluation bscale|spin|100|0|200
Pawn structure=evaluation pscale|spin|100|0|200
Passed pawn=evaluation ppscale|spin|100|0|200
In check extension=extensions check 0.%i|spin|99|0|99
One reply extension=extensions onerep 0.%i|spin|75|0|99
Push passed pawn extension=extensions pushpp 0.%i|spin|75|0|99
Recapture extension=extension recapture 0.%i|spin|75|0|99
Mate threat extension=extension mate 0.%i|spin|75|0|99
Pawn hash (MB)=hashp %iM|spin|16|1|64
Time Usage=usage %i|spin|0|-50|50
Use book=book|check|true|off|on
Book Width=book width %i|spin|3|1|10
Book Random=book random|check|true|0|1
Book frequency weight=bookw freq 0.%i|spin|99|0|99
Book win/loss ratio weight=bookw ratio 0.%i|spin|99|0|99
Book static evaluation weight=bookw eval 0.%i|spin|99|0|99
Book learning weight=bookw lrn 0.%i|spin|99|0|99
Noise (Kn)=noise %i000|spin|5000|0|10000
Here's the rc file:
egtb
tbpath=c:\tb
cache=16M
hash=128M
hashp=16M
log=off
mode=tournament
swindle on
mt=2
timebook 80 8
smpnice=0
Here's my simple layman's tip:
1. Enter Crafty in Shredder-GUI as a UCI engine. (You already know the drill to use the WB2UCI adapter). My setting names are just examples.
Use the first released engine - Feb 20, 2008.
2, For dual-core matches, just set mt=2 in your rc file and mt=1 for single cpu games. It soesn't work well when it is an added option in the WB2UCI.eng file.
3. Now you're done.
(This procedure also works in Arena GUI.)
I'll try Fritz GUI later!