Page 2 of 7

Re: stockfish 7

Posted: Sun Sep 06, 2015 3:09 pm
by Modern Times
Werewolf wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
Slow compile.
I don't think that matters much at all. A handful of Elo if that.

Re: stockfish 7

Posted: Mon Sep 07, 2015 7:29 am
by Dirt
Leto wrote:I think it will be released after TCEC 8.
If it wins that could be a good idea.

Re: stockfish 7

Posted: Mon Sep 07, 2015 7:40 am
by JJJ
No Stockfish 7 until +50 ELO at least from Stockfish 6. I think Stockfish dev is around +35 ELO from Stockfish 6. So probably no release right after TCEC.
But who knows, I think TCEC will last 2 month or more so maybe.

Re: stockfish 7

Posted: Mon Sep 07, 2015 9:28 am
by A Distel
cdani wrote:
A Distel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Release date: 28 December 2015... together with Fritz 15!
Maybe someone will not know that 28 December in Spain, Hispanic America, and the Philippines, is a day for pranks, equivalent to April Fool's Day:

https://en.wikipedia.org/wiki/Massacre_ ... Feast_days
Image

Re: stockfish 7

Posted: Tue Sep 08, 2015 10:11 am
by ernst
Werewolf wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
Slow compile.
BYO.

Re: stockfish 7

Posted: Tue Sep 08, 2015 10:31 pm
by Werewolf
ernst wrote:
Werewolf wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
Slow compile.
BYO.
No need when SF7 comes out.

Re: stockfish 7

Posted: Thu Sep 10, 2015 8:52 pm
by petero2
stavros wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
cos iam interesting for android version (droidfish or official android version)
Here are android ARM compiles for the latest development version of stockfish:

https://dl.dropboxusercontent.com/u/896 ... 0907-arm64
https://dl.dropboxusercontent.com/u/896 ... 0907-arm32

I used this patch to make it compile and not crash:

Code: Select all

diff -u -r --ignore-all-space vc/git/stockfish-official/src/misc.h workspace/droidfish/DroidFish/jni/stockfish/misc.h
--- vc/git/stockfish-official/src/misc.h	2015-03-11 19:49:35.572288534 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/misc.h	2015-09-10 20:28:44.373601959 +0200
@@ -25,6 +25,7 @@
 #include <ostream>
 #include <string>
 #include <vector>
+#include <sstream>
 
 #include "types.h"
 
@@ -96,4 +97,18 @@
   &#123; return T&#40;rand64&#40;) & rand64&#40;) & rand64&#40;)); &#125;
 &#125;;
 
+
+inline int stoi&#40;const std&#58;&#58;string& s&#41; &#123;
+    std&#58;&#58;stringstream ss&#40;s&#41;;
+    int result = 0;
+    ss >> result;
+    return result;
+&#125;
+
+inline std&#58;&#58;string to_string&#40;int v&#41; &#123;
+    char buf&#91;32&#93;;
+    sprintf&#40;buf, "%d", v&#41;;
+    return buf;
+&#125;
+
 #endif // #ifndef MISC_H_INCLUDED
diff -u -r --ignore-all-space vc/git/stockfish-official/src/syzygy/tbcore.cpp workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp
--- vc/git/stockfish-official/src/syzygy/tbcore.cpp	2015-01-28 18&#58;48&#58;09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20&#58;35&#58;24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb&#40;str&#41;;
       &#125;
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap&#40;&#41;ed into memory
+  if &#40;sizeof&#40;char*) >= 8&#41; &#123;
   for &#40;i = 1; i < 6; i++)
     for &#40;j = i; j < 6; j++)
       for &#40;k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf&#40;str, "K%c%c%c%cvK", pchr&#91;i&#93;, pchr&#91;j&#93;, pchr&#91;k&#93;, pchr&#91;l&#93;);
           init_tb&#40;str&#41;;
         &#125;
+  &#125;
 
   printf&#40;"info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn&#41;;
 &#125;
