|
From: Dr. D. K. <dav...@on...> - 2006-12-25 15:14:51
|
pgeorges wrote: > Hi, >=20 > David Kirkby a =E9crit : >=20 >>I'm not sending this from home, but are using my PDA, on which I don't = have access to my past emails stored on my home computer. Also, please ex= cuse errors here - typing a long email on a PDA is not fun and is error p= rone. >> >>Somebody (sorry forgot who) posted some mods to ChessDB which allow som= eone to play against Phalanx while using Crafty as a coach. I've tried th= is but were unable to get it working.=20 >> >>I have multiple chess engines defined, including=20 >>1) Current version of Crafty. >>2) Some older versions of Crafty compiled with support for multiple CPU= s (recent versions will not compile with SMP support on my quad CPU Sun U= ltraSPARC computer). >>3) Toga, which uses Polyglot as a UCI to Winboard interface. (Perhaps o= ne day we could integrate support for UCI engines, to avoid the need for = compiling Polygot too. A nice tickbox for UCI or winboard would be nice.)= =20 >> >>4) Phalanx which I just built on my Sun after some hacking of the Phala= nx source to get it to compile. >>5) chessdblet. >> >>There's probably a dozen different engines configured. (I wish ChessDB = would allow 4 or 5 to be used at once, rather than just engines #1 and #2= . Its nice to get views from several engies and if you have multiple CPUs= it does not impact performance) >> >>Although I set the playing engine to be Phalanx in your new code, the m= essages indicate that Toga is being used, not Phalanx as configured. It i= s then clear some commands sent to the engine (Toga) cause error messages= - for example a command to set a position does not work. The result is I= can't use it as intended.=20 >> >> =20 >> >=20 > The Phalanx engine *must be* the one embedded in the chessDB sources (i= n=20 > engines dir). As I already mentionned, I had to add the setboard=20 > feature to Phalanx, so Phalanx sources are a bit different. > I configured other engines in chessDB, and could select appropriate one= s=20 > to play a tactical game. For now I only tested Phalanx (modified) with=20 > Crafty (20.14) as coach. Can you try this set up ? >=20 I still can't get it top work. Here is the log file made by ChessDB.=20 Note that the reason it compplains about the crafty books is that these=20 are for x86, but the CPU is SPARC. The log is below. Note there seems to be Phalanx messages from both=20 Phalanx and Crafty. Are your mods useing the oringal log files. 1 Engine: Phalanx XXII 2 Engine: telluser Phalanx: Cannot open both [sbook.phalanx] and=20 [pbook.phalanx]2 Engine: tellics set 1 Phalanx XXII, 820 kB hashtable,=20 0/0 kB P/S opening book So Phalanx seems to be both engines 1 and 2, but I have the right hand=20 pane of your code to be Crafty and not Phalanx. Here's more of the log. 1 Engine: Phalanx XXII 1 NOTE : First line from engine seen; sending it initial commands now. 1 Scid : xboard 1 Scid : protover 2 1 Scid : ponder off 1 Scid : post 1 Engine: telluser Phalanx: Cannot open both [sbook.phalanx] and=20 [pbook.phalanx]2 Engine: Phalanx XXII 2 NOTE : First line from engine seen; sending it initial commands now. 2 Scid : xboard 2 Scid : protover 2 2 Scid : ponder off 2 Scid : post 1 Engine: tellics set 1 Phalanx XXII, easy level 100 1 Engine: 1 Engine: [ white, 1 ] 1 Engine: xboard mode on 1 Engine: Illegal move: protover 2 1 Engine: Illegal move: ponder off 1 Engine: post on 2 Engine: learning file ./learn.phalanx, 262144 bytes 2 Engine: telluser Phalanx: Cannot open both [sbook.phalanx] and=20 [pbook.phalanx]2 Engine: tellics set 1 Phalanx XXII, 820 kB hashtable,=20 0/0 kB P/S opening book 2 Engine: [ white, 1 ] 2 Engine: xboard mode on 2 Engine: Illegal move: protover 2 2 Engine: Illegal move: ponder off 2 Engine: post on 1 Scid : exit 1 Scid : quit 2 Scid : exit 2 Scid : quit 1 Scid : setboard rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq=20 - 0 1 1 Scid : go 1 Engine: Phalanx XXII 1 NOTE : First line from engine seen; sending it initial commands now. 1 Scid : xboard 1 Scid : protover 2 1 Scid : ponder off 1 Scid : post 1 Engine: telluser Phalanx: Cannot open both [sbook.phalanx] and=20 [pbook.phalanx]1 Engine: tellics set 1 Phalanx XXII, easy level 100 1 Engine: 1 Engine: [ white, 1 ] 1 Engine: xboard mode on 1 Engine: Illegal move: protover 2 1 Engine: Illegal move: ponder off 1 Engine: post on 2 NOTE : Quiet engine (still no output); sending it initial commands. 2 Scid : xboard 2 Scid : protover 2 2 Scid : post 2 Scid : ponder off 2 Scid : force 2 Engine: 2 Engine: ERROR! book.bin not made by version 17.0 or later 2 Engine: hash table memory =3D 384M bytes. 1 Scid : exit 1 Scid : quit 2 Scid : exit 2 Scid : quit 1 Scid : setboard rnbqkbnr/ppp1pppp/8/3p4/4PP2/8/PPPP2PP/RNBQKBNR b=20 KQkq - 0 2 1 Scid : go --=20 Dr. David Kirkby |