Stockfish problem in Scid

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

Moderator: Ras

User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Stockfish problem in Scid

Post by Marek Soszynski »

I've been happily compiling most each new 64-bit Linux Stockfish developmental version to use in Scid. Unfortunately something has gone wrong with recent versions. They compile okay (and run the benchmark) but when I change the UCI parameters within Scid they go on to crash. Typically I change only the hash and switch off the book. I can't remember the exact version when this started to happen. Currently I'm on 120311.
Marek Soszynski
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish problem in Scid

Post by mcostalba »

Marek Soszynski wrote:They compile okay (and run the benchmark) but when I change the UCI parameters within Scid they go on to crash. Typically I change only the hash and switch off the book.
Do you change the hash while searching? In this case you should not. A recent change made option setting effect immediate, so if you change the hash size it will be changed immediately and if the engine is searching a crash is assured.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Stockfish problem in Scid

Post by Marek Soszynski »

The hash wasn't changed while searching. I've now restarted the comp and Scid doesn't show the Stockfish analysis at all nor nodes or depth etc., though System Monitor confirms SF is running.
Marek Soszynski
Justin Sherron
Posts: 29
Joined: Thu Mar 04, 2010 11:35 pm

Re: Stockfish problem in Scid

Post by Justin Sherron »

I've been happily compiling most each new 64-bit Linux Stockfish developmental version to use in Scid. Unfortunately something has gone wrong with recent versions....
...Scid doesn't show the Stockfish analysis at all nor nodes or depth etc., though System Monitor confirms SF is running...
I don't know if this is helpful, but a few days ago I observed these same symptoms after compiling a 32-bit version of Stockfish and using the X-Board GUI. It seems not to be a 64-bit/Scid specific issue.
IGarcia
Posts: 543
Joined: Mon Jul 05, 2010 10:27 pm

Re: Stockfish problem in Scid

Post by IGarcia »

Marek Soszynski wrote:Currently I'm on 120311.
And tomorrow you will be in 120312 version :D

..its current day, unless you set
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Stockfish problem in Scid

Post by Marek Soszynski »

I've been running Stockfish 64-bit 9934b8e in Scid. It runs normally with the default UCI settings. However, after I increase the hash, the analysis window is blank. System Monitor shows Stockfish is running, taking up the increased hash, though not using the second processor.

Stockfish 2.2.2 JA is okay.
Marek Soszynski
Justin Sherron
Posts: 29
Joined: Thu Mar 04, 2010 11:35 pm

Re: Stockfish problem in Scid

Post by Justin Sherron »

I've been running Stockfish 64-bit 9934b8e in Scid. It runs normally with the default UCI settings. However, after I increase the hash, the analysis window is blank. System Monitor shows Stockfish is running, taking up the increased hash, though not using the second processor.

Stockfish 2.2.2 JA is okay.
Are you making PGO-optimized builds when you compile? When I make PGO builds, the program malfunctions in a manner similar to your description (as well as making X-Board unresponsive). It appears that non-PGO builds work perfectly fine though, at least on my machine.

The earlier Stockfish 2.2.2 code compiles and runs fine regardless of its PGO status when compiling.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Stockfish problem in Scid

Post by Marek Soszynski »

Justin Sherron wrote:
I've been running Stockfish 64-bit 9934b8e in Scid. It runs normally with the default UCI settings. However, after I increase the hash, the analysis window is blank. System Monitor shows Stockfish is running, taking up the increased hash, though not using the second processor.

Stockfish 2.2.2 JA is okay.
Are you making PGO-optimized builds when you compile? When I make PGO builds, the program malfunctions in a manner similar to your description (as well as making X-Board unresponsive). It appears that non-PGO builds work perfectly fine though, at least on my machine.

The earlier Stockfish 2.2.2 code compiles and runs fine regardless of its PGO status when compiling.
Thank for the suggestion, Justin. Unfortunately, on my machine the non-PGO builds suffer the same fate: default UCI settings fine, changed settings crash.
Marek Soszynski
stevenaaus
Posts: 615
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: Stockfish problem in Scid

Post by stevenaaus »

Marek Soszynski wrote:I've been happily compiling most each new 64-bit Linux Stockfish developmental version to use in Scid. Unfortunately something has gone wrong with recent versions. They compile okay (and run the benchmark) but when I change the UCI parameters within Scid they go on to crash. Typically I change only the hash and switch off the book. I can't remember the exact version when this started to happen. Currently I'm on 120311.
I can verify this on 32bit Fedora 7. The engine becomes unresponsive after these commands

Code: Select all

Scid  : setoption name Clear Hash value false
Scid  : isready
If one edits ~/.scid/config/engines.dat and removes the
{{Clear Hash} {VALUE}} tuplet, the engine works ok.
User avatar
Marek Soszynski
Posts: 587
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Stockfish problem in Scid

Post by Marek Soszynski »

Thanks for the pointer, Steven.

By editing the DAT file directly and inserting...

Code: Select all

UCIoptions {{Hash 512} {OwnBook false}}
... I was able to achieve what I wanted. On first installing the 9934b8e engine in Scid, UCIoptions is blank otherwise. That doesn't seem to be the case when other engines are installed, including stockfish-222-64-ja.
Marek Soszynski