Demolito 20180301 released

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
lucasart
Posts: 3036
Joined: Mon May 31, 2010 11:29 am
Full name: lucasart
Contact:

Demolito 20180301 released

Post by lucasart » Thu Mar 01, 2018 1:55 pm

Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.

Dokterchen
Posts: 102
Joined: Wed Aug 15, 2007 10:18 am
Location: Munich

Re: Demolito 20180301 released

Post by Dokterchen » Thu Mar 01, 2018 2:17 pm

Nice improvement. Thanks Lucas

User avatar
Guenther
Posts: 2953
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Demolito 20180301 released

Post by Guenther » Thu Mar 01, 2018 5:15 pm

lucasart wrote:Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
I guess a non popcount compile for older 64 bit systems is out of reach (again)?
Current foe list count : [91]
http://rwbc-chess.de/chronology.htm

jd1
Posts: 266
Joined: Wed Oct 24, 2012 12:07 am

Re: Demolito 20180301 released

Post by jd1 » Thu Mar 01, 2018 6:35 pm

Congrats Lucas!

AndrewGrant
Posts: 467
Joined: Tue Apr 19, 2016 4:08 am
Location: U.S.A
Full name: Andrew Grant
Contact:

Re: Demolito 20180301 released

Post by AndrewGrant » Thu Mar 01, 2018 7:31 pm

Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.

Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.

https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I

User avatar
Graham Banks
Posts: 32876
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Demolito 20180301 released

Post by Graham Banks » Thu Mar 01, 2018 8:09 pm

Thanks Lucas. Just in time for my next tournament. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
Guenther
Posts: 2953
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Demolito 20180301 released

Post by Guenther » Thu Mar 01, 2018 8:50 pm

AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.

Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.

https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Thanks a lot Andrew! Very helpful as always.

Edit:
Of course the main thanks goes to Lucas.

Code: Select all

dep     score   nodes   time    (not shown:  tbhits     knps    seldep)
 19     +0.19   10.4M   0:15.20 g1f3 d7d5 d2d4 g8f6 e2e3 e7e6 f1d3 f8d6 e1g1 e8g8 c2c4 b8c6 c4d5 c6b4 d5e6 c8e6 b1c3 b4d3 d1d3
 18     +0.21   5.04M   0:07.36 d2d4 e7e6 e2e4 d7d5 e4d5 e6d5 b1c3 b8c6 g1f3 g8f6 f1b5 f8b4 f3e5 e8g8 b5c6 b7c6 e1g1 d8e8
 17     +0.25   2.29M   0:03.37 d2d4 g8f6 g1f3 d7d5 e2e3 e7e6 b1c3 f8d6 f1d3 e8g8 e1g1 c7c6 c1d2 d8b6 e3e4 d5e4 d3e4 b8d7
 16     +0.20   1.55M   0:02.28 d2d4 g8f6 g1f3 d7d5 e2e3 b8c6 b1c3 c8g4 f1e2 e7e6 c1d2 f8d6 h2h3 g4f3 e2f3 e8g8 e1g1
 15     +0.16   1.09M   0:01.61 d2d4 g8f6 g1f3 d7d5 e2e3 b8c6 b1c3 c8g4 f1b5 e7e6 e1g1 f8d6 b5c6 b7c6 h2h3 g4f3 d1f3
 14     +0.16   756692  0:01.12 d2d4 g8f6 g1f3 b8c6 e2e3 d7d5 b1c3 e7e6 f1d3 c8d7 e1g1 f8d6 c1d2 e8g8 e3e4 f6e4 c3e4 d5e4 d3e4
 13     +0.17   646816  0:00.96 d2d4 g8f6 g1f3 b8c6 e2e3 e7e6 b1c3 d7d5 c1d2 f8d6 f1d3 e8g8 e1g1 c8d7
 12     +0.09   523361  0:00.77 d2d4 g8f6 g1f3 e7e6 e2e3 f8e7 b1c3 e8g8 f1d3 d7d5 e1g1 b8d7
 11     +0.20   133852  0:00.20 d2d4 d7d5 e2e3 e7e6 g1f3 b8c6 b1d2 g8f6 f1d3 f8d6 c2c3 e8g8 e1g1
 10     +0.19   71063   0:00.10 b1c3 g8f6 e2e3 b8c6 d2d4 e7e6 g1f3 d7d5 f3e5 c6e5 d4e5
  9     +0.21   31450   0:00.04 b1c3 d7d5 g1f3 b8c6 e2e3 c8f5 f3h4 g8h6 h4f5 h6f5
  8     +0.19   18570   0:00.02 b1c3 d7d5 g1f3 c8f5 e2e3 b8c6 f3d4 c6d4
  7     +0.28   6962            0:00.01 e2e4 d7d5 b1c3 d5e4 d1h5 g8f6 h5c5
  6     +0.22   4131            0:00.00 e2e4 e7e6 b1c3 f8d6 d2d4 d8h4
  5     +0.34   1621            0:00.00 e2e3 e7e6 b1c3 b8c6 d1h5
  4     +0.07   1196            0:00.00 e2e3 e7e6 b1c3 d8h4
  3     +0.38   433             0:00.00 e2e4 e7e6 d1h5
  2     +0.05   196             0:00.00 e2e3 e7e5
  1     +0.41   21              0:00.00 e2e4
  0     #
