Octochess r5178 released

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

Moderators: hgm, Rebel, chrisw

User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Octochess r5178 released

Post by Codesquid »

Hi all,

a new version of Octochess has been released.

The main new feature in this version is full support for Fischer Random Chess, aka Chess 960. In addition, a few strength-eating search bugs have been fixed.

As always, you can download the latest version from http://octochess.org/

Please let me know if you are having any issues with the new version.

The complete list of changes:
  • Full support for Fischer Random Chess, aka Chess960
  • KBPvPK endgame is handled better
  • Fixed too early move counter increment in search
  • Fix repetition draw detection after a null-move
  • Small improvements to the threading if searching with multiple cores
nanos gigantium humeris insidentes
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Octochess r5178 released

Post by Martin Thoresen »

Hi Tim,

I am confused, should I use this for TCEC instead?
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Re: Octochess r5178 released

Post by Codesquid »

Martin Thoresen wrote:Hi Tim,

I am confused, should I use this for TCEC instead?
That's not necessary. There are no functional differences between the version you have and r5178. The changes between are merely to make it easier to build the Kindle version of Octochess.
nanos gigantium humeris insidentes
jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Re: Octochess r5178 released

Post by jpqy »

Octochess 5172 (latest dev version)

Martin..maybe you can use better a dated dev version..because you never
have the latest dev version!..i also test with later dated versions from some engine in your list!
And i'am sure there are again newer dev versions! :wink:

Kind regards,
JP.
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Octochess r5178 released

Post by Martin Thoresen »

jpqy wrote:Octochess 5172 (latest dev version)

Martin..maybe you can use better a dated dev version..because you never
have the latest dev version!..i also test with later dated versions from some engine in your list!
And i'am sure there are again newer dev versions! :wink:

Kind regards,
JP.
Not much I can do when programmers release new public versions before the tournament starts. :)
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Re: Octochess r5178 released

Post by Codesquid »

If Amazon wouldn't sneak updates onto my Kindle and thus breaking the jailbreak without my consent, I could have had the public release out a few days earlier :(
nanos gigantium humeris insidentes
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Octochess r5178 released

Post by Martin Thoresen »

Codesquid wrote:If Amazon wouldn't sneak updates onto my Kindle and thus breaking the jailbreak without my consent, I could have had the public release out a few days earlier :(
No worries Tim. You are of course free to do what you want. :)
User avatar
Graham Banks
Posts: 41415
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Octochess r5178 released

Post by Graham Banks »

Codesquid wrote:Hi all,

a new version of Octochess has been released.

The main new feature in this version is full support for Fischer Random Chess, aka Chess 960. In addition, a few strength-eating search bugs have been fixed.

As always, you can download the latest version from http://octochess.org/
Thanks Tim. :)
gbanksnz at gmail.com
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Octochess r5178 released

Post by JuLieN »

Thanks Tim. :) Congrats and good luck for nTCEC!

But as there was no OSX binary, I tried to compile mine, and got those error messages :

Code: Select all

MBP:chess julienmarcel$ make
g++ -O3 -g -pipe -march=corei7 -Wall -Wextra -flto -static -m64 -std=gnu++0x -c -o util/logger.o util/logger.cpp
g++ -O3 -g -pipe -march=corei7 -Wall -Wextra -flto -static -m64 -std=gnu++0x -c -o util/mutex_unix.o util/mutex_unix.cpp
g++ -O3 -g -pipe -march=corei7 -Wall -Wextra -flto -static -m64 -std=gnu++0x -c -o util/platform.o util/platform.cpp
In file included from util/platform.cpp:6:0:
util/unix.cpp: In function 'int get_system_memory()':
util/unix.cpp:39:27: error: '_SC_PHYS_PAGES' was not declared in this scope
  uint64_t pages = sysconf(_SC_PHYS_PAGES);
                           ^
util/unix.cpp: In function 'void* page_aligned_malloc(uint64_t)':
util/unix.cpp:53:62: error: 'MAP_ANONYMOUS' was not declared in this scope
  void* p = mmap( 0, alloc, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 );
                                                              ^
make: *** [util/platform.o] Error 1
Any idea on what went wrong ?
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Re: Octochess r5178 released

Post by Codesquid »

OS X is weird :(

For the first error, #include <sys/sysctl.h> and replace the entire function body with this:

Code: Select all

int get_system_memory&#40;)
&#123;
	uint64_t v;size_t l=8;sysctlbyname&#40;"hw.memsize",&v,&l,0,0&#41;;return v / 1024 / 1024;
&#125;
For the second error, replace MAP_ANONYMOUS with MAP_ANON.

I don't have access to a decent compiler on OS X, so haven't tested it myself.

After finishing compiling Octochess, make sure to run octochess test to run the selftest routines. It has to pass, otherwise the build is bad. If you then execute octochess --threads 1 --depth 18 --memory 1 --moves 1 auto, 51954300 needs to be the total number of nodes printed at the very end.
nanos gigantium humeris insidentes