Crafty-22.2 is available

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

Moderator: Ras

bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty-22.2 is available: Problems

Post by bob »

peter wrote:Dear Professor Hyatt!

Thank you for your offer to have a look at it but it's as simple as that: taking back a move when analyzing causes exception by Crafty but only in endgame positions, so the suspicion it depended on handling the tablebases seems rather probable to me. Is the .rc- line
egtb=C:\xxx
correct?
Thanks again and best regards!
Peter.
Tablebases should not affect this, since they are accessed inside the search and have nothing to do with taking back a move. Can you give me a position where it crashes for you? Should be easy to fix.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty-22.2 is available: Problems

Post by bob »

glorfindel wrote:
bob wrote:My advice is to download the intel icc compiler and use that. There is a target "make linux-icc" that should work and will do a profile-guided optimization run that will be significantly faster than gcc. ICC is free for linux from Intel's web site.
Perhaps I will try that, although I would prefer to use gcc.

But I am not sure which one to download. Intel(R) Compiler Suite Professional Edition for Linux or Intel® C++ Compiler Professional Edition for Linux?
I normally get the C++ package, but when working to get the old version of Cray Blitz to work, I downloaded the whole kit and kaboodle to get the intel fortran compiler as well, which compiles the source Carey has perfectly.
peter
Posts: 3410
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Crafty-22.2 is available: Problems

Post by peter »

Well, here's such an example:

8/8/3p1k2/2p1b3/1p4P1/1P3K2/8/7R b - - 0 43

regards
Peter.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty-22.2 is available: Problems

Post by bob »

peter wrote:Well, here's such an example:

8/8/3p1k2/2p1b3/1p4P1/1P3K2/8/7R b - - 0 43

regards
Peter.
OK, this was a simple fix. I just released the source for 22.3. I didn't want to do yet another 22.2 as that introduces too many questions and much confusion. 22.3 has one small pawn scoring value changed (isolated pawns) that cluster tuning has improved. Otherwise all is the same except for the "back n" processing in analyze.c which now works in my test here on your position.
peter
Posts: 3410
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Crafty-22.2 is available: Problems

Post by peter »

Thanks a lot!

Best regards
Peter.
glorfindel

Re: Crafty-22.3: Problems solved

Post by glorfindel »

Thank you for the new version. Seems to work great.

By the way, I did try the intel compiler, but the profile-guided optimisation did not give a big speedup compared to gcc. I would say only about 1-2% and I am not even sure about that. The bench command gives different speeds each time, all in the area of 8.8 - 9.1 million NPS.
User avatar
Graham Banks
Posts: 44634
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Crafty-22.2 is available

Post by Graham Banks »

Peter Skinner wrote: Here is my rc file, and logging _is_ turned off:

mt=2
egtb
hash=192M
hashp=128M
cache=32M
log off
whisper 2
exit

There will still be a game.xxx produced, but no log.xxx file.

Peter
How's this look Peter? I want to use closest to 128mb hash, single-cpu, ponder off, no learning, generic book.

smpnice=0
egtb
tbpath=c:\Tablebases
hash=96M
hashp=64M
cache=32M
ponder off
learn 0
book off
log=off
exit

Seems to work okay.

Cheers, Graham.
gbanksnz at gmail.com
User avatar
Graham Banks
Posts: 44634
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Crafty-22.2 is available

Post by Graham Banks »

Graham Banks wrote: How's this look Peter? I want to use closest to 128mb hash, single-cpu, ponder off, no learning, generic book.

smpnice=0
egtb
tbpath=c:\Tablebases
hash=96M
hashp=64M
cache=32M
ponder off
learn 0
book off
log=off
exit

Seems to work okay.

Cheers, Graham.
Got confirmation via messenger that it's ok. Thanks Peter.
Doesn't matter whether smpnice=0 or 1.
gbanksnz at gmail.com
Dann Corbit
Posts: 12792
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty-22.2 is available

Post by Dann Corbit »

Be aware that it's going to crash on Windows if you use more than one thread.
There is a patched version here, but it only contains a 64 bit binary:
http://cap.connx.com/chess-engines/new- ... ty22-3.zip

However, anyone can recompile the code.
User avatar
Graham Banks
Posts: 44634
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Crafty-22.2 is available

Post by Graham Banks »

Dann Corbit wrote:Be aware that it's going to crash on Windows if you use more than one thread.
There is a patched version here, but it only contains a 64 bit binary:
http://cap.connx.com/chess-engines/new- ... ty22-3.zip

However, anyone can recompile the code.
Hi Dann,

I'm using Crafty 22.3 32-bit and only intend doing single-cpu testing at this stage.

Regards, Graham.
gbanksnz at gmail.com