Moderators: hgm, Andres Valverde
xboard
protover 2
StormSergey wrote:stalker@stalker:/usr/games$ Rybka3Linux
[...]
stalker@stalker:~$ cat polyglot_1st.ini
[Polyglot]
EngineDir = .
EngineCommand = Rybka3Linux
[...]
stalker@stalker:~$ polyglot ./polyglot_1st.ini
PolyGlot 1.4 by Fabien Letouzey
xboard -fcp /usr/games/Rybka3Linux
polyglot -noini -ec Rybka3Linux
xboard -fcp /usr/games/Rybka3Linux
http://s47.radikal.ru/i116/0911/c0/39d7773c7eb7.jpg
http://www.open-aurec.com/wbforum/viewtopic.php?f=19&t=50453
xboard -fcp /usr/games/Rybka3Linux
polyglot -noini -ec /usr/games/Rybka3Linux
polyglot -noini -ec Rybka3Linux
stalker@ubuntu:~$ polyglot -noini -ec /usr/games/Rybka3Linux
PolyGlot 1.4.50b by Fabien Letouzey.
xboard
new
post
go
2 +40 0 24 Nf3
3 +23 0 48 Nf3
4 +27 0 153 Nf3
5 +23 0 333 Nf3 Nf6
6 +19 1 806 Nf3 Nf6 Nc3
7 +26 3 2182 Nf3 Nf6 d4 Nc6
8 +25 5 3913 Nf3 Nf6 d4 Nc6 Nc3
9 +27 14 9851 Nf3 Nf6 d4 Nc6 Nc3 d5
10 +24 29 21525 Nf3 Nf6 d4 d5 Nc3 Nc6 Bf4
11 +24 48 36629 Nf3 Nf6 d4 d5 Nc3 Nc6 Bf4 Bf5
12 +24 105 78842 Nf3 Nf6 d4 d5 Nc3 Nc6 Bf4 Bf5 e3
12 +25 172 127702 e4 Nc6 Nf3 Nf6 e5 Nd5 Nc3
13 +23 453 367095 e4 e5 Nf3 Nf6 Nc3 Nc6 Bc4 Bc5 O-O O-O d3 h6
13 +23 713 556312 e4 e5 Nf3 Nf6 Nc3 Nc6 Bc4 Bc5 O-O O-O d3 h6
move e2e4
go
11 -23 0 12 e5 Nf3 Nf6 Nc3 Nc6 Bc4 Bc5 O-O O-O d3 h6
12 -23 0 14 e5 Nf3 Nf6 Nc3 Nc6 Bc4 Bc5 O-O O-O d3 h6
13 -6 176 150779 e5 Nf3 Nf6 Nc3 Bb4 Bc4 O-O O-O d6 d3 Nc6
13 -6 284 211646 e5 Nf3 Nf6 Nc3 Bb4 Bc4 O-O O-O d6 d3 Nc6
move e7e5
stalker@ubuntu:~$ polyglot -noini -ec Rybka3Linux
PolyGlot 1.4.50b by Fabien Letouzey.
Rybka3Linux: No such file or directory
stalker@ubuntu:~$
xboard -fcp /usr/games/Rybka3Linux -fUCI
vdbergh@ubuntu:~$ polyglot -noini -ec fdfsdfsd
PolyGlot 1.4.50b by Fabien Letouzey.
engine_open(): execvp(): fdfsdfsd: No such file or directory
vdbergh@ubuntu:~$
stalker@ubuntu:~$ xboard -fcp /usr/games/Rybka3Linux -fUCI
xboard: Error: first chess program (polyglot ./polyglot_1st.ini) exited unexpectedly
stalker@ubuntu:~$
stalker@ubuntu:~$ xboard -fcp /usr/games/Rybka3Linux -fUCI
xboard: Error: first chess program (polyglot ./polyglot_1st.ini) exited unexpectedly
stalker@ubuntu:~$
1259323243.706 POLYGLOT *** LOGFILE OPENED ***
1259323243.706 PolyGlot 1.4.50b by Fabien Letouzey.
1259323243.706 POLYGLOT *** START ***
1259323243.740 Adapter->Engine: uci
1259323243.919 Engine->Adapter: id name Rybka 2.2n2 mp
1259323243.919 Engine->Adapter: id author Vasik Rajlich
1259323243.919 Engine->Adapter: option name Hash type spin min 2 max 4096 default 32
1259323243.919 Engine->Adapter: option name Max CPUs type spin min 1 max 2048 default 2048
1259323243.919 Engine->Adapter: option name Display Draw Scores type check default false
1259323243.920 Engine->Adapter: option name Engine Priority type combo default NormalAndLow var Normal var NormalAndLow var Low
1259323243.920 Engine->Adapter: option name Display PV Tips type check default false
1259323243.920 Engine->Adapter: option name CPU Usage type spin min 1 max 100 default 100
1259323243.920 Engine->Adapter: option name Win Percentage to Hash Usage type check default false
1259323243.920 Engine->Adapter: option name Display Current Move type check default true
1259323243.921 Engine->Adapter: option name Compensate Lost Time type check default true
1259323243.921 Engine->Adapter: option name NalimovPath type string default <empty>
1259323243.921 Engine->Adapter: option name NalimovCache type spin min 1 max 256 default 1
1259323243.921 Engine->Adapter: option name NalimovUsage type combo default Never var Frequently var Normally var Rarely var Never
1259323243.921 Engine->Adapter: option name Preserve Analysis type check default false
1259323243.921 Engine->Adapter: option name Clear Hash type button
1259323243.922 Engine->Adapter: option name Ponder type check default true
1259323243.922 Engine->Adapter: option name MultiPV type spin default 1 min 1 max 100
1259323243.922 Engine->Adapter: option name UCI_ShowRefutations type check default false
1259323243.922 Engine->Adapter: option name UCI_LimitStrength type check default false
1259323243.922 Engine->Adapter: option name UCI_Elo type spin default 1200 min 1200 max 2400
1259323243.923 Engine->Adapter: option name Server Buffer type check default false
1259323243.923 Engine->Adapter: option name UCI_AnalyseMode type check default false
1259323243.923 Engine->Adapter: option name UCI_Opponent type string default <empty>
1259323243.923 Engine->Adapter: option name UCI_EngineAbout type string default www.rybkachess.com
1259323243.924 Engine->Adapter: option name Outlook type combo default Neutral var Very Pessimistic var Slightly Pessimistic var Neutral var Slightly Optimistic var Very Optimistic var Ultra Optimistic
1259323243.924 Engine->Adapter: option name Rate Of Play type combo default Normal var Ultraslow var Slow var Normal var Fast var Ultrafast
1259323243.924 Engine->Adapter: option name Time Usage type combo default Varied var Constant var Varied
1259323243.924 Engine->Adapter: option name Emergency Time Buffer type combo default Medium var Small var Medium var Large
1259323243.924 Engine->Adapter: uciok
1259323243.925 POLYGLOT INI file "/home/vdbergh/.polyglot/Rybka_2.2n2_mp.ini"
1259323243.925 POLYGLOT Unable to open /home/vdbergh/.polyglot/Rybka_2.2n2_mp.ini
1259323243.925 POLYGLOG OPTIONS
1259323243.925 POLYGLOT [PolyGlot] EngineCommand="./Rybka2Linux"
1259323243.925 POLYGLOT [PolyGlot] Log="true"
1259323243.925 POLYGLOT Setting PolyGlot option EngineCommand="./Rybka2Linux"
1259323243.925 POLYGLOT Setting PolyGlot option Log="true"
1259323243.925 POLYGLOT *** SWITCHING LOGFILE ***
1259323243.925 POLYGLOT NEW LOGFILE "polyglot.log"
1259323243.925 POLYGLOT *** LOGFILE OPENED ***
1259323243.925 GUI->Adapter: xboard
1259323243.925 GUI->Adapter: protover 2
1259323243.925 Adapter->GUI: feature done=0
1259323243.925 Adapter->GUI: feature analyze=1
1259323243.925 Adapter->GUI: feature colors=0
1259323243.925 Adapter->GUI: feature draw=1
1259323243.925 Adapter->GUI: feature ics=1
1259323243.925 Adapter->GUI: feature myname="Rybka 2.2n2 mp"
1259323243.925 Adapter->GUI: feature name=1
1259323243.925 Adapter->GUI: feature pause=0
1259323243.925 Adapter->GUI: feature ping=1
1259323243.925 Adapter->GUI: feature playother=1
1259323243.925 Adapter->GUI: feature reuse=1
1259323243.925 Adapter->GUI: feature san=0
1259323243.925 Adapter->GUI: feature setboard=1
1259323243.925 Adapter->GUI: feature sigint=0
1259323243.925 Adapter->GUI: feature sigterm=0
1259323243.925 Adapter->GUI: feature time=1
1259323243.925 Adapter->GUI: feature usermove=1
1259323243.925 Adapter->GUI: feature memory=1
1259323243.925 Adapter->GUI: feature smp=1
1259323243.925 Adapter->GUI: feature egt="nalimov"
1259323243.925 Adapter->GUI: feature variants="normal"
1259323243.925 POLYGLOT Decapitalizing "Draw" in option "Display Draw Scores"
1259323243.925 Adapter->GUI: feature option="Display draw Scores -check 0"
1259323243.925 Adapter->GUI: feature option="Engine Priority -combo Normal /// *NormalAndLow /// Low"
1259323243.925 Adapter->GUI: feature option="Display PV Tips -check 0"
1259323243.925 Adapter->GUI: feature option="CPU Usage -spin 100 1 100"
1259323243.925 Adapter->GUI: feature option="Win Percentage to Hash Usage -check 0"
1259323243.925 Adapter->GUI: feature option="Display Current Move -check 1"
1259323243.925 Adapter->GUI: feature option="Compensate Lost Time -check 1"
1259323243.925 Adapter->GUI: feature option="NalimovCache -spin 1 1 256"
1259323243.925 Adapter->GUI: feature option="NalimovUsage -combo Frequently /// Normally /// Rarely /// *Never"
1259323243.925 Adapter->GUI: feature option="Preserve Analysis -check 0"
1259323243.925 Adapter->GUI: feature option="Clear Hash -button"
1259323243.925 Adapter->GUI: feature option="MultiPV -spin 1 1 100"
1259323243.925 Adapter->GUI: feature option="UCI_LimitStrength -check 0"
1259323243.925 Adapter->GUI: feature option="UCI_Elo -spin 1200 1200 2400"
1259323243.925 Adapter->GUI: feature option="Server Buffer -check 0"
1259323243.925 Adapter->GUI: feature option="UCI_EngineAbout -string www.rybkachess.com"
1259323243.925 Adapter->GUI: feature option="Outlook -combo Very Pessimistic /// Slightly Pessimistic /// *Neutral /// Slightly Optimistic /// Very Optimistic /// Ultra Optimistic"
1259323243.925 Adapter->GUI: feature option="Rate Of Play -combo Ultraslow /// Slow /// *Normal /// Fast /// Ultrafast"
1259323243.925 Adapter->GUI: feature option="Time Usage -combo Constant /// *Varied"
1259323243.925 Adapter->GUI: feature option="Emergency Time Buffer -combo Small /// *Medium /// Large"
1259323243.925 Adapter->GUI: feature option="Polyglot SettingsFile -file /home/vdbergh/.polyglot/Rybka_2.2n2_mp.ini"
1259323243.925 Adapter->GUI: feature option="Polyglot Log -check 1"
1259323243.925 Adapter->GUI: feature option="Polyglot LogFile -file polyglot.log"
1259323243.925 Adapter->GUI: feature option="Polyglot Resign -check 0"
1259323243.925 Adapter->GUI: feature option="Polyglot ResignMoves -spin 3 0 10000"
1259323243.925 Adapter->GUI: feature option="Polyglot ResignScore -spin 600 0 10000"
1259323243.925 Adapter->GUI: feature option="Polyglot Book -check 0"
1259323243.925 Adapter->GUI: feature option="Polyglot BookFile -file book.bin"
1259323243.925 Adapter->GUI: feature option="Polyglot BookRandom -check 1"
1259323243.925 Adapter->GUI: feature option="Polyglot BookDepth -spin 256 0 256"
1259323243.925 Adapter->GUI: feature option="Polyglot Save -save"
1259323243.925 Adapter->GUI: feature done=1
1259323243.928 GUI->Adapter: accepted done
1259323243.928 GUI->Adapter: accepted analyze
1259323243.928 GUI->Adapter: accepted colors
1259323243.928 GUI->Adapter: accepted draw
1259323243.928 GUI->Adapter: accepted ics
1259323243.928 GUI->Adapter: accepted myname
1259323243.928 GUI->Adapter: accepted name
1259323243.928 GUI->Adapter: accepted pause
1259323243.928 GUI->Adapter: accepted ping
1259323243.928 GUI->Adapter: accepted playother
1259323243.928 GUI->Adapter: accepted reuse
1259323243.928 GUI->Adapter: accepted san
1259323243.928 GUI->Adapter: accepted setboard
1259323243.928 GUI->Adapter: accepted sigint
1259323243.928 GUI->Adapter: accepted sigterm
1259323243.928 GUI->Adapter: accepted time
1259323243.928 GUI->Adapter: accepted usermove
1259323243.928 GUI->Adapter: accepted memory
1259323243.928 GUI->Adapter: accepted smp
1259323243.928 GUI->Adapter: accepted egt
1259323243.928 GUI->Adapter: accepted variants
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.928 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted option
1259323243.929 GUI->Adapter: accepted done
1259323243.929 GUI->Adapter: memory 68
1259323243.929 POLYGLOT setting the amount of memory to 68Mb
1259323243.929 POLYGLOT Nalimov Cache is 1Mb
1259323243.929 Adapter->Engine: setoption name Hash value 67
1259323243.929 GUI->Adapter: cores 1
1259323243.929 POLYGLOT setting the number of cores to 1
1259323243.929 Adapter->Engine: setoption name Max CPUs value 1
1259323243.929 GUI->Adapter: new
1259323243.929 Adapter->Engine: isready
1259323243.929 POLYGLOT NEW GAME
1259323243.930 POLYGLOT WAIT
1259323243.930 Adapter->Engine: ucinewgame
1259323243.930 GUI->Adapter: random
1259323243.930 GUI->Adapter: ics -
1259323243.930 GUI->Adapter: level 40 5 0
1259323243.930 GUI->Adapter: post
1259323243.930 GUI->Adapter: hard
1259323243.930 POLYGLOT WAIT
1259323243.930 GUI->Adapter: ping 1
1259323243.930 Adapter->GUI: pong 1
1259323243.989 Engine->Adapter: EOF
1259323243.989 POLYGLOT *** Mainloop has ended ***
1259323243.989 Adapter->Engine: EOF
1259323243.989 POLYGLOT Calling exit
memory 680
Shared memory allocation of 536870960 bytes failed; the program will
probably crash very soon. (shmget: Invalid argument)
Usually, this is the sign of too little shared memory allocated
on the system. Try the following command as root and see if it
helps:
echo 536879152 > /proc/sys/kernel/shmmax
Segmentation fault
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.
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 10 guests