Search found 27 matches

by Lasse Hansen
Sat Aug 19, 2017 6:56 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hardware questions about cores and threads and /proc/cpuinfo
Replies: 3
Views: 1025

Re: Hardware questions about cores and threads and /proc/cpu

I use i7z_GUI to get the correct frequencies.
IIRC it's installed by sudo apt-get install i7z-gui
Works like a charm for i7-2600K and i7-4790K

Regards, Lasse
by Lasse Hansen
Mon Aug 31, 2015 7:56 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft using nullmove
Replies: 6
Views: 2396

Re: Perft using nullmove

A little update. If the code for pawn nullmove count is replaced by this: TMove PawnMoves[32], *MPL; MPL = MovgenPawns<WTM, ASSUME_PINS>(st, PawnMoves); M = PawnMoves; while (M < MPL) { if (SPECIAL2(*M)) { *LM++ = *M++; continue; } // en-passant and promoti...
by Lasse Hansen
Sat Aug 29, 2015 4:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: C pitfall
Replies: 8
Views: 1433

Re: C pitfall

Ok this means a + b ? c : d + f + g is the same as ( a + b) ? c : (d + f + g ) Am I right ? And the same holds if + would be && or || Yes, both + and &&, || has higher precedence than ?: One mistake I have made often is that if (a & b == c) is different from if ((a & b) == c...
by Lasse Hansen
Sat Aug 29, 2015 4:34 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: C pitfall
Replies: 8
Views: 1433

Re: C pitfall

Just found a bug. Maybe I posted it before. a + b ? c : d + f + g is not the same as a + (b ? c : d) + f + g I think I will always place parenthesis when using ?: in the future for this is certainly not the first time. Don't ask me what happens if + would be &&. Try using this: Operator Pre...
by Lasse Hansen
Sat Aug 29, 2015 12:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft using nullmove
Replies: 6
Views: 2396

Re: Perft using nullmove

cdani wrote: Excuse my ignorance. What has to do perft with nullmove? When remaining depth in perft is 1 (before end leaf) one may use nullmove to count the number of moves for the other side (BTM) = NullMoveCt. All moves= FreeMoves (for side to move WTM) that does not influence BTM moves, perft(1) ...
by Lasse Hansen
Sat Aug 29, 2015 5:43 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft using nullmove
Replies: 6
Views: 2396

Perft using nullmove

Some time ago I thought I should try out some of the features of C++, and eventually rewrite my engine Sillycon from scratch using C++. Then of course the first step is to write a move generator, and this needs a perft function for verification. Since I have seen some other using nullmove in perft c...
by Lasse Hansen
Sat Aug 22, 2015 5:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Bug of the week
Replies: 16
Views: 1682

Re: Bug of the week

Code: Select all

d1&#40;20&#41; t=0.00s s=0.24 N=2041 0knps BF=2041.00 HT=0.00 HTQ=116
   PV&#40;7&#41;1... Nxe4 2. Qxd5 Nxc3 3. Rxc3 Bxf3 4. Qxf3 Nxd4
Hehe, guess I also have a somewhat exploding quiescense search :)
by Lasse Hansen
Sat Aug 22, 2015 4:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney August
Replies: 40
Views: 4674

Re: On-line engine blitz tourney August

The message I get is just "Connected closed by ICS" in a separate window. lasseh@i7:~$ timeseal winboard.nl 5000 timeseal: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed. Aborted (core dumped) lasseh@i7:~$ Maybe I need to find a more recent timeseal binary.....
by Lasse Hansen
Sat Aug 22, 2015 3:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney August
Replies: 40
Views: 4674

Re: On-line engine blitz tourney August

The message I get is just "Connected closed by ICS" in a separate window. lasseh@i7:~$ timeseal winboard.nl 5000 timeseal: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed. Aborted (core dumped) lasseh@i7:~$ Maybe I need to find a more recent timeseal binary...
by Lasse Hansen
Sat Aug 22, 2015 2:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: On-line engine blitz tourney August
Replies: 40
Views: 4674

Re: On-line engine blitz tourney August

I tried to connect to the winboard.nl server with Xboard 4.7.3 under Ubuntu 14.04, with my engine Sillycon, as guest. I got it working without timeseal, but not with. xboard -size medium -zp -ics -icshost winboard.nl \ -fcp /home/lasseh/Projects/FICS/scn058 \ -fd /home/lasseh/Projects/FICS -autoKibi...