New engine: belofte

Discussion of anything and everything relating to chess playing software and machines.

Moderators: Harvey Williamson, Dann Corbit, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
ydebilloez
Posts: 58
Joined: Tue Jun 27, 2017 9:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz
Contact:

Re: New engine: belofte

Post by ydebilloez » Fri Feb 28, 2020 10:16 am

Dear Gabor,

You are not bothering me at all. If people are having trouble using my program or my site, I should do a better job at explaining or organising my site.

To give an example, you downloaded 0.9.12 instead of 0.9.14, this was my error. I uploaded only in one place instead of two.
Another user wanted to use belofte with Fritz... but the windows version is only WB and no UCI.... the confusing setup is my error again.
The site macchess is talking about chess on mac, but the latest version is windows/linux only.... my error again.

Please continue bothering me all the time until I get it right. Other people might just abandon it without making any comment. Thanks for your patience and your feedback. It is thanks to your feedback that I can correct things so there is less confusion and better quality.

Regards,
Yves
--
Yves De Billoëz
Yves at macchess.internetcontact.be

Gabor Szots
Posts: 658
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: belofte

Post by Gabor Szots » Fri Feb 28, 2020 11:25 am

Is there a way to switch off logging and autosave?

And it seems to me that Belofte in WB mode is uncapable of playing under fractions of a minute time controls. E.g. 40 moves in 0:30 minutes or 0:30+0.2 (Fischer). Is that a parsing problem?

Cheers,
Gabor Szots
CCRL testing group

ydebilloez
Posts: 58
Joined: Tue Jun 27, 2017 9:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz
Contact:

Re: New engine: belofte

Post by ydebilloez » Fri Feb 28, 2020 12:08 pm

Gabor Szots wrote:
Fri Feb 28, 2020 11:25 am
Is there a way to switch off logging and autosave?
Good idea for next release.
Gabor Szots wrote:
Fri Feb 28, 2020 11:25 am
And it seems to me that Belofte in WB mode is uncapable of playing under fractions of a minute time controls. E.g. 40 moves in 0:30 minutes or 0:30+0.2 (Fischer). Is that a parsing problem?
The command "level moves m:s n" is supported. However, any element has to be an integer. So 0.2 (fraction of second) Fischer increment is not supported. (for now) Anyway, I use the time function to calculate elapsed time and the engine will always cut search at close to a second. Will have to use fraction of time that is only supported cross-platform as of C++11 I believe. Good idea for upcoming release.

I was reported a bug in the calculation of time in bullet style tournaments. The fastest time I used for testing is 60s + 2s. Will be fixed in next release.
--
Yves De Billoëz
Yves at macchess.internetcontact.be

Gabor Szots
Posts: 658
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: belofte

Post by Gabor Szots » Mon Mar 02, 2020 7:58 am

Just noticed that Belofte uses 1 thread even when not on move, while it uses 2 while calculating. This is a 4-core machine and 2 cores are occupied by other tournaments.
Gabor Szots
CCRL testing group

ydebilloez
Posts: 58
Joined: Tue Jun 27, 2017 9:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz
Contact:

Re: New engine: belofte

Post by ydebilloez » Tue Mar 03, 2020 10:13 am

Gabor Szots wrote:
Mon Mar 02, 2020 7:58 am
Just noticed that Belofte uses 1 thread even when not on move, while it uses 2 while calculating. This is a 4-core machine and 2 cores are occupied by other tournaments.
Belofte is launching multiple threads for its operation:
  • Main program is accepting UI input. It is just waiting for command input. Estimated CPU usage: less than 0.001 %
  • A thread is running to calculate time expiration. Is pausing all the time, waking up for a few lines of code and sleeping again. This thread is not running when in fixed depth mode. Estimated CPU usage: less than 0.001%
  • A thread is running to calculate moves.
  • A thread is running for pondering. (Not implemented yet).
So no multiple threads are being used at this moment for searching. This will be done in an upcoming update.

Regards,
--
Yves De Billoëz
Yves at macchess.internetcontact.be

Gabor Szots
Posts: 658
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: belofte

Post by Gabor Szots » Tue Mar 03, 2020 10:29 am

ydebilloez wrote:
Tue Mar 03, 2020 10:13 am
Gabor Szots wrote:
Mon Mar 02, 2020 7:58 am
Just noticed that Belofte uses 1 thread even when not on move, while it uses 2 while calculating. This is a 4-core machine and 2 cores are occupied by other tournaments.
Belofte is launching multiple threads for its operation:
  • Main program is accepting UI input. It is just waiting for command input. Estimated CPU usage: less than 0.001 %
  • A thread is running to calculate time expiration. Is pausing all the time, waking up for a few lines of code and sleeping again. This thread is not running when in fixed depth mode. Estimated CPU usage: less than 0.001%
  • A thread is running to calculate moves.
  • A thread is running for pondering. (Not implemented yet).
So no multiple threads are being used at this moment for searching. This will be done in an upcoming update.

Regards,
That's odd. I observe 25 % CPU usage (1 core) even when it's not Belofte's move. That is with 2+1 TC.
Gabor Szots
CCRL testing group

ydebilloez
Posts: 58
Joined: Tue Jun 27, 2017 9:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz
Contact:

Re: New engine: belofte

Post by ydebilloez » Wed Mar 04, 2020 7:27 pm

Belofte 0.9.16 has been released.

Following changes:
  • Uniform exe with both UCI and XBoard support.
  • Correction on parameter passing to engine, now correctly reads uci/xboard commands on launch. (linux version)
  • For windows version, passing the parameter uci when launching the engine is recommended. If no parameter is passed, Belofte windows will finalize initialisation before reading the first command and is thus presenting the board and the prompt before first command.
  • Support for bullet games.
Uci version seems a bit stronger as it has a slightly more correct time management.
ydebilloez wrote:
Fri Feb 28, 2020 12:08 pm
Gabor Szots wrote:
Fri Feb 28, 2020 11:25 am
Is there a way to switch off logging and autosave?
Good idea for next release.
New release 0.9.16 with autosave and logging disabled by default. Issue command

Code: Select all

debug logging
or

Code: Select all

debug autosave
to reenable.
ydebilloez wrote:
Fri Feb 28, 2020 12:08 pm
Gabor Szots wrote:
Fri Feb 28, 2020 11:25 am
And it seems to me that Belofte in WB mode is uncapable of playing under fractions of a minute time controls. E.g. 40 moves in 0:30 minutes or 0:30+0.2 (Fischer). Is that a parsing problem?
I was reported a bug in the calculation of time in bullet style tournaments. The fastest time I used for testing is 60s + 2s. Will be fixed in next release.
New release 0.9.16 with correction of bullet games. Tested at inf/60 and 40/60.
--
Yves De Billoëz
Yves at macchess.internetcontact.be

Gabor Szots
Posts: 658
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: belofte

Post by Gabor Szots » Thu Mar 05, 2020 8:25 am

How can I download the sources in one zip file? I did it once but I've forgotten how. In the src folder I only find separate files.
Gabor Szots
CCRL testing group

Gabor Szots
Posts: 658
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: belofte

Post by Gabor Szots » Thu Mar 05, 2020 8:57 am

Gabor Szots wrote:
Thu Mar 05, 2020 8:25 am
How can I download the sources in one zip file? I did it once but I've forgotten how. In the src folder I only find separate files.
I recall 0.9.14 sources were here: http://macchess.internetcontact.be/downloads/. However, 0.9.16 sources are not there.
Gabor Szots
CCRL testing group

ydebilloez
Posts: 58
Joined: Tue Jun 27, 2017 9:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz
Contact:

Re: New engine: belofte

Post by ydebilloez » Thu Mar 05, 2020 12:59 pm

You can download the complete project from sourceforge at any time at:

https://sourceforge.net/p/belofte/gitre ... ster/tree/ (and select download snapshot)

From the command line, you can take a git snapshot (all sources + documentation) by following command.
You must have git installed.

Code: Select all

git clone https://git.code.sf.net/p/belofte/gitrepo belofte-gitrepo
I even posted an intermediate update with a number of fixes in preparation of the next release.
You can get the latest source code (no compile) from here: https://sourceforge.net/p/belofte/gitre ... 9.17/tree/
--
Yves De Billoëz
Yves at macchess.internetcontact.be

Post Reply