diff -u -r --ignore-all-space vc/git/stockfish-official/src/ucioption.cpp workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp
--- vc/git/stockfish-official/src/ucioption.cpp	2015-05-10 08&#58;52&#58;41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20&#58;27&#58;55.773477950 +0200
@@ -114,7 +114,7 @@
 &#123;&#125;
 
 Option&#58;&#58;Option&#40;int v, int minv, int maxv, OnChange f&#41; &#58; type&#40;"spin"), min&#40;minv&#41;, max&#40;maxv&#41;, on_change&#40;f&#41;
-&#123; defaultValue = currentValue = std&#58;&#58;to_string&#40;v&#41;; &#125;
+&#123; defaultValue = currentValue = to_string&#40;v&#41;; &#125;
 
 Option&#58;&#58;operator int&#40;) const &#123;
   assert&#40;type == "check" || type == "spin");

Re: stockfish 7

Posted: Thu Sep 10, 2015 11:28 pm
by stavros
petero2 wrote:
stavros wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
cos iam interesting for android version (droidfish or official android version)
Here are android ARM compiles for the latest development version of stockfish:

https://dl.dropboxusercontent.com/u/896 ... 0907-arm64
https://dl.dropboxusercontent.com/u/896 ... 0907-arm32

I used this patch to make it compile and not crash:

Code: Select all

diff -u -r --ignore-all-space vc/git/stockfish-official/src/misc.h workspace/droidfish/DroidFish/jni/stockfish/misc.h
--- vc/git/stockfish-official/src/misc.h	2015-03-11 19&#58;49&#58;35.572288534 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/misc.h	2015-09-10 20&#58;28&#58;44.373601959 +0200
@@ -25,6 +25,7 @@
 #include <ostream>
 #include <string>
 #include <vector>
+#include <sstream>
 
 #include "types.h"
 
@@ -96,4 +97,18 @@
   &#123; return T&#40;rand64&#40;) & rand64&#40;) & rand64&#40;)); &#125;
 &#125;;
 
+
+inline int stoi&#40;const std&#58;&#58;string& s&#41; &#123;
+    std&#58;&#58;stringstream ss&#40;s&#41;;
+    int result = 0;
+    ss >> result;
+    return result;
+&#125;
+
+inline std&#58;&#58;string to_string&#40;int v&#41; &#123;
+    char buf&#91;32&#93;;
+    sprintf&#40;buf, "%d", v&#41;;
+    return buf;
+&#125;
+
 #endif // #ifndef MISC_H_INCLUDED
diff -u -r --ignore-all-space vc/git/stockfish-official/src/syzygy/tbcore.cpp workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp
--- vc/git/stockfish-official/src/syzygy/tbcore.cpp	2015-01-28 18&#58;48&#58;09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20&#58;35&#58;24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb&#40;str&#41;;
       &#125;
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap&#40;&#41;ed into memory
+  if &#40;sizeof&#40;char*) >= 8&#41; &#123;
   for &#40;i = 1; i < 6; i++)
     for &#40;j = i; j < 6; j++)
       for &#40;k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf&#40;str, "K%c%c%c%cvK", pchr&#91;i&#93;, pchr&#91;j&#93;, pchr&#91;k&#93;, pchr&#91;l&#93;);
           init_tb&#40;str&#41;;
         &#125;
+  &#125;
 
   printf&#40;"info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn&#41;;
 &#125;
diff -u -r --ignore-all-space vc/git/stockfish-official/src/ucioption.cpp workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp
--- vc/git/stockfish-official/src/ucioption.cpp	2015-05-10 08&#58;52&#58;41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20&#58;27&#58;55.773477950 +0200
@@ -114,7 +114,7 @@
 &#123;&#125;
 
 Option&#58;&#58;Option&#40;int v, int minv, int maxv, OnChange f&#41; &#58; type&#40;"spin"), min&#40;minv&#41;, max&#40;maxv&#41;, on_change&#40;f&#41;
-&#123; defaultValue = currentValue = std&#58;&#58;to_string&#40;v&#41;; &#125;
+&#123; defaultValue = currentValue = to_string&#40;v&#41;; &#125;
 
 Option&#58;&#58;operator int&#40;) const &#123;
   assert&#40;type == "check" || type == "spin");
excelent! i quess i can run it under droidfish and the elo gain is at least 30 points

