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 »

Hello Omar. Just tried single and dual-core game settings in Fritz10 GUI, and everything went well. These are just two games so I can't gurantee on long term.

Just use the first build to make it work with smpnice=0. This GUI really doesn't like the smpnice=1 setting. It's beyong our control. At least we can play with Crafty in this interface...that's important :wink: Thanks for the time.

Denis
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Crafty 22.0 x64 smp - thanks Bob

Post by AdminX »

Denis P. Mendoza wrote:
Ó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!
Thanks Denis,

This works well for me, using the Shredder GUI. I will try Fritz 11 next...

Thanks Again!
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
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 »

[/quote]
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![/quote]

But if you don't have mt=2 in options of web2uci.eng neither Shredder nor chessbase GUI will use both cores of dual
regards
Peter.
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Crafty 22.0 x64 smp - thanks Bob

Post by AdminX »

peter wrote:
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![/quote]

But if you don't have mt=2 in options of web2uci.eng neither Shredder nor chessbase GUI will use both cores of dual
regards
Peter.[/quote]

Both cores are working on my system in the Shredder GUI.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
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 »

I don't understand what you mean. But anyway, get this pure 64-bit adapter and 64 bit-engine setup as a sample. It will clear things up!

http://www.zshare.net/download/8083900ab676bf/

By default, it will run Crafty as a 2-core engine. Create a UCI engine and choose "Crafty22_smp64UCI.exe" as your UCI engine (this is the 367kb 64-bit adapter). You can use the public 32-bit adapter and just rename it the way it was quoted (but I didn't tried yet the 32-bit adapter though). Do it in Shredder and Fritz GUI and it will run as set.
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 »

Tedd Summers
Both cores are working on my system in the Shredder GUI.
Thanks for the positive report Ted. BTW, the wb2uci.eng settings came from you :) from Crafty 21.6 thread. I was just curious about this Crafty 22.0 issue that's why I got hooked into it. Bob already done his part, so it's our turn to find ways to make it work for us as well.
Spock

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Spock »

Denis P. Mendoza wrote: Thanks for the positive report Ted. BTW, the wb2uci.eng settings came from you :) from Crafty 21.6 thread. I was just curious about this Crafty 22.0 issue that's why I got hooked into it. Bob already done his part, so it's our turn to find ways to make it work for us as well.
Correct, Bob says it works fine in it's intended Winboard/XBoard environment. If we wish to use under Arena or chessbase, that's for us to resolve
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 »

Denis P. Mendoza wrote:I don't understand what you mean. But anyway, get this pure 64-bit adapter and 64 bit-engine setup as a sample. It will clear things up!

http://www.zshare.net/download/8083900ab676bf/

By default, it will run Crafty as a 2-core engine. Create a UCI engine and choose "Crafty22_smp64UCI.exe" as your UCI engine (this is the 367kb 64-bit adapter). You can use the public 32-bit adapter and just rename it the way it was quoted (but I didn't tried yet the 32-bit adapter though). Do it in Shredder and Fritz GUI and it will run as set.
Wow, that's comfortable and working fine, except that pondering can't be turned off by GUI and it still hangs up at automatic backward analysis in Shredder GUI.
Automatic engine-engine match runs without problems, thank you very much
regards
Peter.
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 »

Automatic engine-engine match runs without problems
That's a sign of relief Doc! I was waiting for that "prescription" :lol: ! Have an "smp" nice day :wink: .
Atilla
Posts: 9
Joined: Thu Mar 09, 2006 2:27 am
Location: Wheaton, Illinois

Re: Crafty 22.0 x64 smp - thanks Bob

Post by Atilla »

I tried running a match against Bright 0.3a 2CPU under Arena 1.1 and Arena 1.99beta5. Everything is okay until Crafty starts using egtbs. Then Bright uses only 50% CPU power and slows down to a crawl. One game Bright even forfeited on time which has never happened before.

RC file:

mt=2
egtb
tbpath=J:\tbs
ponder=off
hash=384M
hashp=128M
cache=32M
log=off
exit