Moderators: hgm, Andres Valverde
Can Set disappointing conclusion that Rybka3Linux on Xboard does not work
stalker@ubuntu:~$ xboard -fcp Rybka3Linux -fUCI
xboard: Failed to start first chess program polyglot ./polyglot_1st.ini on localhost: Rybka3Linux: No such file or directory
stalker@ubuntu:~$ xboard -fcp Rybka3Linux -fUCI
xboard: Error writing to first chess program: Broken pipe
xboard: Failed to start first chess program polyglot ./polyglot_1st.ini on localhost: Rybka3Linux: No such file or directory
stalker@ubuntu:~$
stalker@ubuntu:~$ xboard -fcp Rybka3Linux -fUCI
xboard: Failed to start first chess program polyglot ./polyglot_1st.ini on localhost: Rybka3Linux: No such file or directory
One last trick
If you want to use more than 32 MB for the Hash tables, open gedit with root rights
sudo gedit
and add the line
kernel.shmmax = 268443648
to the file /etc/sysctl.conf.
root@ubuntu:~# cd /usr/games
root@ubuntu:/usr/games# ./Rybka3Linux
uci
id name Rybka 3
id author Vasik Rajlich, Larry Kaufman
option name UCI_Query type button
option name Hash type spin min 2 max 4096 default 32
option name Max CPUs type spin min 1 max 2048 default 2048
option name NalimovPath type string default <empty>
option name NalimovCache type spin min 1 max 256 default 1
option name NalimovUsage type combo default Rarely var Frequently var Normally var Rarely var Never
option name Preserve Analysis type check default false
option name Clear Hash type button
option name Saved Hash File type string default <empty>
option name Save Hash type button
option name Load Hash type button
option name Persistent Hash Enabled type check default false
option name Persistent Hash File type string default <empty>
option name Persistent Hash Play Depth type spin default 64 min 8 max 64
option name Persistent Hash Write Depth type spin default 10 min 8 max 64
option name Persistent Hash Size type spin default 16 min 8 max 65536
option name Persistent Hash Reset type button
option name Persistent Hash Resize type button
option name Persistent Hash Merge File type string default <empty>
xboard: Error: first chess program (polyglot ./polyglot_1st.ini) exited unexpectedly
sudo invoke-rc.d procps start
cat /proc/sys/kernel/shmmax
xboard -fcp /usr/games/Rybka3Linux -fUCI -defaultHashSize 16
Michel wrote:xboard -fcp /usr/games/Rybka3Linux -fUCI -defaultHashSize 16
Of course that works but it doesn't help if you want to use Rybka with a reasonable amount of hash. There is a simple
permanent solution which makes Rybka run with any hash size you want. I was trying to explain this.
stalker@ubuntu:~$ xboard -fcp fruit -fUCI -scp Rybka3Linux -sUCI -mg 10
xboard: Error writing to second chess program: Broken pipe
xboard: Failed to start second chess program polyglot ./polyglot_2nd.ini on localhost: Rybka3Linux: No such file or directory
xboard: Error writing to second chess program: Broken pipe
xboard: Error writing to second chess program: Broken pipe
xboard: Error writing to second chess program: Broken pipe
xboard: Error writing to second chess program: Broken pipe
xboard: Error writing to second chess program: Broken pipe
*** glibc detected *** xboard: double free or corruption (out): 0x00007fffee7391b0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f7215f0fdd6]
/lib/libc.so.6(cfree+0x6c)[0x7f7215f1470c]
xboard[0x42ef8b]
xboard[0x426cc6]
xboard[0x4240ee]
xboard[0x41c71b]
xboard[0x44dd8f]
/usr/lib/libXt.so.6[0x7f721592e5a6]
/usr/lib/libXt.so.6(XtAppNextEvent+0xa9)[0x7f721592e6e9]
/usr/lib/libXt.so.6(XtAppMainLoop+0x43)[0x7f7215920bd3]
xboard[0x440bef]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f7215eb8abd]
xboard[0x404ef9]
======= Memory map: ========
00400000-00531000 r-xp 00000000 07:00 252255 /usr/local/bin/xboard
00730000-00731000 r--p 00130000 07:00 252255 /usr/local/bin/xboard
00731000-0079e000 rw-p 00131000 07:00 252255 /usr/local/bin/xboard
0079e000-0091e000 rw-p 00000000 00:00 0
01456000-0153a000 rw-p 00000000 00:00 0 [heap]
7f7210000000-7f7210021000 rw-p 00000000 00:00 0
7f7210021000-7f7214000000 ---p 00000000 00:00 0
7f7214275000-7f721428b000 r-xp 00000000 07:00 970 /lib/libgcc_s.so.1
7f721428b000-7f721448a000 ---p 00016000 07:00 970 /lib/li
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 3 guests