Re: stockfish 7

Posted: Thu Sep 10, 2015 11:50 pm
by Thomas Lagershausen
petero2 wrote:
stavros wrote:
shrapnel wrote:
stavros wrote:i would like to ask about sf 7 release date,depends on what:specific date?
or specific elo gain?(how much elo) tx.
Why bother ? Just use the latest SDV and you're all set !
cos iam interesting for android version (droidfish or official android version)
Here are android ARM compiles for the latest development version of stockfish:

https://dl.dropboxusercontent.com/u/896 ... 0907-arm64
https://dl.dropboxusercontent.com/u/896 ... 0907-arm32

I used this patch to make it compile and not crash:

Code: Select all

diff -u -r --ignore-all-space vc/git/stockfish-official/src/misc.h workspace/droidfish/DroidFish/jni/stockfish/misc.h
--- vc/git/stockfish-official/src/misc.h	2015-03-11 19&#58;49&#58;35.572288534 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/misc.h	2015-09-10 20&#58;28&#58;44.373601959 +0200
@@ -25,6 +25,7 @@
 #include <ostream>
 #include <string>
 #include <vector>
+#include <sstream>
 
 #include "types.h"
 
@@ -96,4 +97,18 @@
   &#123; return T&#40;rand64&#40;) & rand64&#40;) & rand64&#40;)); &#125;
 &#125;;
 
+
+inline int stoi&#40;const std&#58;&#58;string& s&#41; &#123;
+    std&#58;&#58;stringstream ss&#40;s&#41;;
+    int result = 0;
+    ss >> result;
+    return result;
+&#125;
+
+inline std&#58;&#58;string to_string&#40;int v&#41; &#123;
+    char buf&#91;32&#93;;
+    sprintf&#40;buf, "%d", v&#41;;
+    return buf;
+&#125;
+
 #endif // #ifndef MISC_H_INCLUDED
diff -u -r --ignore-all-space vc/git/stockfish-official/src/syzygy/tbcore.cpp workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp
--- vc/git/stockfish-official/src/syzygy/tbcore.cpp	2015-01-28 18&#58;48&#58;09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20&#58;35&#58;24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb&#40;str&#41;;
       &#125;
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap&#40;&#41;ed into memory
+  if &#40;sizeof&#40;char*) >= 8&#41; &#123;
   for &#40;i = 1; i < 6; i++)
     for &#40;j = i; j < 6; j++)
       for &#40;k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf&#40;str, "K%c%c%c%cvK", pchr&#91;i&#93;, pchr&#91;j&#93;, pchr&#91;k&#93;, pchr&#91;l&#93;);
           init_tb&#40;str&#41;;
         &#125;
+  &#125;
 
   printf&#40;"info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn&#41;;
 &#125;
diff -u -r --ignore-all-space vc/git/stockfish-official/src/ucioption.cpp workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp
--- vc/git/stockfish-official/src/ucioption.cpp	2015-05-10 08&#58;52&#58;41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20&#58;27&#58;55.773477950 +0200
@@ -114,7 +114,7 @@
 &#123;&#125;
 
 Option&#58;&#58;Option&#40;int v, int minv, int maxv, OnChange f&#41; &#58; type&#40;"spin"), min&#40;minv&#41;, max&#40;maxv&#41;, on_change&#40;f&#41;
-&#123; defaultValue = currentValue = std&#58;&#58;to_string&#40;v&#41;; &#125;
+&#123; defaultValue = currentValue = to_string&#40;v&#41;; &#125;
 
 Option&#58;&#58;operator int&#40;) const &#123;
   assert&#40;type == "check" || type == "spin");
Thx for offering us this compiles.

But they didnĀ“t run on droidfish 1.57 with the device Lenovo Tab 8S with Intel Atom 3745 CPU and OS Android 4.42.

Thx for futher help.

Re: stockfish 7

Posted: Fri Sep 11, 2015 1:10 am
by stavros
update: after some tests from initial position seems the latest android compile looks slower then official sf6 to reach ply 20 (sf6 41 secs /latest compile 58 secs)
specs 1 cpu at 1ghz arm9 cortex
maybe arm5 compile instead arm7?