Octochess r5178 released

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 8:25 pm
Location: Germany
Contact:

Octochess r5178 released

Post by Codesquid » Sun Aug 25, 2013 2:48 pm

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: Wed Jun 21, 2006 10:07 pm

Re: Octochess r5178 released

Post by Martin Thoresen » Sun Aug 25, 2013 2:53 pm

Hi Tim,

I am confused, should I use this for TCEC instead?

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

Re: Octochess r5178 released

Post by Codesquid » Sun Aug 25, 2013 3:03 pm

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: 522
Joined: Thu Apr 24, 2008 7:31 am
Location: Belgium

Re: Octochess r5178 released

Post by jpqy » Sun Aug 25, 2013 3:07 pm

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: Wed Jun 21, 2006 10:07 pm

Re: Octochess r5178 released

Post by Martin Thoresen » Sun Aug 25, 2013 3:13 pm

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 8:25 pm
Location: Germany
Contact:

Re: Octochess r5178 released

Post by Codesquid » Sun Aug 25, 2013 3:15 pm

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: Wed Jun 21, 2006 10:07 pm

Re: Octochess r5178 released

Post by Martin Thoresen » Sun Aug 25, 2013 3:18 pm

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: 33138
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Octochess r5178 released

Post by Graham Banks » Sun Aug 25, 2013 7:18 pm

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. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
JuLieN
Posts: 2948
Joined: Mon May 05, 2008 10:16 am
Location: Nantes (France)
Contact:

Re: Octochess r5178 released

Post by JuLieN » Sun Aug 25, 2013 8:43 pm

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)
Image [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 8:25 pm
Location: Germany
Contact:

Re: Octochess r5178 released

Post by Codesquid » Sun Aug 25, 2013 9:25 pm

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

Post Reply