stockfish 7

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

Moderator: Ras

Modern Times
Posts: 3743
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: 354
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: 2019
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: 725
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 @@
   { return T(rand64() & rand64() & rand64()); }
 };
 
+
+inline int stoi(const std::string& s) {
+    std::stringstream ss(s);
+    int result = 0;
+    ss >> result;
+    return result;
+}
+
+inline std::string to_string(int v) {
+    char buf[32];
+    sprintf(buf, "%d", v);
+    return buf;
+}
+
 #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:48:09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20:35:24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb(str);
       }
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap()ed into memory
+  if (sizeof(char*) >= 8) {
   for (i = 1; i < 6; i++)
     for (j = i; j < 6; j++)
       for (k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
           init_tb(str);
         }
+  }
 
   printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
 }
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:52:41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20:27:55.773477950 +0200
@@ -114,7 +114,7 @@
 {}
 
 Option::Option(int v, int minv, int maxv, OnChange f) : type("spin"), min(minv), max(maxv), on_change(f)
-{ defaultValue = currentValue = std::to_string(v); }
+{ defaultValue = currentValue = to_string(v); }
 
 Option::operator int() const {
   assert(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: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 @@
   { return T(rand64() & rand64() & rand64()); }
 };
 
+
+inline int stoi(const std::string& s) {
+    std::stringstream ss(s);
+    int result = 0;
+    ss >> result;
+    return result;
+}
+
+inline std::string to_string(int v) {
+    char buf[32];
+    sprintf(buf, "%d", v);
+    return buf;
+}
+
 #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:48:09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20:35:24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb(str);
       }
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap()ed into memory
+  if (sizeof(char*) >= 8) {
   for (i = 1; i < 6; i++)
     for (j = i; j < 6; j++)
       for (k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
           init_tb(str);
         }
+  }
 
   printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
 }
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:52:41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20:27:55.773477950 +0200
@@ -114,7 +114,7 @@
 {}
 
 Option::Option(int v, int minv, int maxv, OnChange f) : type("spin"), min(minv), max(maxv), on_change(f)
-{ defaultValue = currentValue = std::to_string(v); }
+{ defaultValue = currentValue = to_string(v); }
 
 Option::operator int() const {
   assert(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: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 @@
   { return T(rand64() & rand64() & rand64()); }
 };
 
+
+inline int stoi(const std::string& s) {
+    std::stringstream ss(s);
+    int result = 0;
+    ss >> result;
+    return result;
+}
+
+inline std::string to_string(int v) {
+    char buf[32];
+    sprintf(buf, "%d", v);
+    return buf;
+}
+
 #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:48:09.199381113 +0100
+++ workspace/droidfish/DroidFish/jni/stockfish/syzygy/tbcore.cpp	2015-09-10 20:35:24.780623859 +0200
@@ -343,6 +343,8 @@
         init_tb(str);
       }
 
+  // 6-piece tables are only supported for 64-bit, because tables are mmap()ed into memory
+  if (sizeof(char*) >= 8) {
   for (i = 1; i < 6; i++)
     for (j = i; j < 6; j++)
       for (k = i; k < 6; k++)
@@ -366,6 +368,7 @@
           sprintf(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
           init_tb(str);
         }
+  }
 
   printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
 }
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:52:41.704271325 +0200
+++ workspace/droidfish/DroidFish/jni/stockfish/ucioption.cpp	2015-09-10 20:27:55.773477950 +0200
@@ -114,7 +114,7 @@
 {}
 
 Option::Option(int v, int minv, int maxv, OnChange f) : type("spin"), min(minv), max(maxv), on_change(f)
-{ defaultValue = currentValue = std::to_string(v); }
+{ defaultValue = currentValue = to_string(v); }
 
 Option::operator int() const {
   assert(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?