Moderator: Andres Valverde
Volker Pittlik wrote:I tried to compile and run the latest version of scorpio here in my linux 64 bit machine. I'm using gcc 4.2.3.
Changing the data model in scorpio.h did not show the expected effect.
Setting DATA_MODEL to 2 does not compile at all. Using 3 and 4 compiles but results in a segmentation fault at runtime. Has someone been successful?
Regards
Volker
Analysis from Q:\epd\sub\sactest2.epd
9/17/2008 2:32:03 PM Level: 9000 Seconds
Analyzing engine: Scorpio
1) Rxd4; id "sactest";
Searching move: Rd1xd4
Best move (Scorpio): Rd1xd4
identical moves! Found in: 00:03
2 00:00 1.707 1.707 +1.54 Qf4xd6 Rd8xd6 Re1-e7 Ka7-b8
2 00:00 2.249 2.249 +1.54 Qf4xd6 Rd8xd6 Re1-e7 Ka7-b8
3 00:00 2.670 2.670 +1.04 Qf4xd6
3 00:00 7.657 7.657 +0.33 Qf4xd6 Rd8xd6 b2-b4 Nf6xd5 b4xc5 Nd5-c3 Kb1-c1
3 00:00 11.169 11.169 +0.33 Qf4xd6 Rd8xd6 b2-b4 Nf6xd5 b4xc5 Nd5-c3 Kb1-c1
4 00:00 19.013 1.901.300 +0.50 Qf4xd6 Rd8xd6 b2-b4 Nf6xd5 b4xc5 Rd6-d8 Kb1-b2
4 00:00 39.142 1.304.733 +0.50 Qf4xd6 Rd8xd6 b2-b4 Nf6xd5 b4xc5 Rd6-d8 Kb1-b2
5 00:00 58.275 1.942.500 0.00 Qf4xd6
5 00:00 121.439 2.023.983 -0.55 Qf4xd6 Rd8xd6 b2-b4 c5xb4 Na5-c6 Ba8xc6 d5xc6 b4xa3 c6-c7 Ka7-b7 Re1-e7
5 00:00 155.671 2.223.871 -0.33 Na5-c6 Ba8xc6 Qf4xd6 Rd8xd6 d5xc6 Rd6xc6 c2-c3 Rh8-d8 Re1-e7 Ka7-b6 Re7xf7 h7-h6
5 00:00 197.438 2.193.755 -0.33 Na5-c6 Ba8xc6 Qf4xd6 Rd8xd6 d5xc6 Rd6xc6 c2-c3 Rh8-d8 Re1-e7 Ka7-b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 Bg2xd5 Rd6xd5 Rd4xd5 Rd8xd5
9/17/2008 3:24:22 PM, Time for this analysis: 00:02:00, Rated time: 00:03
1 of 1 matching moves
9/17/2008 3:24:23 PM, Total time: 12:52:20 AM
Rated time: 00:03 = 3 Seconds
Dann Corbit wrote:Here is 64 bit Scorpio output, where I am getting 3.7M NPS:
- Code: Select all
Analysis from Q:\epd\sub\sactest2.epd
...
9/17/2008 3:24:22 PM, Time for this analysis: 00:02:00, Rated time: 00:03
1 of 1 matching moves
9/17/2008 3:24:23 PM, Total time: 12:52:20 AM
Rated time: 00:03 = 3 Seconds
go
[st = 3.77s, mt = 29.75s , hply = 0]
2 10 0 46 e2-e4 e7-e5
2 10 0 128 e2-e4 e7-e5
3 28 0 341 e2-e4 d7-d5 Bf1-b5 Nb8-c6
3 38 0 566 d2-d4 d7-d5 Bc1-f4
3 38 0 678 d2-d4 d7-d5 Bc1-f4
4 10 0 1212 d2-d4 d7-d5 Bc1-f4 Bc8-f5
4 24 0 2153 e2-e4 Ng8-f6 Nb1-c3 e7-e5
4 24 0 2559 e2-e4 Ng8-f6 Nb1-c3 e7-e5
5 26 2 12448 e2-e4 d7-d5 Nb1-c3 Ng8-f6 Bf1-b5 Nb8-c6
5 26 3 15794 e2-e4 d7-d5 Nb1-c3 Ng8-f6 Bf1-b5 Nb8-c6
6 7 8 36826 e2-e4 d7-d5 Nb1-c3 Ng8-f6 e4xd5 Nf6xd5
6 10 10 47944 Ng1-f3 Ng8-f6 d2-d4 d7-d5 Nf3-e5 Nf6-e4
6 10 14 66862 Ng1-f3 Ng8-f6 d2-d4 d7-d5 Nf3-e5 Nf6-e4
7 19 18 92473 Ng1-f3 d7-d5 d2-d4 Bc8-f5 Nb1-c3 Nb8-c6 Bc1-f4
7 23 22 113573 d2-d4 d7-d5 Bc1-f4 Ng8-f6 Ng1-f3 Nf6-e4 Nf3-e5
7 23 23 116345 d2-d4 d7-d5 Bc1-f4 Ng8-f6 Ng1-f3 Nf6-e4 Nf3-e5
8 10 32 161824 d2-d4 d7-d5 Bc1-f4 Bc8-f5 e2-e3 e7-e6 Nb1-c3 Nb8-c6
8 18 47 238095 e2-e4 d7-d5 e4xd5 Qd8xd5 Nb1-c3 Qd5-e5 Qd1-e2 Qe5xe2 Bf1xe2 e7-e5 Ng1-f3 Nb8-c6
8 18 55 284203 e2-e4 d7-d5 e4xd5 Qd8xd5 Nb1-c3 Qd5-e5 Qd1-e2 Qe5xe2 Bf1xe2 e7-e5 Ng1-f3 Nb8-c6
9 31 112 589747 e2-e4 d7-d5 e4xd5 Qd8xd5 Nb1-c3 Qd5-e5 Qd1-e2 Qe5xe2 Bf1xe2 e7-e5 Nc3-d5 Bf8-d6 Ng1-f3
9 31 126 659296 e2-e4 d7-d5 e4xd5 Qd8xd5 Nb1-c3 Qd5-e5 Qd1-e2 Qe5xe2 Bf1xe2 e7-e5 Nc3-d5 Bf8-d6 Ng1-f3
10 37 328 1716617 e2-e4 e7-e6 d2-d4 Ng8-f6 Bf1-d3 d7-d5 e4-e5 Nf6-e4 Bd3xe4 d5xe4 Nb1-c3
10 37 347 1806983 e2-e4 e7-e6 d2-d4 Ng8-f6 Bf1-d3 d7-d5 e4-e5 Nf6-e4 Bd3xe4 d5xe4 Nb1-c3
nodes = 1806983 <84 qnodes> time = 3.47s nps = 520294
pv = 822 cut = 31688 all = 244475
lazy_eval = 25 splits = 0 badsplits = 0 egbb_probes = 0
extensions: check 23596 1reply 698 capture 10065 threat 82 passedpawn 767
hit rate for tables: mht = 13 pht = 75 eht = 37
move e2-e4
Segmentation fault
icpc -O3 -c scorpio.cpp
scorpio.cpp(84): error: type name is not allowed
assert(sizeof BMP32 >= 4);
^
scorpio.cpp(84): error: identifier "assert" is undefined
assert(sizeof BMP32 >= 4);
^
scorpio.cpp(85): error: type name is not allowed
assert(sizeof BMP64 >= 8);
^
scorpio.cpp(85): error: expected a ")"
assert(sizeof BMP64 >= 8);
^
Teemu Pudas wrote:assert(sizeof(BMP32) >= 4); // etc.
icpc -O3 -c scorpio.cpp
scorpio.cpp(77): error: identifier "assert" is undefined
assert(sizeof(BMP32) >= 4);
Volker Pittlik wrote:Teemu Pudas wrote:assert(sizeof(BMP32) >= 4); // etc.
Well, that creates other error messages:
- Code: Select all
icpc -O3 -c scorpio.cpp
scorpio.cpp(77): error: identifier "assert" is undefined
assert(sizeof(BMP32) >= 4);
I tend to give up. I have another program with similar errors. The reason couldn't be found although the author was here.
OTOH although there so many programs which compile without problem Scorpio is something I would like to have....
Volker
Dann Corbit wrote:...
...
You need to :
#include <assert.h>
...
volker@vpittlik:~/schach/scorpio$ ./scorpio
ht 2097152 X 32
eht 2097152 X 16
pht 104857 X 40
processors [1]
unknown command: lazy_margin
Segmentation fault
Volker Pittlik wrote:... I'm thinking about to install the intel compiler in a virtual 32 bit machine too...
Volker Pittlik wrote:Volker Pittlik wrote:... I'm thinking about to install the intel compiler in a virtual 32 bit machine too...
Trying to download it it seems to be limited to one month of use now. Its a very fine tool, but I can't use it then. Therefore Scorpio possibly has to life with that disadvantage.
volker@vpittlik:~/schach/scorpio$ ./scorpio
ht 2097152 X 32
eht 2097152 X 16
pht 116508 X 36
processors [1]
unknown command: lazy_margin
unknown command: 150
unknown command: lazy_margin
unknown command: 150
unknown command: lazy_margin
unknown command: 250
EgbbProbe not Loaded!
Volker Pittlik wrote:Trying to download it it seems to be limited to one month of use now.
Teemu Pudas wrote:Volker Pittlik wrote:...
Seems to be completely free as in beer for non-commercial purposes.
Clicking thru I getYou have 30 days to evaluate the product which will expire on 10/20/2008.
Intel(R) C++ Compiler Professional Edition for Linux*
Noncommercial Product Request
Thank you for your interest in Intel(R) C++ Compiler Professional Edition for Linux* product.
To Download the noncommercial copy: Provide a valid email address to enable us to send you the installation information.
Click the Submit button to obtain the serial number and the URL to download the noncommercial copy.
Please refer to Intel's Privacy Policy regarding the collection and handling of your personal information.
+ Indicates a required field
Email+
Confirm Email+
Country / Region+
Yes, I would like to be contacted to learn about additional Intel(R) software products and training.
Teemu Pudas wrote:...Provide a valid email address to enable us to send you the installation information....
But if it works or not, the error seems not to have to do with the compiler.
Dann Corbit wrote:... That is because GCC needs long long for 64 bit integer (at least on the platforms I know about). We have 64 bit Linux here so I could give it a go later on tonight.
Ilari Pihlajisto wrote:By latest version, do you mean this one?: http://dshawul.googlepages.com/scorpio_202.ZIP
Ilari Pihlajisto wrote:...I fixed a ton of compiler errors and warnings, replaced the data model with a saner automatic alternative, and created a patch for it: http://koti.mbnet.fi/~ilaripih/patches/ ... _fix.patch
To apply the patch you need to copy it to Scorpio's src folder, and run "patch < scorpio_202_fix.patch"....
Volker Pittlik wrote:ABSOLUTELY BRILLIANT! You did a very good job. It compiles fine and runs without any problems (so far). Thank you very much for that!
BTW. I'm just calibrating a test group of engines and included Sloppy (version from September 2nd). It does fine so far but its to early to say something specific.
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 38 guests