Stockfish in Linux/ Xboard

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Ponti
Posts: 504
Joined: Wed Mar 15, 2006 6:13 am
Location: Curitiba - PR - BRAZIL
Full name: Aloisio Ponti Lopes

Stockfish in Linux/ Xboard

Post by Ponti »

Please help, Iḿ getting that "broken pipe" error...
A. Ponti
AMD Ryzen 1800x, Windows 10.
FIDE current ratings: standard 1913, rapid 1931
User avatar
hgm
Posts: 28461
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Stockfish in Linux/ Xboard

Post by hgm »

From XBoard or from Polyglot?

If XBoard says it, it means that Polyglot broke the pipe by exiting. Usually it does that when the engine name was not correct, so that it cannot find the engine executable, and calls it a day. Usually it also produces an error message by itself then, though (usually starting with "pipex: ..."). Even if the broken pipeis due to Polyglot exiting, it is still important to know why it thought it had to exit, so the exact texts in ALL the error popups are quite relevant for diagnosing the problem.

If you somehow do not get the error popups, run with the extra option -debug, and post the xboard.debug file that is created here. Than we can see what exactly happens.

Note that when you have compliantly installed XBoard, Polyglot and Stockfish the command

xboard -fcp stockfish -fUCI

should be enough to run Stockfish under XBoard. An extra test would be if typing "stockfish" from the command line runs Stockfish without problem in the terminal.