Greko 12.9

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

Moderators: hgm, Rebel, chrisw

User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Greko 12.9

Post by Werner »

Whow,
very fast!!

Thanks Daniel
Werner
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Greko 12.9

Post by Werner »

Small problem Daniel:

I analyze this position and die engine crashes at depth 18 (only 64bit version):
FEN: 4k3/4p3/8/8/3p4/8/4N3/4KB2 w - - 0 2

GreKo 13.0:
1 00:00 12 196 +7,49 Se2xd4
2 00:00 48 786 +7,47 Se2xd4 e7-e5 Lf1-b5+ Ke8-e7
3 00:00 175 3k +7,47 Se2xd4 e7-e5 Lf1-b5+ Ke8-e7
4 00:00 685 11k +7,40 Se2xd4 e7-e5 Lf1-b5+ Ke8-e7 Sd4-f3
5 00:00 2k 33k +7,54 Se2xd4 e7-e5 Sd4-f5 Ke8-d7 Lf1-c4
6 00:00 5k 78k +7,45 Se2xd4 e7-e5 Sd4-f5 Ke8-d7 Lf1-c4 e5-e4
7 00:00 12k 193k +7,58 Se2xd4 e7-e5 Sd4-f5 Ke8-f7 Lf1-d3 Kf7-e6 Ke1-d2
8 00:00 31k 404k +7,71 Se2xd4 e7-e5 Sd4-f5 Ke8-d7 Lf1-c4 Kd7-c6 Ke1-d2 e5-e4
9 00:00 91k 2.949k +7,84 Se2xd4 Ke8-f7 Ke1-f2 Kf7-f6 Kf2-e3 e7-e5 Sd4-c6 Kf6-e6 Lf1-c4+ Ke6-d6
10 00:00 300k 3.229k +7,84 Se2xd4 Ke8-d7 Ke1-d2 e7-e5 Sd4-b5 Kd7-c6 Kd2-e3 Kc6-d5 Sb5-c3+ Kd5-d6 Lf1-c4
11 00:00 485k 3.110k +8,03 Se2xd4 Ke8-d7 Ke1-d2 e7-e5 Sd4-f5 Kd7-e6 Lf1-d3 Ke6-f6 Kd2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Ke8-f7 Se2xd4 Kf7-f6 Kd2-e3 Kf6-e5 Lf1-c4 Ke5-d6 Sd4-f5+ Kd6-d7 Ke3-e4 Kd7-d8 Ke4-e5 Kd8-e8 Ke5-e6 Ke8-d8 Sf5xe7 Kd8-e8 Lc4-d5
Werner
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Greko 12.9

Post by cdani »

Werner wrote:Small problem Daniel:

I analyze this position and die engine crashes at depth 18 (only 64bit version):
I tried to understand the problem, but seems that will require to first understand some core functionality of the code, so it will require time. I'm sorry I can't spend time on this at least for now. Is not compilation related, because what I have to do to compile to 64 bits is simple and does not modify the code.

Maybe someone can spend some time on this.
I'm sorry.
User avatar
Dariusz
Posts: 364
Joined: Sat Jun 13, 2015 10:08 am
Location: Poland
Full name: Dariusz Domagała

Re: Greko 12.9

Post by Dariusz »

Thank you Michael for mac version.
Regards, Darius
https://chessengeria.eu
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Greko 12.9

Post by Werner »

Hi Vladimir,
why does 64bit crash and 32bit not?
Werner
User avatar
WinPooh
Posts: 267
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Greko 12.9

Post by WinPooh »

Werner wrote:Hi Vladimir,
why does 64bit crash and 32bit not?
Sorry, I develop and test on 32-bit only, can't even reproduce this bug at the moment.
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Greko 12.9

Post by mar »

not sure if it's related but I think there's a bug (typo) in eval.cpp at lines 570 and 596 (got asserts),
I think it should be

Code: Select all

	if (pos.MatIndex(WHITE) == 3 && pos.Count(BW) == 1)
and

Code: Select all

	if (pos.MatIndex(BLACK) == 3 && pos.Count(BB) == 1)
I tried to make a 64-bit build and it finished depth 19 without problems (in Werner's position)
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Greko 12.9

Post by cdani »

mar wrote:not sure if it's related but I think there's a bug (typo) in eval.cpp at lines 570 and 596 (got asserts),
I think it should be

Code: Select all

	if (pos.MatIndex(WHITE) == 3 && pos.Count(BW) == 1)
and

Code: Select all

	if (pos.MatIndex(BLACK) == 3 && pos.Count(BB) == 1)
I tried to make a 64-bit build and it finished depth 19 without problems (in Werner's position)
I just tried this change and it crashes for me:

Code: Select all

position fen 4k3/4p3/8/8/3p4/8/4N3/4KB2 w - - 0 2
go depth 30
info multipv 1 depth 1 score cp 749 time 0 nodes 12 pv e2d4

info multipv 1 depth 2 score cp 747 time 0 nodes 48 nps 3000 pv e2d4 e7e5 f1b5 e
8e7
info time 16 nodes 48 nps 3000
info multipv 1 depth 3 score cp 747 time 16 nodes 175 nps 10937 pv e2d4 e7e5 f1b
5 e8e7
info time 16 nodes 175 nps 10937
info multipv 1 depth 4 score cp 740 time 16 nodes 685 nps 42812 pv e2d4 e7e5 f1b
5 e8e7 d4f3
info time 16 nodes 685 nps 42812
Assertion failed: bb != 0, file f:\escacs\arena\engines\greko-13.0\src\bitboards
.h, line 136
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Greko 12.9

Post by Werner »

mar wrote:I tried to make a 64-bit build and it finished depth 19 without problems (in Werner's position)
Hi Martin,
can you please provide this build for download or send me a version?
Maybe it is something compiler relevant?

thanks
Werner
mar
Posts: 2554
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Greko 12.9

Post by mar »

cdani wrote:I just tried this change and it crashes for me:
Ah yes, it seems there is more.
I think the conditions one line below should read

Code: Select all

		if (pos.MatIndex(WHITE) == 0 && pos.Count(PW) == 1)
and

Code: Select all

		if (pos.MatIndex(WHITE) == 0 && pos.Count(PW) == 1)
But I'm not quite sure on this one, best would be to wait for Vladimir to respond.
Last edited by mar on Sun Oct 04, 2015 2:35 pm, edited 1 time in total.