DiscoCheck 5.0
DiscoCheck 5.0
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!
* 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 462 times
"Talk is cheap. Show me the code." -- Linus Torvalds.
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: DiscoCheck 5.0
Can you please post a link to the actual project page on github? This clone URL doesn't work for me.lucasart wrote:github.com/lucas/chess.git
jb
- 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
Removing the '.git' extension should lead to the project site.Jeremy Bernstein wrote:Can you please post a link to the actual project page on github? This clone URL doesn't work for me.lucasart wrote:github.com/lucas/chess.git
jb
PAWN : Knight >> Bishop >> Rook >>Queen
Re: DiscoCheck 5.0
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:kingliveson wrote:Removing the '.git' extension should lead to the project site.Jeremy Bernstein wrote:Can you please post a link to the actual project page on github? This clone URL doesn't work for me.lucasart wrote:github.com/lucas/chess.git
jb
Code: Select all
git clone https://github.com/lucasart/chess.git
"Talk is cheap. Show me the code." -- Linus Torvalds.
Re: DiscoCheck 5.0
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.
* 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 533 times
"Talk is cheap. Show me the code." -- Linus Torvalds.
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: DiscoCheck 5.0
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 wrote: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:kingliveson wrote:Removing the '.git' extension should lead to the project site.Jeremy Bernstein wrote:Can you please post a link to the actual project page on github? This clone URL doesn't work for me.lucasart wrote:github.com/lucas/chess.git
jbCode: Select all
git clone https://github.com/lucasart/chess.git
Re: DiscoCheck 5.0
Sorry, I mistyped it in my initial post. Anyway, my github repo is on my profile weblink.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).
If you have any ideas to improve DiscoCheck, pull requests are welcome
"Talk is cheap. Show me the code." -- Linus Torvalds.
-
- Posts: 616
- Joined: Thu May 19, 2011 1:35 am
Re: DiscoCheck 5.0
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) {}
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
Can you post the exact compiliation command you used ?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) {}
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
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.
-
- Posts: 616
- Joined: Thu May 19, 2011 1:35 am
Re: DiscoCheck 5.0
I used your script to build it, of course.
Attached are the results before I renamed the header file and after.
Attached are the results before I renamed the header file and after.
- Attachments
-
- after.txt
- after renaming the header file
- (21.07 KiB) Downloaded 336 times
-
- before.txt
- Before renaming the header file
- (348.25 KiB) Downloaded 337 times