Search found 2116 matches

by Michel
Sat Nov 15, 2008 2:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI protocol and SMP
Replies: 46
Views: 13285

Re: UCI protocol and SMP

But you will _never_ with any chess program run more processes than you have processors. And I do mean _never_.
I do not agree. This is very useful for testing.
by Michel
Fri Nov 14, 2008 7:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI protocol and SMP
Replies: 46
Views: 13285

Re: UCI protocol and SMP

Threads doesn't work, not all programs use threads I know you'd say that :) But processes and threads are basically the same thing. On Linux threads are created by the clone call which is a sort of fork except that all memory is (or can be) shared. Internally everything is managed by the scheduler....
by Michel
Fri Nov 14, 2008 6:36 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI protocol and SMP
Replies: 46
Views: 13285

Re: UCI protocol and SMP

I think it should definitely be Threads.

I often run several threads on 1 CPU for testing. Of course performance goes down but for testing that's ok.

The default value for Threads should be the number of CPUs.


Regards,
Michel
by Michel
Fri Nov 14, 2008 4:48 pm
Forum: Computer Chess Club: General Topics
Topic: Question on running ICS bots
Replies: 12
Views: 1993

Re: Question on running ICS bots

I have my client (icsdrone-ng) send a "ping" command every minute.

I.e. an (illegal) command

ping_timestamp

That seems to overcome the 60 min idle time limit.

Disclaimer: this is on FICS and not ICS.
by Michel
Fri Nov 14, 2008 9:44 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

Alessandro Scotti (Alessandro Scotti) wrote Great job Michel, Hamsters can use Polyglot books now! Smile Fantastic. Good to know that my work has already had some use. ilari (Ilari Pihlajisto) wrote Michel! I don't see myself directly using Polyglot books in Sloppy or my other projects Well perhaps ...
by Michel
Fri Nov 14, 2008 9:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

I have now included some sample code in the specification * pg_key.c: This little utility computes the PG key of a FEN. Note that it does ZERO error checking on the legality of the FEN and hence will segfault if something is wrong. * pg_show.c: This utility looks up a PG key in a PG book and prints ...
by Michel
Tue Nov 11, 2008 11:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

Say for instance as white, I only play 1. e4. Other possible moves such as 1. d4 or 1. c4, need to be in the book because I need to know how to respond to them as black, but I would never play them as white. Ok I understand. In PG you would set the weights of d4 and c4 equal to zero. In fact it see...
by Michel
Tue Nov 11, 2008 11:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

Once again a new version. There are no changes in the specs but one
of the test keys was wrong (a copying error).

I have now independently verified them.
by Michel
Tue Nov 11, 2008 8:35 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

I did not see mention of color support in the book spec. So with this format it is not possible to specify opening to be played only as white? I don't quite understand what you mean. The color is encoded in the position. Can you explain? If you add some of the ideas from this model to the polyglot ...
by Michel
Tue Nov 11, 2008 8:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Polyglot opening book specification
Replies: 19
Views: 4421

Re: Polyglot opening book specification

I have posted a new version as I had forgotten to indicate how castling moves are represented.

See here

http://alpha.uhasselt.be/Research/Algebra/Toga/

Michel