That's by design... All of my engines are like that and always have been.
Chief
Moderators: hgm, Rebel, chrisw
Code: Select all
git clone -b McCain https://github.com/MichaelB7/Stockfish.git McX
Code: Select all
In file included from main.cpp:31:0:
tt.h:89:3: error: static assertion failed: Cluster size incorrect
static_assert(CacheLineSize % sizeof(Cluster) == 0, "Cluster size incorrect");
Only for those that are compiling a modern version on a bmi computer - but for most people, compiling for their own computer, it is best to set to "yes".dbx12 wrote: ↑Thu Jun 13, 2019 3:08 pm Dear Mike/all
Here is some Linux feedback from:
Ubuntu 14.04.5 LTS [x64]
gcc version 6.5.0 20181026
about latest McCain-X4
For "original src"compilation fails with:Code: Select all
git clone -b McCain https://github.com/MichaelB7/Stockfish.git McX
So it seems that line 89 in tt.h is responsible...Code: Select all
In file included from main.cpp:31:0: tt.h:89:3: error: static assertion failed: Cluster size incorrect static_assert(CacheLineSize % sizeof(Cluster) == 0, "Cluster size incorrect");
However, for windows compiler [mingw] everything runs smoothly!
Does anyone has a clue?
A temp workaround is to comment out the relevant static_assert line in tt.h
Then everything runs as it should.
By the way why do you revert native variable/flag in Makefile from yes --> no?
dbx
Code: Select all
Avoid move:
Best move (McCain-X4-modern-64): Rd6-g6
Not found in: 01:00
Found 510 tablebases
1/2 00:01 108 10,800 +100.00 Rg6+ Kh3
2/3 00:01 317 31,700 +100.00 Rg6+ Kh2 Rg4
3/4 00:01 663 66,300 +100.00 Rg6+ Kh2 Rg4 e2
4/5 00:01 2,859 259,909 +100.00 Rg6+ Kh2 a6 f2 a7
5/8 00:01 4,633 421,181 +100.00 Rg6+ Kh2 a6 f2 a7
6/16 00:01 9,076 825,090 +100.00 Rg6+ Kh3 a6 f2 a7 e2 a8Q
7/10 00:01 14,279 1,189,916 +100.00 Rg6+ Kf2 a6 Ke1 a7 f2 a8Q
8/15 00:01 22,339 1,861,583 +100.00 Rg6+ Kf2 a6 e2 a7 e1Q a8Q
9/19 00:01 73,597 4,329,235 +100.00 Rg6+ Kf2 a6 e2 a7 e1Q a8Q Qe5 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qe7+ Kd5 Kf2 Qd2+ Qe2 Qd4+ Kf1 Qe4 Kf2 Re5 Qb5+ Kd6 Qb6+ Ke7 Qh6 Qd4+ Kf1 Rf5 Qh7+ Rf7 Qh5 Rf6 Qh7+ Kd6 Qh2+ Kd5 Qe2 Rh6 f2 Qa1+ Qe1 Rh1+ Ke2 Qe5+ Kd1 Qd4+ Ke2
27/19 00:08 82,158,335 12,067,910 +100.00 Rg6+ Kf2
27/62 00:08 83,125,339 12,062,884 +100.00 Rg6+ Kf2
27/83 00:08 83,880,859 12,053,579 +100.00 Rg6+ Kf2
27/83 00:08 86,562,125 12,096,440 +100.00 Rg6+
27/87 00:10 110,052,947 12,169,959 +100.00 Rg6+ Kf2
27/87 00:10 116,528,128 12,158,611 +100.00 Rg6+ Kf2
27/87 00:11 125,497,851 12,102,010 +100.00 Rg6+
27/88 00:15 174,658,359 11,986,710 +100.00 Rg6+ Kf2 a6 e2 a7 e1Q a8Q Qe3+ Kh5 Qe5+ Rg5 Qh2+ Kg4 Qg2+ Kf5 Qh3+ Ke5 Qd7 Qa5 Ke2 Rf5 Qe7+ Kd5 Qd7+ Ke4 Qe6+ Kf4 Qe3+ Kg4 Qg1+ Kh5 Qh2+ Kg6 Qd6+ Rf6 Qd3+ Kh5 Qh7+ Kg5 Qg7+ Kf5 Qh7+ Ke5 Qh2+ Ke6 f2 Qb5+ Ke1 Qb1+ Ke2 Qe4+ Kd2 Qd5+ Ke2
28/88 00:15 175,348,543 11,988,824 +100.00 Rg6+ Kf2
28/88 00:15 175,391,192 11,989,281 +100.00 Rg6+ Kf2
28/88 00:16 178,521,591 11,992,583 +100.00 Rg6+ Kf2
28/88 00:16 180,654,417 12,003,615 +100.00 Rg6+
28/93 00:16 186,479,155 12,007,672 +100.00 Rg6+ Kf2
28/93 00:16 187,108,956 12,008,019 +100.00 Rg6+ Kf2 a6 e2 a7 e1Q a8Q Qe3+ Kh5 Qe5+ Rg5 Qh2+ Kg4 Qg2+ Kf5 Qh3+ Ke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4 Qa2+ Ke3 Qb3+ Ke2 Qb5+ Kf2 Qc5+ Qe3 Qd6 Qe8+ Kg4 Qe4+ Qf4 Qe6+ Rf5 Qg6+ Qg5 Qe6 Qd2+ Kf1 Qd1+ Kf2 Qxf3+ Ke1 Qf1+ Kd2 Qf4+ Kd1
37/83 00:44 544,930,065 12,452,128 +100.00 Rg6+
37/87 00:50 611,056,801 12,507,815 +100.00 Rg6+
37/103 00:55 685,159,377 12,541,585 +100.00 Rg6+
2019-06-13 5:12:36 PM, Time for this analysis: 00:01:00, Rated time: 05:00
The assert simply checks whether cacheline size is divisible by the size of a struct.Dann Corbit wrote: ↑Thu Jun 13, 2019 6:11 pm Probably needs an aligned allocation.
Objects can be different sizes because of the OS and compiler.
For instance, with GCC on a 64 bit Linux, long is 8 bytes but on 64 bit windows it is 4 bytes.
I didn't even look at the code yet so this is a guess.
Strange that an assert was used since it sounds like a performance warning.
I already hinted to a possible cause in one of the former McCain threads: viewtopic.php?f=2&t=69849mar wrote: ↑Fri Jun 14, 2019 11:31 amThe assert simply checks whether cacheline size is divisible by the size of a struct.Dann Corbit wrote: ↑Thu Jun 13, 2019 6:11 pm Probably needs an aligned allocation.
Objects can be different sizes because of the OS and compiler.
For instance, with GCC on a 64 bit Linux, long is 8 bytes but on 64 bit windows it is 4 bytes.
I didn't even look at the code yet so this is a guess.
Strange that an assert was used since it sounds like a performance warning.
I don't see how this could happen unless sizeof(char)>1, which seems extremely unlikely especially on x64 Ubuntu.
Otherwise there's no way a sane compiler would mis-pack the struct.
The size should be 32, maybe the OP could tell us what the size actually was and whether padding with uint8_t would help.
Something seems broken and my bet is it's not the SF code.
Joerg Oster wrote: ↑Sat Feb 09, 2019 10:00 am From what I have googled, e. g.must NOT necessarily be 8 bits, it can be larger ...Code: Select all
uint_fast8_t
See https://stackoverflow.com/questions/350 ... t-least8-t
Why did you change this in tt.h?
Ouch, yes now I see it in the branchJoerg Oster wrote: ↑Fri Jun 14, 2019 11:57 am I already hinted to a possible cause in one of the former McCain threads: viewtopic.php?f=2&t=69849
Joerg Oster wrote: ↑Sat Feb 09, 2019 10:00 am From what I have googled, e. g.must NOT necessarily be 8 bits, it can be larger ...Code: Select all
uint_fast8_t
See https://stackoverflow.com/questions/350 ... t-least8-t
Why did you change this in tt.h?
I believe, not 100% sure, this change can be directly attributed to the shuffle extension patch in SF. At least it appeared that way in some quick testing I performed.Andrew wrote: ↑Fri Jun 14, 2019 11:04 am Thanks for the updates! I posted this position in another thread recently which a recent version of McCain
couldn't get in 40 minutes
k1q4r/p7/P3P3/1N6/8/nQ2K3/6p1/2n5 w - - bm Qd5+; id "Arves.16248"; dm 34;
This version gets it in seconds (an actual # mate score) well done if it was from your changes or the Stockfish changes!
Andrew