stockfish for android?

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

Moderators: hgm, Rebel, chrisw

stavros
Posts: 165
Joined: Tue Dec 02, 2014 1:29 am

Re: stockfish for android?

Post by stavros »

Jim Ablett wrote:
Ferdy wrote:
Jim Ablett wrote:Hi Stavros,

I compile Android builds of Stockfish. Check out my page >

http://jimablett.net63.net/

Arm7 builds are untested as I don't have an Arm7 device. Feedback is welcome.

Jim.
Jim could you compile sf for Android there was a fix done in 13.11, which i think is crucial for analysis and ponder on games, as I understand your latest compile is 9.11.
If you can compile the latest that would be much better.
I actually plan to try to make it run in chessbase online app, but I need first your compile. Sf7 might be delayed and we are left with sf6 running on that app for a long time.
Latest builds are up now on my site.

Jim.
excelent! as always :)
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: stockfish for android?

Post by Ferdy »

Looks good.

TC 60s + 1s inc, run under Chess for Android, ponder off, 16MB hash/engine.

Code: Select all

   # PLAYER                   : RATING  ERROR   POINTS  PLAYED    (%)   CFS(next)
   1 Stockfish 121215 arm7    :   16.4   19.4     54.5     100   54.5%      95
   2 Stockfish 091115 arm7    :  -16.4   19.4     45.5     100   45.5%     ---

White advantage = 68.00 +/- 20.92
Draw rate (equal opponents) = 72.28 % +/- 5.03
Average depth and time.

Code: Select all

player                 : Stockfish 091115 arm7
num games              : 100
num moves with book    : 382
num moves with comment : 6873
num moves with time    : 6826
sum moves              : 7255
sum depth              : 113911
sum time               : 10243.975s
ave depth              : 16.7
ave time               : 1.501s

player                 : Stockfish 121215 arm7
num games              : 100
num moves with book    : 382
num moves with comment : 6876
num moves with time    : 6823
sum moves              : 7258
sum depth              : 115246
sum time               : 10157.833s
ave depth              : 16.9
ave time               : 1.489s
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: stockfish for android?

Post by Ferdy »

Test update on Sf 121215 android.

Settings.

Code: Select all

OS             : Android
GUI            : Chess for Android
TimeControl    : 60 + 1
Hash/engine MB : 16
Threads/engine : 1
Device         : LenovoA3300-GV
Ordo rating table.

Code: Select all

   # PLAYER                   : RATING  ERROR   POINTS  PLAYED    (%)   CFS(next)
   1 Stockfish 121215 arm7    :    0.0   ----    121.0     200   60.5%      92
   2 Stockfish 091115 arm7    :  -32.1   44.8     45.5     100   45.5%     100
   3 Komodo 8 32-bit          : -121.8   43.4     33.5     100   33.5%     ---

White advantage = 41.17 +/- 17.83
Draw rate (equal opponents) = 60.11 % +/- 3.50
Average depth and time.

Code: Select all

id                    engine    games  pts(%)  adepth  atime(s)
 1     Stockfish 121215 arm7      100   54.5     16.9    1.489
 2     Stockfish 091115 arm7      100   45.5     16.7    1.501

Code: Select all

id                    engine    games  pts(%)  adepth  atime(s)
 1     Stockfish 121215 arm7      100   66.5     17.4    1.425
 2          Komodo 8 32-bit       100   33.5     13.3    1.424
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: stockfish for android? Sf121215 vs Sf6

Post by Ferdy »

Update to Sf 121215 gauntlet tests.

Code: Select all

GUI            : Chess for Android
Device         : LenovoA3300-GV
OS             : Android v4.4.2
CPU            : Quad-core 1.3 GHz Cortex-A7
Internal       : 8 GB, 1 GB RAM
TimeControl    : 60 + 1
Hash/engine MB : 16
Threads/engine : 1

id                    engine    games  pts(%)  adepth  atime(s)
 1     Stockfish 121215 arm7      100   60.0     17.4    1.420
 2          Stockfish 6 arm7      100   40.0     17.8    1.444
stavros
Posts: 165
Joined: Tue Dec 02, 2014 1:29 am

Re: stockfish for android? Sf121215 vs Sf6

Post by stavros »

Ferdy wrote:Update to Sf 121215 gauntlet tests.

Code: Select all

GUI            : Chess for Android
Device         : LenovoA3300-GV
OS             : Android v4.4.2
CPU            : Quad-core 1.3 GHz Cortex-A7
Internal       : 8 GB, 1 GB RAM
TimeControl    : 60 + 1
Hash/engine MB : 16
Threads/engine : 1

id                    engine    games  pts(%)  adepth  atime(s)
 1     Stockfish 121215 arm7      100   60.0     17.4    1.420
 2          Stockfish 6 arm7      100   40.0     17.8    1.444
70 elo over sf6 before final sf7 its not bad right? :)
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: stockfish for android? Sf121215 vs Sf6

Post by Ferdy »

stavros wrote:
Ferdy wrote:Update to Sf 121215 gauntlet tests.

Code: Select all

