DiscoCheck 5.0

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
lucasart
Posts: 201
Joined: Mon Dec 17, 2012 1:09 pm
Contact:

DiscoCheck 5.0

Post by lucasart » Fri Oct 25, 2013 4:40 pm

Here is a new version of my engine:
* the '.exe' files are windows compiles
* the files without extension are Linux compiles
* all 64-bit, both SSE 4.2 and SSE 2. as always, try SSE 4.2, and if it fails, use SSE 2 (compatible with older CPU).

No Android or MacOSX compiles, sorry. But it should be pretty straight forward to compile from source code for these plateforms:
github.com/lucas/chess.git

Self testing in 10"+0.1" indicates +42 elo. But, as usual, it could be less against foreign opponents at long time controls.

This version includes experimental support for pondering. But the GUI I use does not have pondering, so pondering is largely untested.

enjoy!
Attachments
discocheck_5.0.tar.gz
(591.69 KiB) Downloaded 461 times
"Talk is cheap. Show me the code." -- Linus Torvalds.

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: DiscoCheck 5.0

Post by Jeremy Bernstein » Fri Oct 25, 2013 5:26 pm

lucasart wrote:github.com/lucas/chess.git
Can you please post a link to the actual project page on github? This clone URL doesn't work for me.

jb

User avatar
kingliveson
Posts: 1388
Joined: Thu Jun 10, 2010 1:22 am
Real Name: Franklin Titus
Location: 28°32'1"N 81°22'33"W

Re: DiscoCheck 5.0

Post by kingliveson » Fri Oct 25, 2013 10:16 pm

Jeremy Bernstein wrote:
lucasart wrote:github.com/lucas/chess.git
Can you please post a link to the actual project page on github? This clone URL doesn't work for me.

jb
Removing the '.git' extension should lead to the project site.
PAWN : Knight >> Bishop >> Rook >>Queen

lucasart
Posts: 201
Joined: Mon Dec 17, 2012 1:09 pm
Contact:

Re: DiscoCheck 5.0

Post by lucasart » Sat Oct 26, 2013 4:29 am

kingliveson wrote:
Jeremy Bernstein wrote:
lucasart wrote:github.com/lucas/chess.git
Can you please post a link to the actual project page on github? This clone URL doesn't work for me.

jb
Removing the '.git' extension should lead to the project site.
Perhaps it's the https that he is missing. In a browser you don't need it, but with git clone, you need to be precise:

Code: Select all

git clone https://github.com/lucasart/chess.git
"Talk is cheap. Show me the code." -- Linus Torvalds.

lucasart
Posts: 201
Joined: Mon Dec 17, 2012 1:09 pm
Contact:

Re: DiscoCheck 5.0

Post by lucasart » Sat Oct 26, 2013 4:39 am

Here's a bugfix release 5.0.1:
* fix a critical pondering bug: DC 5.0 would often crash in pondering mode.
* fix a stupid display bug: version number was still displayed as 4.3.
* fix another stupid display bug: negative mate scores (ie. DC getting mated) were not showing up correctly.

No functional change (same node count, scores, moves, PVs, etc.) so if you are not affected by the above bugs, you don't care.
Attachments
discocheck_5.0.1.tar.gz
(591.51 KiB) Downloaded 532 times
"Talk is cheap. Show me the code." -- Linus Torvalds.

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: DiscoCheck 5.0

Post by Jeremy Bernstein » Sat Oct 26, 2013 8:40 am

lucasart wrote:
kingliveson wrote:
Jeremy Bernstein wrote:
lucasart wrote:github.com/lucas/chess.git
Can you please post a link to the actual project page on github? This clone URL doesn't work for me.

jb
Removing the '.git' extension should lead to the project site.
Perhaps it's the https that he is missing. In a browser you don't need it, but with git clone, you need to be precise:

Code: Select all

git clone https://github.com/lucasart/chess.git
I tried all of that stuff, of course. The page wasn't loading at github and my github credentials weren't accepted in order to clone the repos. Probably because your original link was wrong (lucas rather than lucasart). :-)

lucasart
Posts: 201
Joined: Mon Dec 17, 2012 1:09 pm
Contact:

Re: DiscoCheck 5.0

Post by lucasart » Sat Oct 26, 2013 2:31 pm

Jeremy Bernstein wrote:The page wasn't loading at github and my github credentials weren't accepted in order to clone the repos. Probably because your original link was wrong (lucas rather than lucasart). :-)
Sorry, I mistyped it in my initial post. Anyway, my github repo is on my profile weblink.

If you have any ideas to improve DiscoCheck, pull requests are welcome :D
"Talk is cheap. Show me the code." -- Linus Torvalds.

User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: DiscoCheck 5.0

Post by User923005 » Sat Oct 26, 2013 9:41 pm

Using g++ 4.8.1, under the bash shell, I cannot build your program.
One quirk of g++ was that it did not recognize:
#include <cstdint>
but when I changed it to:
#include <stdint.h>
it did.

Still, dozens of errors on compile.

Funny, because I have no problems compiling other programs with c++ 11 features.
I think that maybe you are using some g++ 11 features that are not quite so portable.

One thing that seems to be causing problems is nullptr. E.g.:
In file included from ./src/search.h:17:0,
from ./src/uci.cc:17:
./src/tt.h:45:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
TTable(): count(0), cluster(nullptr) {}

lucasart
Posts: 201
Joined: Mon Dec 17, 2012 1:09 pm
Contact:

Re: DiscoCheck 5.0

Post by lucasart » Sun Oct 27, 2013 3:15 am

User923005 wrote:Using g++ 4.8.1, under the bash shell, I cannot build your program.
One quirk of g++ was that it did not recognize:
#include <cstdint>
but when I changed it to:
#include <stdint.h>
it did.

Still, dozens of errors on compile.

Funny, because I have no problems compiling other programs with c++ 11 features.
I think that maybe you are using some g++ 11 features that are not quite so portable.

One thing that seems to be causing problems is nullptr. E.g.:
In file included from ./src/search.h:17:0,
from ./src/uci.cc:17:
./src/tt.h:45:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
TTable(): count(0), cluster(nullptr) {}
Can you post the exact compiliation command you used ?
There is a file make.sh, which shows you how to compile:

Code: Select all

g++ ./src/*.cc -o $1 -std=gnu++11 -Wall -Wshadow -DNDEBUG -O3 -msse4.2 -fno-rtti -flto -s
nullptr and cstdint are C++11 material. So, I don't know what you're doing, but it looks like you didn't follow the procedure described in make.sh

I am using GNU extensions, because I need VLA (variable length arrays). VLA are part of ICO C99, but not ISO C++11, unfortunately.
"Talk is cheap. Show me the code." -- Linus Torvalds.

User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: DiscoCheck 5.0

Post by User923005 » Sun Oct 27, 2013 9:46 am

I used your script to build it, of course.
Attached are the results before I renamed the header file and after.
Attachments
after.txt
after renaming the header file
(21.07 KiB) Downloaded 335 times
before.txt
Before renaming the header file
(348.25 KiB) Downloaded 336 times

Post Reply