Glaurung 2-epsilon

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

Moderators: hgm, Rebel, chrisw

Vempele

Re: Glaurung 2-epsilon

Post by Vempele »

Reproduced the problem in more debuggable conditions:

Perft from 2 onwards returns wrong numbers in [d]r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -

2. 1987 (should be 2039 according to Sharper)

Divided:

a1b1 42 42
a1c1 42 84
a1d1 42 126
a2a3 43 169
a2a4 43 212
b2b3 41 253
c3a4 41 294
c3b1 41 335
c3b5 38 373
c3d1 41 414
d2c1 42 456
d2e3 42 498
d2f4 42 540
d2g5 41 581
d2h6 38 619
d5d6 40 659
d5e6 45 704
e1c1 42 746
e1d1 42 788
e1f1 42 830
e1g1 42 872
e2a6 35 907
e2b5 38 945
e2c4 40 985
e2d1 43 1028
e2d3 41 1069
e2f1 43 1112
e5c4 41 1153
e5c6 40 1193
e5d3 42 1235
e5d7 44 1279
e5f7 42 1321
e5g4 43 1364
e5g6 41 1405
f3d3 41 1446
f3e3 42 1488
f3f4 42 1530
f3f5 44 1574
f3f6 37 1611
f3g3 42 1653
f3g4 42 1695
f3h3 42 1737
f3h5 42 1779
g2g3 41 1820
g2g4 41 1861
g2h3 42 1903
h1f1 42 1945
h1g1 42 1987

divide 1 in the position after e1f1 returns the correct moves (43 instead of the 42 above). I don't suppose there's a command to get a perft tree dump, Tord?
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Glaurung 2-epsilon

Post by Tord Romstad »

Vempele wrote:Reproduced the problem in more debuggable conditions:

Perft from 2 onwards returns wrong numbers in [d]r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -

2. 1987 (should be 2039 according to Sharper)
This is very strange. My Mac OS X executable has no problems:

Code: Select all

position fen r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -
perft 5
perft(1) = 48, time = 0
perft(2) = 2039, time = 1
perft(3) = 97862, time = 8
perft(4) = 4085603, time = 274
perft(5) = 193690690, time = 12277
I have no idea what the problem could be. "divide 2" also gives the correct output for me.
I don't suppose there's a command to get a perft tree dump, Tord?
No, there isn't - I never saw a need for it until now. Perhaps I should add it in order to solve this strange problem.

Thanks for making me aware of this!

Tord
Vempele

Re: Glaurung 2-epsilon

Post by Vempele »

Tord Romstad wrote:
Vempele wrote:Reproduced the problem in more debuggable conditions:

Perft from 2 onwards returns wrong numbers in [d]r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -

2. 1987 (should be 2039 according to Sharper)
This is very strange. My Mac OS X executable has no problems:

Code: Select all

position fen r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -
perft 5
perft(1) = 48, time = 0
perft(2) = 2039, time = 1
perft(3) = 97862, time = 8
perft(4) = 4085603, time = 274
perft(5) = 193690690, time = 12277
I have no idea what the problem could be. "divide 2" also gives the correct output for me.

