Page 1 of 2

DiscoCheck 5.0

Posted: Fri Oct 25, 2013 4:40 pm
by lucasart
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!

Re: DiscoCheck 5.0

Posted: Fri Oct 25, 2013 5:26 pm
by Jeremy Bernstein
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

Re: DiscoCheck 5.0

Posted: Fri Oct 25, 2013 10:16 pm
by kingliveson
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.

Re: DiscoCheck 5.0

Posted: Sat Oct 26, 2013 4:29 am
by lucasart
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

Re: DiscoCheck 5.0

Posted: Sat Oct 26, 2013 4:39 am
by lucasart
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.

Re: DiscoCheck 5.0

Posted: Sat Oct 26, 2013 8:40 am
by Jeremy Bernstein
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). :-)

Re: DiscoCheck 5.0

Posted: Sat Oct 26, 2013 2:31 pm
by lucasart
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

Re: DiscoCheck 5.0

Posted: Sat Oct 26, 2013 9:41 pm
by User923005
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) {}

Re: DiscoCheck 5.0

Posted: Sun Oct 27, 2013 3:15 am
by lucasart
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.

Re: DiscoCheck 5.0

Posted: Sun Oct 27, 2013 9:46 am
by User923005
I used your script to build it, of course.
Attached are the results before I renamed the header file and after.