Page 2 of 2

Re: New UCI Engine: Demolito

PostPosted: Tue Mar 28, 2017 7:48 pm
by H.G.Muller
User923005 wrote:Your engine is the only one that ever crashed from my wrong sequence.

That is probably because it most definitely is a UCI violation to crash. The specs say that when you receive a command that should not come at that time, you should simply ignore it. Crashing does not really count as ignoring.

A 'ucinewgame' doesn't seem to be really forbidden in this situation, though. The specs only say that an 'isready' is required before the engine is set searching. 'ucinewgame' doesn't really set it searching.

Code: Select all
   This command is also required once before the engine is asked to do any search
   to wait for the engine to finish initializing.

The formulation furthermore suggests that this is only for timing reasons, to prevent the GUI sets the engine's clock running while it is still tied up in other tasks.

Re: New UCI Engine: Demolito

PostPosted: Wed Mar 29, 2017 11:29 am
by lucasart
H.G.Muller wrote:
User923005 wrote:Your engine is the only one that ever crashed from my wrong sequence.

That is probably because it most definitely is a UCI violation to crash. The specs say that when you receive a command that should not come at that time, you should simply ignore it. Crashing does not really count as ignoring.

A 'ucinewgame' doesn't seem to be really forbidden in this situation, though. The specs only say that an 'isready' is required before the engine is set searching. 'ucinewgame' doesn't really set it searching.

Code: Select all
   This command is also required once before the engine is asked to do any search
   to wait for the engine to finish initializing.

The formulation furthermore suggests that this is only for timing reasons, to prevent the GUI sets the engine's clock running while it is still tied up in other tasks.

Seems you're right. Only isready after ucinewgame is mandated. Before is not mandated, but only shown in the example section. I just pushed a fix:
https://github.com/lucasart/Demolito/commit/60167a5e2f6d7d4143ef694851f0c89e0b821ac1

Re: New UCI Engine: Demolito

PostPosted: Mon Apr 03, 2017 12:08 pm
by lucasart
Here are some Linux compiles:
  • haswell: The fastest version, for Intel Haswell architecture. Use this, if it works on your machine.
  • nehalem: A little bit slower than the Haswell version (-2.5%), compatible with Nehalem architecture, the first Intel with 64-bit and POPCNT. Use this, if the Haswell doesn't work.
  • core2: Much slower than the Haswell version (18.4%), but compatible with Intel Core Duo, the first Intel 64-bit (without POPCNT hence the slowness). Use if all else fails.
PS: No 32-bit compile. Sorry, but I won't waste my time making the code 32-bit compatible for people running a 32-bit OS on a 64-bit machine...

Re: New UCI Engine: Demolito

PostPosted: Tue May 30, 2017 12:10 am
by lucasart
New version
  • Converted to C (from C++).
  • +140 elo in 8"+0.08". Estimate 2900 elo CCRL 40/40, or 3000 elo FIDE.
  • Statically compiled (using musl). Should now work on any Linux distro, even the most exotic.
Linux
  • haswell: for recent Intel machines (2013).
  • nehalem: for old Intel machines (2008).
  • amdfam10: for old AMD machines (2007).
MacOSX
You should be able to compile it yourself for MacOSX, as shown in "make.sh", using gcc or clang. Let me know if you have any issues. I can't test it myself, because I don't have a Mac, and Apple makes it very complicated to cross compile for Mac.
Android
Should cross compile for Android normally. I haven't installed the Android NDK and tested, but don't expect any major problem there.

Re: New UCI Engine: Demolito

PostPosted: Fri Jun 02, 2017 2:08 pm
by lucasart
Anrdoid
You need a 64-bit ARM device to run it (ARMv8-a or above).

I just played a game against it, using Chess for Android. And it worked. Needless to say that I lost the game...

Re: New UCI Engine: Demolito

PostPosted: Sun Jun 18, 2017 7:38 am
by lucasart
Windows
  • nehalem: for Intel machines (first generation i3/5/7 and above).
  • amdfam10: for AMD machines (K10 and above).

Re: New UCI Engine: Demolito

PostPosted: Mon Jun 19, 2017 12:10 pm
by lucasart
Old machines (64-bit, but no popcount):
  • k8: For AMD K8 architecture and above. This is the first 64-bit AMD CPU (2003).
  • nocona: For Intel Nocona architecture and above. This is the first 64-bit Intel CPU (2004).
Both Windows and Linux compiles provided. The Windows ones end in .exe, and the Linux ones have no extension.