Sorry yes, I mean you suggested itelcabesa wrote:I'm not a GPL expert, so I really don't know all the implication of licenses of pieces of code that we can find in internet.cdani wrote: About the license, Elcabesa just told me that the WinGroupAffinity part of the code taken from Stockfish is incompatible with public domain license.
Andscacs - New version 0.921 with source
Moderators: hgm, Rebel, chrisw
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: Andscacs - New version 0.921 with source
Daniel José - http://www.andscacs.com
-
- Posts: 268
- Joined: Sun Apr 24, 2011 12:33 am
Re: Andscacs - New version 0.921 with source
Since is a strong program I think you should choose a license: https://choosealicense.com/cdani wrote:About the license, Elcabesa just told me that the WinGroupAffinity part of the code taken from Stockfish is incompatible with public domain license. Maybe the best is to remove it from Andscacs. In fact nobody is using it that I know. What do you think about? Thanks.tttony wrote:Cool!
The source has no license so I guess it's under public domain?
Anyway a code without license has copyright https://blog.codinghorror.com/pick-a-li ... y-license/
Skiull http://skiull.blogspot.com
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: Andscacs - New version 0.921 with source
I used gcc also to compile it for linux.pferd wrote:Thanks for this nice gift.
I tried to make it compile under clang under Linux and ran into a couple of these errors:
After some quick fixing it compiled but hit this error. (https://stackoverflow.com/a/32351440/6763189)Code: Select all
analisis.cpp:491:3: error: cannot jump from this goto statement to its label goto fianalisi; ^ analisis.cpp:505:6: note: jump bypasses variable initialization int mirarfinsprofunditat = MaxProfunditat; ^ analisis.cpp:811:7: warning: unused variable 'alphaori' [-Wunused-variable] int alphaori = alpha; ^ analisis.cpp:1505:5: warning: unused label 'jugadapotserdolenta' [-Wunused-label] jugadapotserdolenta:
The version compiled with gcc works without flaws.Code: Select all
gdb ./andscacs :( GNU gdb (GDB) 8.0.1 ... bestmove f8e7 ponder e4d2 Program received signal SIGSEGV, Segmentation fault. eval_KPK (ss=0x705370 <ssbase>, ie=<optimized out>, color=<optimized out>) at finals.cpp:485 485 if (!win) { (gdb)
I will clean those warnings, thanks.
About the error at finals.cpp, at first sight I don't see what can cause the error, specially taking into account that works well with other compiles. I will think about it. Thanks.
Daniel José - http://www.andscacs.com
-
- Posts: 2283
- Joined: Sat Jun 02, 2012 2:13 am
Re: Andscacs - New version 0.921 with source
Thanks a lot, Daniel. Good luck the rest of the way.
CL
CL
-
- Posts: 4889
- Joined: Thu Mar 09, 2006 6:34 am
- Location: Pen Argyl, Pennsylvania
MacOS exe
Daniel ,cdani wrote:Hello. So here it is the version for the second stage of TCEC. Is really a minor version, with luck +5 elo.
Changes:
* Improved various pawn structure evaluation parameters.
* Move search improvements.
* Improvement of various imbalances.
* Improvements in some endgames.
http://www.andscacs.com/downloads/andscacs0921.zip
As promised the source code:
www.andscacs.com/downloads/andscacs921src.zip
Is a Visual Studio 2013 solution. Also it contains a makefile for Linux.
Michael will try to make a Mac version, thanks to him!
What a great treat you gave to the CC community today. I love your engine a very unique style and very strong.
This run was just for fun and it was very quick tc (24 sec base)
K11.2.2 has really picked up its game with these micro time controls but I believe this may be a slightly lucky run. I checked the pgn and there was no losses on time by engine. Almost 500s point higher than Fruit 2.2.1 in this run.
Code: Select all
300 of 756 games completed...
time control: 24+.40 seconds
Date: 11/04/17 : 19:51:38
300 game(s) loaded
Rank Name Rating Δ + - # Σ Σ% W L D W% =% OppR
---------------------------------------------------------------------------------------------------------
1 Komodo 11.2.2 64-bit 3496 0.0 72 72 151 143.0 94.7 136 1 14 90.1 9.3 2968
2 Andscacs 0.921 3226 270.1 54 54 149 98.0 65.8 85 38 26 57.0 17.4 3059
3 Crafty-25.2 2941 285.7 53 53 150 46.5 31.0 36 93 21 24.0 14.0 3155
4 Fruit 2.2.1 2737 204.2 65 65 150 12.5 8.3 4 129 17 2.7 11.3 3221
---------------------------------------------------------------------------------------------------------
Σ = total score, 1 point for win, 1/2 point for draw
300 game(s) loaded
[Site "Mac-Pro"]
[Date "Sat Nov 4 19:35:37 2017"]
[Round "7"]
[White "Komodo 11.2.2 64-bit"]
[Black "Andscacs 0.921"]
[Result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Bb4+ 79. Rd2 Qg2 80.
Kd1 Qxd2#
{White Checkmated} 0-1[/pgn]
nice solid game...
https://www.dropbox.com/s/wbxwoa3g3idnl ... S.zip?dl=1
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: MacOS exe
Thanks also to you for the tournament and the Mac compile! I added it to the zip file.
Daniel José - http://www.andscacs.com
-
- Posts: 2801
- Joined: Mon Feb 11, 2008 3:53 pm
- Location: Denmark
- Full name: Damir Desevac
Re: Andscacs - New version 0.921 with source
Ouch looks like I will have to go into Andscacs source and make these changes. The es.cpp file you just mentioned is there.cdani wrote:In the es.cpp file.Damir wrote:Where do I have to change the things you just mentioned, so I could get Andscacs parameters ?
The problem is that if I add a few parameters it will not make much sense. And adding a lot of them is just a lot of work I'm sorry.
Too bad I am complete patzer regarding this.
-
- Posts: 50
- Joined: Tue Jul 19, 2016 10:19 am
Re: Andscacs - New version 0.921 with source
Hi Daniel,
Version 0.921 doesn't work with Cutechess GUI in Windows and Linux.
Doesn't start(segfault).
Even when I start it from a teminal it crashes with the UCI command that sends Cutechess GUI ; go wtime 300000 btime 300000 movestogo 40
0.92 did work in Cutechess GUI in Windows and Linux.
Kind regards,
Antonio
Version 0.921 doesn't work with Cutechess GUI in Windows and Linux.
Doesn't start(segfault).
Even when I start it from a teminal it crashes with the UCI command that sends Cutechess GUI ; go wtime 300000 btime 300000 movestogo 40
0.92 did work in Cutechess GUI in Windows and Linux.
Kind regards,
Antonio
-
- Posts: 619
- Joined: Wed Mar 08, 2006 9:10 pm
- Location: Murten / Morat, Switzerland
- Full name: Volker Pittlik
Re: Andscacs - New version 0.921 with source
I can confirm that. However, version 0.921 does work in xboard.thunderstruck wrote:Hi Daniel,
Version 0.921 doesn't work with Cutechess GUI in Windows and Linux.
Doesn't start(segfault).
Even when I start it from a teminal it crashes with the UCI command that sends Cutechess GUI ; go wtime 300000 btime 300000 movestogo 40
0.92 did work in Cutechess GUI in Windows and Linux.
Kind regards,
Antonio
Code: Select all
New game (0): Andscacs 0.92-Andscacs 0.921 (w)
21634 >first : computer
21634 >first : name Andscacs 0.921
21634 >second: computer
21634 >second: name Andscacs 0.92
21635 >first : time 1000
21635 >first : otim 1000
book hit = (NULL)
21635 >first : go
nps: w=-1, b=-1
21965 <first : move d2d4
21965 >second: time 1000
21966 >second: otim 977
book hit = (NULL)
21966 >second: usermove 21966 >second: d2d4
21966 >second: go
22196 <second: move d7d5
22196 >first : time 977
22196 >first : otim 986
book hit = (NULL)
22196 >first : usermove 22196 >first : d7d5
22530 <first : move c1f4
22530 >second: time 986
22530 >second: otim 953
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: Andscacs - New version 0.921 with source
Solved! There was a bug with the movestogo keyword. Thanks for reporting!thunderstruck wrote:Hi Daniel,
Version 0.921 doesn't work with Cutechess GUI in Windows and Linux.
Doesn't start(segfault).
Even when I start it from a teminal it crashes with the UCI command that sends Cutechess GUI ; go wtime 300000 btime 300000 movestogo 40
0.92 did work in Cutechess GUI in Windows and Linux.
Kind regards,
Antonio
If anyone will play a tournament with moves per time, should update the version.
http://www.andscacs.com/downloads/andscacs0921.zip
I also updated the source file.
Daniel José - http://www.andscacs.com