Stockfish beta - Compiling it yourself!!

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

Moderators: hgm, Rebel, chrisw

jpqy
Posts: 550
Joined: Thu Apr 24, 2008 9:31 am
Location: Belgium

Stockfish beta - Compiling it yourself!!

Post by jpqy »

Hi guys..here you can download the source from the latest Stockfish and you have to compile it yourself :wink:

So,if some off you compilers will take a look to it..here is the link:

https://github.com/mcostalba/Stockfish

4. Compiling it yourself
------------------------

On Unix-like systems, it should usually be possible to compile
Stockfish directly from the source code with the included Makefile.

For big-endian machines like Power PC you need to enable the proper
flag changing from -DNBIGENDIAN to -DBIGENDIAN in the Makefile.

Stockfish has POPCNT instruction runtime detection and support. This can
give an extra speed on Core i7 or similar systems. To enable this feature
compile with 'make icc-profile-popcnt'

On 64 bit systems the 'bsfq' assembly instruction will be used for bit
counting. Detection is automatic at compile time, but in case you experience
compile problems you can comment out #define USE_BSFQ line in types.h

In general is recommended to run 'make help' to see a list of make targets
with corresponding descriptions.

Thanks to the Stockfish team!

JP.
User avatar
pocopito
Posts: 238
Joined: Tue Jul 12, 2011 1:31 pm

Re: Stockfish beta - Compiling it yourself!!

Post by pocopito »

Thanks for the info

I installed it in fedora15 x86-64 without problems:

$ make profile-build ARCH=x86-64-modern


I've made a quick tesit in scidVSpc and seems to wrok fine
User avatar
Marek Soszynski
Posts: 582
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Stockfish beta - Compiling it yourself!!

Post by Marek Soszynski »

Compiled and works fine in Sabayon 64-bit through Scid.

Node count is an unscientific 9% faster than 211-64-ja.
Marek Soszynski
viriathus
Posts: 32
Joined: Wed Dec 16, 2009 12:35 am

Re: Stockfish beta - Compiling it yourself!!

Post by viriathus »

Compiled without problems:

Arch Linux 64 bits

Node/Seconds (stockfish bench) 15% faster than stockfish-21-64-ja