Feike Boomstra 's Horizon Draughts Program

Discussion about development of draughts in the time of computer and Internet.
Post Reply
Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Wed May 14, 2014 22:35

I have such an entry during running a new program Horizon 4.3

init MoveGenerate
init Evaluation
init Done
Init HashTable, 16777216 Entries (512 MB) Allocated
init Database
status Databases\
DB64 Cache Init OK , 1048576 4KB Blocks Allocated
DB64 File Open = 0
DB64 ReadData Index : Start
DB64 ReadData Index : Error = 2
init Book
status Book\
name Horizon 4.3

You wrote Bert that Databases should have 155 files. I have files 163. Please see Bert perhaps at me something is badly. Databases made available by you contains 163 files.

BertTuyt
Posts: 1592
Joined: Wed Sep 01, 2004 19:42

Re: Feike Boomstra 's Horizon Draughts Program

Post by BertTuyt » Wed May 14, 2014 23:46

Code: Select all

name Horizon 4.3
The fact that the name is displayed, implies that you (most likely) start the Engine via the Damage 2014 GUI, because at that point the Engine starts communication information towards the GUI.
In stand alone mode (so when you directly start the Engine, just double click the file name) the output stops after

Code: Select all

Book\
Or there is something else going on. Can you directly start the Engine, and check if in this case still the DB Files is 0?

