This is a C port of Stockfish.
Compiling Cfish requires a working gcc or clang environment. To compile, type:
make target [ARCH=arch] [COMP=compiler] [COMPCC=gcc-4.8] [further options]
Supported archs (default is
|x86 64-bit with popcnt support|
|x86 64-bit with pext support|
|x86 32-bit with SSE support|
|x86 32-bit fall back for old hardware|
|Gnu compiler (default)|
|MinGW Gnu compiler|
|LLVM Clang compiler|
|Intel compiler (untested)|
|Disable NUMA support|
|Disable -march=native compiler setting|
|Compile with link-time optimization|
|Compile with extra optimization options (gcc-7.x)|
numa=no to fix the error
cannot find -lnuma.
native=no to prevent the executable from being tied to the specific type of your CPU.
A positive contempt value lets Cfish evaluate a position more favourably the more material is left on the board.
By default, contempt is set to zero during analysis to ensure unbiased analysis. Set this option to White or Black to analyse with contempt for that side.
The number of CPU threads used for searching a position.
The size of the hash table in MB.
Clear the hash table.
Let Cfish ponder its next move while the opponent is thinking.
Output the N best lines when searching. Leave at 1 for best performance.
Compensation for network and GUI delay (in ms).
Path to the folders/directories storing the Syzygy tablebase files. Multiple directories are to be separated by ";" on Windows and by ":" on Unix-based operating systems. Do not use spaces around the ";" or ":".
Minimum remaining search depth for which a position is probed. Increase this value to probe less aggressively.
Disable to let fifty-move rule draws detected by Syzygy tablebase probes count as wins or losses. This is useful for ICCF correspondence games.
Limit Syzygy tablebase probing to positions with at most this many pieces left (including kings and pawns).
Use Syzygy DTM tablebases (not yet released).
Control PolyGlot book usage.
Control allocation of the hash table as Large Pages (LP). On Windows this option does not appear if the operating system lacks LP support or if LP has not properly been set up.
This option only appears on NUMA machines, i.e. machines with two or more CPUS. If this option is set to "on" or "all", Cfish will spread its search threads over all nodes. If the option is set to "off", Cfish will ignore the NUMA architecture of the machine. On Linux, a subset of nodes may be specified on which to run the search threads (e.g. "0-1" or "0,1" to limit the search threads to nodes 0 and 1 out of nodes 0-3).