Page 1 of 4

understanding the knight bishop mate

Posted: Tue Jul 27, 2010 1:53 pm
by duncan
[d] K7/2kB4/8/8/8/8/8/5N2 w

which engine would good at finding the mate in 33 here without using tablebases. ?




duncan

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 2:17 pm
by Jack Lad
There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 2:34 pm
by zamar
Jack Lad wrote:
My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 2:52 pm
by duncan
Jack Lad wrote:There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
I tried the position on fruit 2.31 and after 15 minutes (on 4 threads, 2 billion nodes) still has not found the mate. it gives a score of 7.47.

just to confirm when it chose Bg4, Ba4 & Be8 , did it announce mate in 34 ?

duncan

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 3:03 pm
by Jack Lad
duncan wrote:just to confirm when it chose Bg4, Ba4 & Be8 , did it announce mate in 34 ?

duncan
No - only an EGTB could do that on my system.

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 3:15 pm
by duncan
zamar wrote:
Jack Lad wrote:
My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
does stockfish have knowledge of bishop knight endings
?
duncan

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 3:24 pm
by Jack Lad
zamar wrote:For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
Thanks but where do I type "make help" and how do I run that?

I know how to access the terminal but have no idea how to use it.

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 3:46 pm
by Jim Ablett
Jack Lad wrote:There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
JA Linux compiles should run on a cpu as old as Pentium Pro.

Jim.

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 4:20 pm
by sje

Code: Select all

[] df

K7/2kB4/8/8/8/8/8/5N2 w - - 0 1

[] dtbm

Ba4 MateIn34
Bb5 MateIn33
Bc6 Even
Bc8 Even
Be6 MateIn33
Be8 MateIn34
Bf5 MateIn33
Bg4 MateIn34
Bh3 MateIn33
Ka7 Even
Nd2 Even
Ne3 Even
Ng3 Even
Nh2 Even

Re: understanding the knight bishop mate

Posted: Tue Jul 27, 2010 6:34 pm
by royb
Jack Lad wrote:
zamar wrote:For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
Thanks but where do I type "make help" and how do I run that?

I know how to access the terminal but have no idea how to use it.
OK, open a terminal.

cd /home/yourusername/stockfish-1.8 (this assumes you placed the stockfish source code in the directory named 'stockfish-1.8' in your home directory.)

cd src

make help


Note:

You will need to have g++ already installed on your Linux system. For Ubuntu (what I use) that can be done (before the above) with:

sudo apt-get install g++ (and supply your password when prompted)

Roy