Stockfish 3 PA_GTB

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Stockfish 3 PA_GTB

Post by Jeremy Bernstein » Tue Aug 13, 2013 11:10 am

v008 is here. Fixes the Persistent Hash bug in v007. Thanks, Dann!
Attachments
stockfish-3-PA_GTB-008.7z
(2.57 MiB) Downloaded 774 times

ik4u
Posts: 1
Joined: Sun Aug 11, 2013 7:00 pm

Re: Stockfish 3 PA_GTB

Post by ik4u » Tue Aug 13, 2013 1:13 pm

Thanks Jeremy for this update...
Can you post a guide on how to do the compile from the SRC,

Vael Jean-Paul
Posts: 78
Joined: Thu Jun 10, 2010 7:59 am

Re: Stockfish 3 PA_GTB

Post by Vael Jean-Paul » Tue Aug 13, 2013 1:14 pm

Thanks Jemery !!

I just try to compile myself..but i think i need something more then this command line i use:
make profile-build ARCH=x86-64-modern COMP=mingw

Can you tell me what to add please!
Is this the last Stockfish source you have used?!
And is it possible for example to add GTB to a earlier source!!

Kind regards,
Jean-Paul.

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Stockfish 3 PA_GTB

Post by Jeremy Bernstein » Tue Aug 13, 2013 1:30 pm

Vael Jean-Paul wrote:Thanks Jemery !!

I just try to compile myself..but i think i need something more then this command line i use:
make profile-build ARCH=x86-64-modern COMP=mingw

Can you tell me what to add please!
Is this the last Stockfish source you have used?!
The included source reflects the released binaries. In order to build (with the command line you used), you need to build the kyotocabinet, qdbm and egtb libraries first:
pushd kyotocabinet; make clean; make; popd; pushd qdbm; make clean; make; popd; pushd egtb; make clean; make -f makefile.mingw; popd;
And is it possible for example to add GTB to a earlier source!!
It's possible of course, but I'm not going to do it! :-)

Jeremy

Vael Jean-Paul
Posts: 78
Joined: Thu Jun 10, 2010 7:59 am

Re: Stockfish 3 PA_GTB

Post by Vael Jean-Paul » Tue Aug 13, 2013 3:08 pm

Thank you!

But i get this now..when i copy your line in command:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\jpqy>cd Stockfish\src

C:\Users\jpqy\Stockfish\src>pushd kyotocabinet; make clean; make; popd; pushd qd
bm; make clean; make; popd; pushd egtb; make clean; make -f makefile.mingw; popd
;
The system cannot find the path specified.

C:\Users\jpqy\Stockfish\src>

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Stockfish 3 PA_GTB

Post by Jeremy Bernstein » Tue Aug 13, 2013 3:12 pm

You need to do that from the mingw Bash Shell, not from Cmd.

Vael Jean-Paul
Posts: 78
Joined: Thu Jun 10, 2010 7:59 am

Re: Stockfish 3 PA_GTB

Post by Vael Jean-Paul » Tue Aug 13, 2013 4:08 pm

Hi Jeremy,

I have PM'ed the logs!
Now i tried 3 times..he makes a lot files with your line..but when i want to make at last the compile with the line
i use from Stockfish..it just fails at the end.
So i think i'am amost there!

Maybe you can check what i'am missing right now..

Thanks in advance :!:

JP.

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Stockfish 3 PA_GTB

Post by Jeremy Bernstein » Tue Aug 13, 2013 4:17 pm

OK, go to the kyotocabinet directory and type "./configure" to generate a new makefile. I guess that my makefile might not be compatible with your system. You may need to do the same with qdbm (maybe not, though). libgtb seems to have built properly.

I had to make some changes to the generated makefile before kyotocabinet would actually build (which is why I included the makefile in the distro), so you might have to experiment a little bit, too.

Jeremy

Vael Jean-Paul
Posts: 78
Joined: Thu Jun 10, 2010 7:59 am

Re: Stockfish 3 PA_GTB

Post by Vael Jean-Paul » Tue Aug 13, 2013 4:30 pm

Thanks for your very fast replying!

I start up Git Bash

i go to the directory kyotocabinet..type: ./configure (enter)

he do checkings..files with Yes & No's ..and last line i get this:

configue: error: pthread.h is requied

Thanks for your help :!:

Jeremy Bernstein
Site Admin
Posts: 1226
Joined: Wed Jun 09, 2010 7:49 am
Real Name: Jeremy Bernstein
Location: Berlin, Germany
Contact:

Re: Stockfish 3 PA_GTB

Post by Jeremy Bernstein » Tue Aug 13, 2013 4:37 pm

Vael Jean-Paul wrote:Thanks for your very fast replying!

I start up Git Bash

i go to the directory kyotocabinet..type: ./configure (enter)

he do checkings..files with Yes & No's ..and last line i get this:

configue: error: pthread.h is requied

Thanks for your help :!:
Alright, a couple of things. First check out the MINGW_COMPILE.txt file in the kyotocabinet directory, where I documented what I had to do in order to get kyotocabinet to build due to a missing regex library. Second, it sounds like your mingw64 might not have a pthreads implementation. I am using the version here: http://sourceforge.net/projects/mingw-w ... 7-release/

jb

Post Reply