Crafty 24.0

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
bob
Posts: 20795
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Crafty 24.0

Post by bob » Mon May 26, 2014 1:19 am

Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source

duncan
Posts: 11052
Joined: Mon Jul 07, 2008 8:50 pm

Re: Crafty 24.0

Post by duncan » Mon May 26, 2014 10:57 am

bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?

bob
Posts: 20795
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Crafty 24.0

Post by bob » Mon May 26, 2014 2:32 pm

duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I gave up on doing executables years ago. Too many different operating system versions, too many different hardware platforms (SSE, no-SSE, etc). I provide source and let you roll your own. There will be executables around pretty soon.

User avatar
Peter Skinner
Posts: 1760
Joined: Sun Feb 26, 2006 12:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner
Contact:

Re: Crafty 24.0

Post by Peter Skinner » Mon May 26, 2014 6:12 pm

duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I've placed x64 builds at: http://www.kikrtech.com

The x86 builds will be coming later today. I'm working on bettering the PGO compiles for that platform.

Peter
I got kicked out of Chapters because I moved all the Bible's to the fiction section.

Ferdy
Posts: 4196
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: Crafty 24.0

Post by Ferdy » Tue May 27, 2014 7:22 am

Peter Skinner wrote:
duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I've placed x64 builds at: http://www.kikrtech.com

The x86 builds will be coming later today. I'm working on bettering the PGO compiles for that platform.

Peter
Has somebody able to download?
Not Found so far.

zullil
Posts: 5935
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Crafty 24.0

Post by zullil » Tue May 27, 2014 4:09 pm

bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.

bob
Posts: 20795
Joined: Mon Feb 27, 2006 6:30 pm
Location: Birmingham, AL

Re: Crafty 24.0

Post by bob » Tue May 27, 2014 6:10 pm

zullil wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.
I will look. At one point there was some distinctly "csh commands" in the runprof stuff...

User avatar
Peter Skinner
Posts: 1760
Joined: Sun Feb 26, 2006 12:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner
Contact:

Re: Crafty 24.0

Post by Peter Skinner » Tue May 27, 2014 6:21 pm

Ferdy wrote: Has somebody able to download?
Not Found so far.
Link on the website works here? Are you sure you don't have a cached version of the page?

Here's a direct link: Crafty 24.0

Peter
I got kicked out of Chapters because I moved all the Bible's to the fiction section.

Ferdy
Posts: 4196
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: Crafty 24.0

Post by Ferdy » Tue May 27, 2014 6:29 pm

Peter Skinner wrote:
Ferdy wrote: Has somebody able to download?
Not Found so far.
Link on the website works here? Are you sure you don't have a cached version of the page?

Here's a direct link: Crafty 24.0

Peter
I don't know about this cached version.
Anyway both works now the web link and the direct link. Thanks.

zullil
Posts: 5935
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Crafty 24.0

Post by zullil » Tue May 27, 2014 6:37 pm

bob wrote:
zullil wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.
I will look. At one point there was some distinctly "csh commands" in the runprof stuff...
Yes, that's where they are.

Anyway, I made a PGO build, which seems to work well. Will need to study the split-depth-related commands and try some tweaking ...

Code: Select all

louis@LZsT5610:~/Documents/Chess/Crafty/crafty-24.0$ ./crafty mt=16
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
(info) command line option "mt=16"
Warning--  xboard 'cores' option disabled
max threads set to 16.

Crafty v24.0 (16 cpus)

White(1): bench
Running benchmark. . .
.......
Total nodes: 315266734
Raw nodes per second: 41427954
Total elapsed time: 7.61
White(1): bench
Running benchmark. . .
.......
Total nodes: 395800144
Raw nodes per second: 44174123
Total elapsed time: 8.96
White(1): bench
Running benchmark. . .
.......
Total nodes: 351013355
Raw nodes per second: 42341779
Total elapsed time: 8.29
White(1): bench
Running benchmark. . .
.......
Total nodes: 524094326
Raw nodes per second: 46175711
Total elapsed time: 11.35
White(1): bench
Running benchmark. . .
.......
Total nodes: 562825242
Raw nodes per second: 45832674
Total elapsed time: 12.28
White(1): quit

Post Reply