Oops, false alarm. I tried again, and got the correct result. I must have originally entered the fen wrong. Sorry.
I don't suppose there's a command to get a perft tree dump, Tord?
No, there isn't - I never saw a need for it until now. Perhaps I should add it in order to solve this strange problem.
[/quote

Being able to examine the entire search tree would still help.

Just in case, here are the nodecounts and best moves from the from the position (this time I made it the start position in order to avoid more input errors)

Code: Select all

2. 12341 e2a6 
3. 15543 e2a6
4. 18396 e2a6
5. 34593 e2a6
5. 82270 d5e6
6. 134217 d5e6
6. 140076 e2a6
7. 211369 e2a6
8. 363209 e2a6
User avatar
Graham Banks
Posts: 41463
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Glaurung 2-epsilon

Post by Graham Banks »

Tord Romstad wrote:
Graham Banks wrote:Hi Tord,

do you think it will be a long wait for us before the finished product?
Hi Graham,

As a rough estimate, I guess you will have to wait at least six weeks and at most six years, but I wouldn't bet on it. :wink:
A good answer! :lol:

Keep up the good work Tord.

Regards, Graham.
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: Glaurung 2-epsilon

Post by Michael Sherwin »

------ Build started: Project: Glaurung2e, Configuration: Debug Win32 ------
Compiling...
bitbase.cpp
bitboard.cpp
book.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\book.cpp(361) : warning C4996: 'fopen' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\chess\glaurung2e\src\book.cpp(507) : warning C4244: '=' : conversion from 'uint64' to 'uint16', possible loss of data
c:\chess\glaurung2e\src\book.cpp(508) : warning C4244: '=' : conversion from 'uint64' to 'uint16', possible loss of data
c:\chess\glaurung2e\src\book.cpp(509) : warning C4244: '=' : conversion from 'uint64' to 'uint16', possible loss of data
c:\chess\glaurung2e\src\book.cpp(510) : warning C4244: '=' : conversion from 'uint64' to 'uint16', possible loss of data
color.cpp
direction.cpp
endgame.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
evaluate.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\evaluate.cpp(597) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
c:\chess\glaurung2e\src\evaluate.cpp(598) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
c:\chess\glaurung2e\src\evaluate.cpp(599) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
c:\chess\glaurung2e\src\evaluate.cpp(612) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
c:\chess\glaurung2e\src\evaluate.cpp(613) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
c:\chess\glaurung2e\src\evaluate.cpp(614) : warning C4244: 'argument' : conversion from 'Bitboard' to 'int', possible loss of data
history.cpp
main.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\main.cpp(46) : warning C4996: 'setbuf' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(301) : see declaration of 'setbuf'
Message: 'This function or variable may be unsafe. Consider using setvbuf instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\chess\glaurung2e\src\main.cpp(47) : warning C4996: 'setbuf' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(301) : see declaration of 'setbuf'
Message: 'This function or variable may be unsafe. Consider using setvbuf instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
material.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\material.cpp(139) : warning C4244: 'initializing' : conversion from 'Key' to 'int', possible loss of data
mersenne.cpp
misc.cpp
move.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
movegen.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
movepick.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
pawns.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\pawns.cpp(291) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\pawns.cpp(314) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\pawns.cpp(318) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
piece.cpp
position.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.cpp(543) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.cpp(1580) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
search.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\search.cpp(224) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\search.cpp(1284) : warning C4996: 'strcpy' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
square.cpp
Generating Code...
Compiling...
test.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\test.cpp(366) : warning C4800: 'uint32' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\test.cpp(517) : warning C4996: 'fopen' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen'
Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
timeoday.cpp
c:\chess\glaurung2e\src\timeoday.cpp(21) : warning C4996: 'localtime' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\time.inl(114) : see declaration of 'localtime'
Message: 'This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
c:\chess\glaurung2e\src\timeoday.cpp(22) : warning C4244: '=' : conversion from 'time_t' to 'long', possible loss of data
tt.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
uci.cpp
c:\chess\glaurung2e\src\position.h(351) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(355) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(394) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(611) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(615) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(619) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(623) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(627) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(631) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(635) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
c:\chess\glaurung2e\src\position.h(647) : warning C4800: 'Bitboard' : forcing value to bool 'true' or 'false' (performance warning)
ucioption.cpp
value.cpp
Generating Code...
Compiling manifest to resources...
Linking...
Embedding manifest...
Build log was saved at "file://c:\Chess\Glaurung2e\Debug\BuildLog.htm"
Glaurung2e - 0 error(s), 179 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: Glaurung 2-epsilon

Post by Michael Sherwin »

The 64 bit build also succeded with one extra warning somewhere. I couldn't see if it would run though as my 64 bit OS beta has expired.
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Glaurung 2-epsilon

Post by Martin Thoresen »

Anyone able to email me a working windows executable? mordor(at)halden.net
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Glaurung 2-epsilon

Post by Tord Romstad »

Hello Martin!
Martin T wrote:Anyone able to email me a working windows executable? mordor(at)halden.net
It seems slightly odd to mail Glaurung to Mordor rather than Angband, but OK. :wink:

I think there will quite soon be an official Windows binary, BTW.

Tord
Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Glaurung 2-epsilon

Post by Martin Thoresen »

Tord,

Angband doesn't exist as far as I know in the 3rd era of Middle Earth... ;)

And Glaurung still exists for some weird reason!?
Wasn't he slain by Turin? I can't completely remember...

So the only place he'll be emailed must be to mordor!

I'm sure Saurun would be pleased to meet an old friend...
A shame Morgoth is behind locks in the oblivion of Mandos' halls.

I am sure he could have wrecked some havoc in the pieceful lands of the Hobbits. ;)
revengeska

Re: Glaurung 2-epsilon

Post by revengeska »

Hey Tord.

I'm running Fedora Core 6 64 bit Linux. I compiled Glaurung 2 successfully (with 2 warnings) using the Makefile, but unfortunately I can't get it to work with the Jose chess GUI nor Xboard using Polyglot. Here are the 2 warnings:

search.cpp:122: warning: ‘<unnamed>::FailedReductions’ defined but not used
search.cpp:141: warning: ‘<unnamed>::MaxNodes’ defined but not used

Also, I compiled your Glaurung 1.2.1 as well, and while it works, it's considerably slower than even a 32 bit engine. Check your e-mail for details on that, I sent it not too long ago.

I guess that's quite a lot of help I'm asking for :? Thanks though:)