World Draughts Forum

It is currently Tue May 22, 2018 14:01

All times are UTC+02:00




Post new topic  Reply to topic  [ 59 posts ]  Go to page Previous 1 2 3 4 Next
Author Message
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 14:48 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Harm Jetten wrote:
Look at the bottom of the engine.log file.
Moby Dam always leaves old information in, only appending new information to the end.


I looked sadly still the same.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 14:51 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Please post a screenshot of your shortcut properties.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 15:01 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Here you are.

Image


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 15:13 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Aha! Now change the Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e C:\damend
and try again.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 15:34 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Harm Jetten wrote:
Aha! Now change the Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e C:\damend
and try again.


Only now everything is fine. :D

Wed Jul 08 15:20:44 2015
Moby Dam (Jul 5 2015)
compiled with -g -O3 -Wall -march=nehalem -flto -fprofile-use -DPF -DETC -DLMR -DKIL
created tt with 33554432 entries (2^25), size=512MiB
wiped tt with 33554432 entries
book positions = 8507
all 2-piece db files present
all 3-piece db files present
all 4-piece db files present
all 5-piece db files present
all 6-piece db files present

Thank You Harm. I have a question. Is it possible to play a program like you at the Olympics.

- how to set the time in the program, eg. 20 minutes for 75 moves
- what you need to do to program began playing white
- what you need to do to program began playing black


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 16:03 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
In the second screenshot of http://hjetten.home.xs4all.nl/mobydam/mobydam.html
showing Dam 2.2, you can see how to setup the moves and time per game,
and which side plays which color. This is how I used it in the Computer Olympiad.

And now, how to do automated play on 2 computers.

Computer 1: start Moby Dam.

Computer 2: start the other program.
It can be Dam 2.2, Horizon, Dragon Draughts, or any other program designed to act as DamExchange Initiator.

We'll take Dragon Draughts as an example.

- choose menu item Window - DamExchange
- click the button Connect to other program
- in the dialog, enter the computername of Computer 1 into the field IPaddress/hostname, leave Port number at 27531, click Continue
- look at the Damexchange window (it may be hidden behind the main window), it should say: Connected to computername:27531
- click Settings and enter number of moves, time per game, etc.
- click button Single game or Match, as desired.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 17:44 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Thank You Harm. To program played white is I have to run as follows:

- run the program Moby Dam
- run the program Dam 2.2.7
- choose Game - DameExchang - Make connection
- in the next window Dam click on OK
- in window DamExchange appears inscription Winsock startup completed. Trying to connect to 127.0.0.1 at port 27531. Select notification: FD_CONNECT.
- choose Game - DameExchang - Start Game
- in the window Dam write:
time to play - minutes
number of moves per game - moves
option - This side plays - White - Black
Name: The name of the program

If the program Moby Dam to play this white mark the on the color game Black.

If you want to play black this program we do it as follows:

- run the program Moby Dam
- run the program Dam 2.2.7
- choose Game - DameExchang - Make connection
- in the next window Dam click on OK
- in window DamExchange appears inscription Winsock startup completed. Trying to connect to 127.0.0.1 at port 27531. Select notification: FD_CONNECT.
- choose Game - DameExchang - Start Game
- in the window Dam write:
time to play - minutes
number of moves per game - moves
option - This side plays - White - Black
Name: The name of the program

If the program Moby Dam to play this black mark the on the color game White.

One very important note. It must be enabled Player-Player.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Wed Jul 08, 2015 21:23 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
It's a shame that the program supports multi-core parallel search.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 09, 2015 09:56 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Harm I have a question. What must command if the file damend is pasted into the program mobydam.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 09, 2015 11:34 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
Krzysztof, I don't understand the question. What do you mean?


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 09, 2015 11:41 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Harm Jetten wrote:
Krzysztof, I don't understand the question. What do you mean?


I have a folder damend placed in the folder mobydam. What will be the command to load the bases ends in the program mobydam.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 09, 2015 11:44 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
I see. Change the shortcut Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e damend
(without the C:\ before the damend)


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 09, 2015 11:52 
Offline

Joined: Thu Jun 20, 2013 17:16
Posts: 607
Real name: Krzysztof Grzelak
Harm Jetten wrote:
I see. Change the shortcut Element docelowy to:
C:\mobydam\mobydam.exe -b book\book.opn -e damend
(without the C:\ before the damend)


Harm thank You. Now it is all right. When can we expect new versions of the program.


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 23, 2015 11:45 
Offline

Joined: Fri Oct 26, 2012 14:16
Posts: 16
Real name: Toby Hage
Hello,

Thank you very much for providing this program.
I'll get following error when compiling on linux:

make
gcc -g -O3 -Wall -march=nehalem -flto -DPF -DETC -DLMR -DKIL -DCFLAGS="-g -O3 -Wall -march=nehalem -flto -DPF -DETC -DLMR -DKIL" -c dxp.c
dxp.c:1:0: error: bad value (nehalem) for -march= switch
/*
^
make: *** [dxp.o] Error 1

How can i solve this problem?


Top
   
 Post subject: Re: Moby Dam
PostPosted: Thu Jul 23, 2015 11:51 
Offline

Joined: Thu Sep 24, 2009 18:17
Posts: 35
gcc versions before 4.9 don't recognize the -march=nehalem option.
You can replace it in the Makefile by either -march=native (optimizing for your particular processor model)
or by -mpopcnt.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 59 posts ]  Go to page Previous 1 2 3 4 Next

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited