Linux friendly engines at all levels

Discussion of chess software programming and technical issues.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
flok
Posts: 160
Joined: Tue Jul 03, 2018 8:19 am
Full name: Folkert van Heusden
Contact:

Re: Linux friendly engines at all levels

Post by flok » Thu Jan 24, 2019 6:49 am

Embla is primarily developed on linux.
2.0.0 is ~2174 elo
www.vanheusden.com: Micah / Embla / PuppetMaster / DeepBrutePos / Pos / Feeks

User avatar
hgm
Posts: 23511
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Linux friendly engines at all levels

Post by hgm » Thu Jan 24, 2019 7:18 am

Fairy-Max is fully Linux compliant, and is even available as Debian package or from the repositories of most Linux distros as binary package.

brtzsnr
Posts: 433
Joined: Fri Jan 16, 2015 3:02 pm
Contact:

Re: Linux friendly engines at all levels

Post by brtzsnr » Thu Jan 24, 2019 9:01 am

You can pick one of the older versions of Zurichess. Binaries here: http://www.zurichess.xyz/downloads/

The last version is close to 2900, but previous versions are in the desired Elo range.

abulmo2
Posts: 178
Joined: Fri Dec 16, 2016 10:04 am
Contact:

Re: Linux friendly engines at all levels

Post by abulmo2 » Thu Jan 24, 2019 11:36 am

Also, several old engines have been compiled for Linux by Jim Ablett and are available here:

http://kirr.homeunix.org/chess/engines/ ... ENGINES%20++/
Richard Delorme

Volodya
Posts: 5
Joined: Wed Jan 23, 2019 10:25 am
Full name: Cédric Beaume

Re: Linux friendly engines at all levels

Post by Volodya » Thu Jan 24, 2019 2:49 pm

Dear all,

Thank you for all your replies. I was pleasantly surprised to see the response rate! This looks like a very vibrant community indeed.

I am working through your replies and, so far, I believe I only had one issue: I did not have the LLVM gold plugin for DUMB (I am trying to keep the installs as light as possible).

Thanks,

V.

User avatar
xr_a_y
Posts: 705
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: Linux friendly engines at all levels

Post by xr_a_y » Thu Jan 24, 2019 3:17 pm

Volodya wrote:
Thu Jan 24, 2019 2:49 pm
Dear all,

Thank you for all your replies. I was pleasantly surprised to see the response rate! This looks like a very vibrant community indeed.

I am working through your replies and, so far, I believe I only had one issue: I did not have the LLVM gold plugin for DUMB (I am trying to keep the installs as light as possible).

Thanks,

V.
You can try to compile without -flto

Volodya
Posts: 5
Joined: Wed Jan 23, 2019 10:25 am
Full name: Cédric Beaume

Re: Linux friendly engines at all levels

Post by Volodya » Thu Jan 24, 2019 5:11 pm

xr_a_y wrote:
Thu Jan 24, 2019 3:17 pm
Volodya wrote:
Thu Jan 24, 2019 2:49 pm
Dear all,

Thank you for all your replies. I was pleasantly surprised to see the response rate! This looks like a very vibrant community indeed.

I am working through your replies and, so far, I believe I only had one issue: I did not have the LLVM gold plugin for DUMB (I am trying to keep the installs as light as possible).

Thanks,

V.
You can try to compile without -flto
Thanks for the suggestion. It indeed works, modulo the deletion of the appropriate commands in the makefile. This is something I did not want to do at first because it feels as an alteration to the engine intended by the developer. Anyway, since it's done, here is the makefile I used for successful compilation (in case this can help anyone):

Code: Select all

#
# Makefile to compile dumb
#

SRC = dumb.d util.d board.d eval.d move.d search.d

DC = ldc2

#lcd2
FFLAGS = -O3 -release -singleobj -w -dw -dip25
DFLAGS = -O0 -g -gc -dip25
PFLAGS = -O1 -w -dw -dip25
CFLAGS = $(PFLAGS) -cov

# executable target
EXE = dumb

pgo:$(SRC)
	$(MAKE) clean
	$(DC) $(FFLAGS) $(SRC)

debug:$(SRC)
	$(DC) $(DFLAGS) $(SRC)

cov:$(SRC)
	$(DC) $(CFLAGS) $(SRC)

clean:
	$(RM) *.o *.profraw *.profdata *.lst

Volodya
Posts: 5
Joined: Wed Jan 23, 2019 10:25 am
Full name: Cédric Beaume

Re: Linux friendly engines at all levels

Post by Volodya » Thu Jan 24, 2019 10:43 pm

Evert wrote:
Wed Jan 23, 2019 6:38 pm
Might I suggest though that you use something like Stockfish or Komodo at time odds? You want to spend. CPU time on your program, afterall.
Thanks for the suggestions, Evert. May I ask you to precise the above sentences? I did not quite get what you meant. I do have Stockfish 8 installed, but I have a long way to go (if that is even feasible) before being able to get anything useful from games against such fine engines, even in one of their old versions.

V.

User avatar
hgm
Posts: 23511
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Linux friendly engines at all levels

Post by hgm » Fri Jan 25, 2019 6:02 am

What he means is that you can use a strong engine (say Stockfish) to simulate a much weaker opponent by allowing it to think only a tiny fraction of the time a truly weak engine would have had to think. It would save you nearly half the CPU time during test games if the opponent would move 100 times faster than the engine under test.

abulmo2
Posts: 178
Joined: Fri Dec 16, 2016 10:04 am
Contact:

Re: Linux friendly engines at all levels

Post by abulmo2 » Fri Jan 25, 2019 8:38 am

Volodya wrote:
Thu Jan 24, 2019 5:11 pm
Thanks for the suggestion. It indeed works, modulo the deletion of the appropriate commands in the makefile. This is something I did not want to do at first because it feels as an alteration to the engine intended by the developer.
You can also use the binary provided in the github repository. Avoiding both flto and pgo will slow down Dumb by about 8% and make it a little bit weaker.
Richard Delorme

Post Reply