GUI            : Chess for Android
Device         : LenovoA3300-GV
OS             : Android v4.4.2
CPU            : Quad-core 1.3 GHz Cortex-A7
Internal       : 8 GB, 1 GB RAM
TimeControl    : 60 + 1
Hash/engine MB : 16
Threads/engine : 1

id                    engine    games  pts(%)  adepth  atime(s)
 1     Stockfish 121215 arm7      100   60.0     17.4    1.420
 2          Stockfish 6 arm7      100   40.0     17.8    1.444
70 elo over sf6 before final sf7 its not bad right? :)
The elo of these top engines is already incomprehensible :) .
For analysis engine, it is important that the engine gives a very good estimate of the win/loss/draw probabilty. Given a position like fortress, the engine should give a reasonable score for example.

Sample run.

Code: Select all

A. System and App name
CPU name             : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Operating system     : Microsoft Windows 7 Professional 
Physical cores       : 4
Logical cores        : 8
Hyper-threading      : ON
App name             : ESDP - Engine score on drawn positions v5

B. Engine settings
Threads              : 1
Hash (mb)            : 64
Time/pos (ms)        : 5000
UCI command          : ucinewgame / go movetime 5000
NumThreads names     : Threads / Cores / SMP / Max CPUs / CPUs
Endgame  Tablebase   : No

C. Test settings
Total engine count   : 2
Position filename    : DrawnHighMaterialDifference_v1.epd
Total positions      : 25
Total max points     : 2500
Estimated total time : 125000 ms (2.1 minutes)/engine

D. Summary high point is better
 1 Stockfish 6 64 POPCNT                    (Tms 108710, Pts  827, Rate 33.08%)
 2 Stockfish 121215 64 POPCNT               (Tms 90075, Pts  728, Rate 29.12%)

E. Positions:
 1 6k1/8/6PP/3B1K2/8/2b5/8/8 b - - id "DHMD 1"; c0 "kbpp-kb";
 2 8/8/r5kP/6P1/1R3K2/8/8/8 w - - id "DHMD 2"; c0 "krpp-kr";
 3 7k/R7/7P/6K1/8/8/2b5/8 w - - id "DHMD 3"; c0 "krp-kb";
 4 8/8/5k2/8/8/4qBB1/6K1/8 w - - id "DHMD 4"; c0 "kbb-kq";
 5 8/8/8/3K4/8/4Q3/2p5/1k6 w - - id "DHMD 5"; c0 "kq-kp, bishop pawn, king on right side";
 6 8/8/4nn2/4k3/8/Q4K2/8/8 w - - id "DHMD 6"; c0 "kq-knn";
 7 8/k7/p7/Pr6/K1Q5/8/8/8 w - - id "DHMD 7"; c0 "kqp-krp, fortress";
 8 k7/p4R2/P7/1K6/8/6b1/8/8 w - - id "DHMD 8"; c0 "krp-kbp fortress";
 9 6k1/6Pp/7P/8/3BK3/8/8/8 w - - id "DHMD 9"; c0 "kbpp-kp, fortress";
10 8/1b6/8/8/7p/3k2pP/6P1/5K2 w - - id "DHMD 10";
11 8/8/8/6k1/2q3p1/4R3/5PK1/8 w - - id "DHMD 11";
12 k7/1b6/3Q4/2Kn4/8/8/8/8 w - - id "DHMD 12";
13 8/2k5/4Bp2/2b1p1p1/4K2p/7P/8/8 b - - id "DHMD 13";
14 8/n7/8/8/8/8/4K2p/7k w - - id "DHMD 14";
15 5k2/1R6/5P2/4K3/2b5/8/8/8 w - - id "DHMD 15";
16 8/8/4k3/4P3/2bP4/2P1K3/3B4/8 w - - id "DHMD 16";
17 6k1/5p2/4r2p/8/3Q4/8/6P1/6K1 w - - id "DHMD 17";
18 8/5K1P/8/8/3q4/8/8/2k5 w - - id "DHMD 18";
19 8/6k1/R7/1r5P/5PK1/8/8/8 w - - id "DHMD 19";
20 8/Bk6/1P6/2K5/8/8/8/8 w - - id "DHMD 20";
21 8/8/7p/7P/1b6/3k4/8/3K4 w - - id "DHMD 21";
22 k7/1p6/p1r5/3Q4/8/1K6/1P6/8 b - - id "DHMD 22";
23 k7/4B3/PK6/8/8/8/8/8 w - - id "DHMD 23";
24 8/1p3p2/8/5p1p/2k1bBpP/1p4P1/1K6/8 b - - id "DHMD 24";
25 8/4KP2/8/8/1k6/8/q7/8 b - - id "DHMD 25"; c0 "kp-kq, bishop pawn, king on wrong side";

F. Point System:
score <= abs&#40;50&#41;  &#58; 100 points
score <= abs&#40;100&#41; &#58; 61 - 70, points
score <= abs&#40;150&#41; &#58; 51 - 60, points
score <= abs&#40;200&#41; &#58; 41 - 50, points
score <= abs&#40;250&#41; &#58; 31 - 40, points
score <= abs&#40;300&#41; &#58; 21 - 30, points
score <= abs&#40;350&#41; &#58; 11 - 20, points
score <= abs&#40;400&#41; &#58;  1 - 10, points
Other scores      &#58;  0 points