Page 1 of 1

What are the news for Crafty ?

Posted: Mon Sep 18, 2017 1:14 am
by Canoike
Hello,
I have a few questions about Crafty.
Who is programming it ? Bob Hyatt or others people ?
Where can I get the latest source code in order to compile it for LInux ?
And last one, where can I get a good documentation, especially for its parameters ?
Thank you.

Re: What are the news for Crafty ?

Posted: Mon Sep 18, 2017 1:22 am
by MikeB
Canoike wrote:Hello,
I have a few questions about Crafty.
Who is programming it ? Bob Hyatt or others people ?
Where can I get the latest source code in order to compile it for LInux ?
And last one, where can I get a good documentation, especially for its parameters ?
Thank you.
Last official version of Craffy 25.2 source can be found here. A later version added play by ELO , but did not change playing strength.

https://github.com/MichaelB7/Crafty/tre ... fa1c13875f

most of the parameters are documented in option.c or where the code is. If you have specific questions, you can post them here. Bob has retired from UAB and is enjoying life without crafty. I have heard reports that his fishing boat can go pretty fast ;>)

Re: What are the news for Crafty ?

Posted: Wed Sep 20, 2017 6:49 am
by Volker Pittlik
MikeB wrote:...
Last official version of Craffy 25.2 source can be found here. A later version added play by ELO , but did not change playing strength. ...
I notice a huge difference in execution speed if I enable this feature. Here is the output with

Code: Select all

# elo 2600
in the .craftyrc:

Code: Select all

book learning disabled
parallel threads disabled.

Crafty v25.3

machine has 4 processors

White(1): go
        time surplus   0.00  time limit 30.00 (2:30)
        depth     time       score   variation (1)
         16     1.01/49.50    0.19   1. e4 e5 2. Nc3 Nf6 3. Nf3 Nc6 4. Bb5 Bd6
                                     5. O-O O-O 6. d3 a6 7. Bc4 b5 8. Bd5 Nxd5
                                     9. Nxd5
         16->   1.01/49.50    0.19   1. e4 e5 2. Nc3 Nf6 3. Nf3 Nc6 4. Bb5 Bd6
                                     5. O-O O-O 6. d3 a6 7. Bc4 b5 8. Bd5 Nxd5
                                     9. Nxd5


                 <snip>



         24    17.65/23.10    0.19   1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. d3 Nf6
                                     5. Nc3 O-O 6. Bg5 d6 7. O-O Na5 8. Bxf6
                                     gxf6 9. Nd2 Nxc4 10. Nxc4 Be6 11. Ne3 b6
                                     12. Qh5 Qe7
         24->  19.22/20.70    0.19   1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. d3 Nf6
                                     5. Nc3 O-O 6. Bg5 d6 7. O-O Na5 8. Bxf6
                                     gxf6 9. Nd2 Nxc4 10. Nxc4 Be6 11. Ne3 b6
                                     12. Qh5 Qe7
        time=20.83&#40;100%)  nodes=87226178&#40;87.2M&#41;  fh1=92%  pred=0  nps=4.2M
        chk=766.3K  qchk=1.3M  fp=28.2M  mcp=18.5M  50move=1
        LMReductions&#58;  1/3.0M  2/2.3M  3/1.7M  4/588.8K  5/43.7K  6/268
        null-move &#40;R&#41;&#58;  3/3.9M  4/313.3K  5/11.2K  6/286
White&#40;1&#41;&#58; e4
              time used&#58;  20.83

       +---+---+---+---+---+---+---+---+
    8  |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
       +---+---+---+---+---+---+---+---+
    7  |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
       +---+---+---+---+---+---+---+---+
    6  |   | . |   | . |   | . |   | . |
       +---+---+---+---+---+---+---+---+
    5  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    4  |   | . |   | . |-P-| . |   | . |
       +---+---+---+---+---+---+---+---+
    3  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    2  |-P-|-P-|-P-|-P-|   |-P-|-P-|-P-|
       +---+---+---+---+---+---+---+---+
    1  |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
       +---+---+---+---+---+---+---+---+
         a   b   c   d   e   f   g   h

Black&#40;1&#41;&#58; q
And this with the elo feature enabled:

Code: Select all

Crafty v25.3

machine has 4 processors

White&#40;1&#41;&#58; go
        time surplus   0.00  time limit 30.00 &#40;2&#58;30&#41;
        depth     time       score   variation &#40;1&#41;
          1    17.00/30.00    0.53   1. Nf3                        
          1->  17.00/27.00    0.53   1. Nf3                        
          2    17.00/30.00      --   1. Nf3? (<+0.37&#41;                   
          2    17.00/30.00      --   1. Nf3? (<+0.21&#41;                   
          2    17.00/30.00    0.05   1. Nf3 Nc6                    


          <snip>



         15    17.58/48.60    0.18   1. e4 Nc6 2. d4 d5 3. e5 f6 4. Nc3 Bf5
                                     5. Nf3 Nb4 6. Bd3 Nxd3+ 7. cxd3 fxe5
                                     8. O-O exd4 9. Nxd4
         15->  17.62/43.50    0.18   1. e4 Nc6 2. d4 d5 3. e5 f6 4. Nc3 Bf5
                                     5. Nf3 Nb4 6. Bd3 Nxd3+ 7. cxd3 fxe5
                                     8. O-O exd4 9. Nxd4
        time=17.62&#40;100%)  nodes=2278148&#40;2.3M&#41;  fh1=92%  pred=0  nps=129.3K
        chk=16.5K  qchk=28.9K  fp=561.3K  mcp=598.2K  50move=1
        LMReductions&#58;  1/105.9K  2/84.6K  3/48.5K  4/8.3K  5/112
        null-move &#40;R&#41;&#58;  3/125.3K  4/6.2K  5/36
White&#40;1&#41;&#58; e4
              time used&#58;  17.62

       +---+---+---+---+---+---+---+---+
    8  |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
       +---+---+---+---+---+---+---+---+
    7  |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
       +---+---+---+---+---+---+---+---+
    6  |   | . |   | . |   | . |   | . |
       +---+---+---+---+---+---+---+---+
    5  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    4  |   | . |   | . |-P-| . |   | . |
       +---+---+---+---+---+---+---+---+
    3  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    2  |-P-|-P-|-P-|-P-|   |-P-|-P-|-P-|
       +---+---+---+---+---+---+---+---+
    1  |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
       +---+---+---+---+---+---+---+---+
         a   b   c   d   e   f   g   h

Black&#40;1&#41;&#58; q
The bench command runs almost forever if the elo feature is enabled. Do you know if this behaviour is intended or expected?

Regards


Volker


P.S.: Test environment was a fedora linux on an aging Mac Book Air