With respect to the number of files:
The directory contains 155 DB Files (that's the number you should see)

- 6 DB64Index files ( DB64Index.dat --> DB64Index6.dat)
- 1 DB64Info file ( DB64Info.dat)
- 1 file with DB-test positions (think they came from Ed Gilbert) to check the Database function ( DB64TestPos.txt)
- 155 DB FIles ( wdl.........cprz)

Which totals to 163

Bert

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Fri May 16, 2014 20:34

A bit in it for everyone I got confused Bert. I have a few questions concerning the program Horizon 4.3.

- please write how you are using the program Horizon 4.3
- write whether you are using the interface Damage 2014 for opening engine Horizon 4.3
- how the correct entry should look after starting engine Horizon for help of interface Damage 2011.

BertTuyt
Posts: 1592
Joined: Wed Sep 01, 2004 19:42

Re: Feike Boomstra 's Horizon Draughts Program

Post by BertTuyt » Fri May 16, 2014 22:05

When you want to run the Engine in a DXP mode, you only can do that (at this point in time) with the Engine without the Damage GUI.
In this case just double-click the Horizon 4.3 icon in the folder, and the program should start.
When you see the 155 Files open you know that the DB files can be used.
In this case the Databases directory should be in the same folder as the Horizon Engine.

When you run the Engine via the Damage GUI, the Engine should be in the Engines Folder.
In this case the Engines Folder should be in the same directory as the Damage GUI and the Databases folder.

See below screenshot:

The Damage + Horizon Engines are in the same directory as the Damage GUI and the Databases folder.
Also the 2 Engines are in the Engines folder.
This way I can run directly the Engine and also via the Damage GUI.

Bert
Attachments
Folder.PNG
Folder.PNG (106.9 KiB) Viewed 10241 times

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Sat May 17, 2014 00:25

Thanks Bert. Everything is acting apart from one thing. Perhaps here you will also help me. While starting Damage2011 GUI plumb lines don't appear on the board.
Attachments
Horizon.png
Horizon.png (443.25 KiB) Viewed 10224 times

BertTuyt
Posts: 1592
Joined: Wed Sep 01, 2004 19:42

Re: Feike Boomstra 's Horizon Draughts Program

Post by BertTuyt » Sat May 17, 2014 00:50

Thanks for your mail.
This is a known bug, which I need to resolve in a next release of the GUI.

It appears when the GUI has maximum size the pieces are not initially displayed.
When you resize the board (or the GUI), than the pieces re-appear.
The simple bypass for the moment is to resize the GUI , so it does not have the maximum size.
Then you should exit the program in a regular way.

The GUI remembers the size (and the size of the sub-windows, like clocks, board, ...).
The next time when the GUI starts it remembers the previous size (which is not the maximum size), and then the pieces should be visible form the start.

Hope this works,

Bert

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Sat May 17, 2014 22:33

BertTuyt wrote:Thanks for your mail.
This is a known bug, which I need to resolve in a next release of the GUI.

It appears when the GUI has maximum size the pieces are not initially displayed.
When you resize the board (or the GUI), than the pieces re-appear.
The simple bypass for the moment is to resize the GUI , so it does not have the maximum size.
Then you should exit the program in a regular way.

The GUI remembers the size (and the size of the sub-windows, like clocks, board, ...).
The next time when the GUI starts it remembers the previous size (which is not the maximum size), and then the pieces should be visible form the start.

Hope this works,

Bert
With only sensible solving this problem to click on it New game. It is also a pity that during the game with the DXP-Match help it isn't possible to see the fight on the board.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Mon May 19, 2014 09:31

I have a huge request to you of Bert. Whether you can make available Databases 7-piece for the program Horizon.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Tue May 20, 2014 17:57

I have time a bit, so I decided to test how a function DXP is acting in the program Horizon. I tested the program on my computer about parameters:

processor - i7 2670QM
hard disk - SSD Samsung 840 Evo 1 TB
memory of frames - 16 GB DDR3 1333

I noticed that how will write in little window Engine Commands following commands:

levelsfixedtime 15
opponents engine-engine
$ppproc 4
$ppmode 3
$dxp client
$dxp match
$dxp go

or so

levelsfixedtime 10
opponents engine-engine
$ppproc 4
$ppmode 3
$dxp client
$dxp match
$dxp go

or so

opponents engine-engine
$ppproc 4
$ppmode 3
$dxp client
$dxp match
$dxp prm t 5
$dxp prm m 65
$dxp go

To program does not act. But how I will write the following commands down (in Engine Commands)- then program acts.

levelsfixedtime 15
opponents engine-engine
$ppproc 4
$ppmode 2
$dxp client
$dxp match
$dxp go

or so

opponents engine-engine
$ppproc 4
$ppmode 2
$dxp client
$dxp match
$dxp prm t 5
$dxp prm m 65
$dxp go

or so

opponents engine-engine
$ppproc 3
$ppmode 2
$dxp client
$dxp match
$dxp prm t 5
$dxp prm m 65
$dxp go

or so

opponents engine-engine
$ppproc 2
$ppmode 2
$dxp client
$dxp match
$dxp prm t 5
$dxp prm m 65
$dxp go

I noticed that how would write $ppmode 3 then program does not act, but how write $ppmode 2 but if I write down the program works without fault. I tested with the program Kingsrow and Dragon.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Thu May 22, 2014 15:13

I have Bert such a question. Please write whether I well understand options $ppproc and $ppmod.If I will write down so command:

$ppproc 2
$ppmod 2

How much program Horizon the cores is using during the game. Whether I well understand that in this case he is using 4 cores.

BertTuyt
Posts: 1592
Joined: Wed Sep 01, 2004 19:42

Re: Feike Boomstra 's Horizon Draughts Program

Post by BertTuyt » Fri May 23, 2014 00:03

The current Horizon version only support single-core search (so using only 1 core).

Basically you can set this mode (but there is no need to change it, as it is the default value) to 0 $ppmode 0 ( PP_MODE_SINGLECORE)

The not supported parallel search mode (YBWC) is set through $ppmode 3 ( PP_MODE_MULTICORE_SMP_SEARCH)

The other 2 modes ( 2 and 3 ) are only for internal test reasons , and not supported ( PP_MODE_MM_SINGLECORE and PP_MODE_MULTICORE_COPYSEARCH)

So the $ppproc option, which sets the number of cores has no function for single-core search.

Bert

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Fri May 23, 2014 23:26

BertTuyt wrote:The current Horizon version only support single-core search (so using only 1 core).

Basically you can set this mode (but there is no need to change it, as it is the default value) to 0 $ppmode 0 ( PP_MODE_SINGLECORE)

The not supported parallel search mode (YBWC) is set through $ppmode 3 ( PP_MODE_MULTICORE_SMP_SEARCH)

The other 2 modes ( 2 and 3 ) are only for internal test reasons , and not supported ( PP_MODE_MM_SINGLECORE and PP_MODE_MULTICORE_COPYSEARCH)

So the $ppproc option, which sets the number of cores has no function for single-core search.

Bert
He thanks of Bert for the reply. I have such a request, and you can correct the program so that the program uses a few cores.

BertTuyt
Posts: 1592
Joined: Wed Sep 01, 2004 19:42

Re: Feike Boomstra 's Horizon Draughts Program

Post by BertTuyt » Sun Jul 20, 2014 13:50

I'm now working and re-testing the parallel search (YBWC) which will use more cores (if you want), I expect to issue an updated Horizon Engine in the next 2 weeks.

Bert

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Feike Boomstra 's Horizon Draughts Program

Post by Krzysztof Grzelak » Sun Jul 20, 2014 22:00

BertTuyt wrote:I'm now working and re-testing the parallel search (YBWC) which will use more cores (if you want), I expect to issue an updated Horizon Engine in the next 2 weeks.

Bert
I thank for information. Please he will do as soon as possible and to make available. I want to conduct championships amongst programs into draughts.

Krzysztof.

Birdy
Posts: 38
Joined: Wed Jul 30, 2014 11:08

Re: Feike Boomstra 's Horizon Draughts Program

Post by Birdy » Wed Jul 30, 2014 11:24

Hello!

At this time i must be the most recent member at this fórum. :)

So, my question is:

- Where can i download Damage/Horizon?

I'de love to test it.

Thanks in advance.


J.S.

Post Reply