Current foe list count : [91]
http://rwbc-chess.de/chronology.htm

User avatar
lucasart
Posts: 3036
Joined: Mon May 31, 2010 11:29 am
Full name: lucasart
Contact:

Re: Demolito 20180301 released

Post by lucasart » Thu Mar 01, 2018 11:18 pm

lucasart wrote:Windows and Linux compiles available here:
http://open-chess.org/viewtopic.php?f=7 ... 676#p23676
Android compile added:
http://open-chess.org/viewtopic.php?f=7 ... 677#p23677
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.

User avatar
lucasart
Posts: 3036
Joined: Mon May 31, 2010 11:29 am
Full name: lucasart
Contact:

Re: Demolito 20180301 released

Post by lucasart » Thu Mar 01, 2018 11:29 pm

AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.

Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.

https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Actually you don't need to change the code. That's the beauty of compiler intrinsics. All you need is to use march=nocona (oldest Intel 64-bit, no popcnt) or march=k8 (oldest AMD 64-bit, no popcnt). So you'd modify the make.sh script to:

Code: Select all

W="-Wfatal-errors -Wall -Wextra -Wshadow"
O="-O3 -flto -march=nocona -DNDEBUG"
C="x86_64-w64-mingw32-gcc -static"  # Linux: clang/gcc, Windows: x86_64-w64-mingw32-gcc -static, Android: arm-linux-gnueabi-gcc -static
$C $VERSION -std=gnu11 $W $O -o $1 ./src/*.c -lpthread -lm -s
wine $1 search 12 1
then run: "./make.sh ./demolito.exe". The last line (bench command) assumes you have wine. You can skip this, of course, if you don't want to verify that the executable is working.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.

EN
Posts: 30
Joined: Sun Nov 30, 2014 1:21 am

Re: Demolito 20180301 released

Post by EN » Thu Mar 01, 2018 11:39 pm

AndrewGrant wrote:Guenther, I have tried to compile a version without the __builtin_popcountll. I have not removed the __builtin_ctzll and __builtin_clzll, which I expect you have support for. Let me know if the compile works.

Also, note that Lucas's program will crash if you do not follow the proper UCI spec, so make sure to issue ucinewgame if you are going to try running from the command line.

https://drive.google.com/open?id=15KRo0 ... Z4Q-eQoW5I
Thanks Andrew! This works for my [old] Intel Core2 Quad, 64-bit PC.


Regards,
EN

Post Reply