stockfish 7

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

Moderators: hgm, Rebel, chrisw

Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: stockfish 7

Post 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.
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: stockfish 7

Post by Dirt »

Leto wrote:I think it will be released after TCEC 8.
If it wins that could be a good idea.
Deasil is the right way to go.
JJJ
Posts: 1346
Joined: Sat Apr 19, 2014 1:47 pm

Re: stockfish 7

Post 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.
A Distel
Posts: 3618
Joined: Thu Dec 30, 2010 1:33 pm

Re: stockfish 7

Post 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
The road to chaos is filled with political correctness.
― Tadros
ernst
Posts: 352
Joined: Thu Mar 09, 2006 6:00 pm

Re: stockfish 7

Post 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.
This post may either be cause or result of misunderstandings.
Werewolf
Posts: 1795
Joined: Thu Sep 18, 2008 10:24 pm

Re: stockfish 7

Post 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.
petero2
Posts: 685
Joined: Mon Apr 19, 2010 7:07 pm
Location: Sweden
Full name: Peter Osterlund

Re: stockfish 7

Post 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");
stavros
Posts: 165
Joined: Tue Dec 02, 2014 1:29 am

Re: stockfish 7

Post 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
User avatar
Thomas Lagershausen
Posts: 328
Joined: Mon Jun 11, 2007 6:59 pm

Re: stockfish 7

Post 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.
TL
stavros
Posts: 165
Joined: Tue Dec 02, 2014 1:29 am

Re: stockfish 7

Post 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?