Page 1 of 1

How do I compile stockfish on windows 64?

Posted: Sat Dec 17, 2011 9:09 pm
by dbxuau
I would like to dabble into stockfish so I just installed visual studio 2010 ultimate and downloaded the source. I imported everything into visual studio fine, but now what? I hear about all these special commands and settings you have to do with POPCNT and optimization etc. Can someone guide a newbie by the hand and show me how to compile this? Also, how do you change default UCI settings. I would like the .exe to look for its book by default and use best moves, and limit the number of threads to 4 (turn ht off on my i7). THANKS!

How do I compile stockfish on windows 64?

Posted: Sat Dec 17, 2011 9:51 pm
by dbxuau
Hello, I need some guidance with compiling stockfish. I am on windows 7 64bit and just installed visual studio ultimate. I would like to compile the "fastest" and most optimized version for the i7-cpu. Furthermore, I am trying to figure out how to hardcore some of the default uci values, forexample, make the exe default to 4 cores and 512 mb hash. Please be detailed in your explanations, thank you kindly!

Re: How do I compile stockfish on windows 64?

Posted: Mon Dec 19, 2011 12:42 am
by quantum
In order to change default hash go to ucioption.cpp and change the line
["Hash"] = UCIOption(32, 4, 8192);

to

["Hash"] = UCIOption(512, 4, 8192);