Cluster Toga based on Fruit Source Code

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
KaiHimstedt

Cluster Toga based on Fruit Source Code

Post by KaiHimstedt » Mon Jun 07, 2010 4:03 pm

From time to time people ask me about the availability of the Cluster Toga based on Fruit source code. I decided to publish the source code now. Cluster Toga is a Young Brothers Wait Concept (YBWC) parallelized version of Toga based on Fruit capable to run on a high performance cluster and participated for example in the 17th International Paderborn Computer Chess Championship (IPCCC) 2007 and the 16th World Computer-Chess Championship (WCCC) 2008 in Beijing. In fact Cluster Toga is a stand alone base engine of the GridChess system which participated for example in the 15th World Computer-Chess Championship (WCCC) 2007 in Amsterdam but is limited to use a single cluster. Up to now Cluster Toga has been tested under several Linux derivatives, Windows Server 2003 Compute Cluster Edition and Windows Clusters built from COTS (commodity off-the-shelf) components. If you are interested, a short description about my project and how to receive the source code can be found at

http://www.informatik.uni-hamburg.de/TI ... rojects/79

Have fun!

Kai Himstedt

Dann Corbit
Posts: 9901
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Dann Corbit » Mon Jun 07, 2010 5:00 pm

I was able to build a 64 bit version easily enough (libraries mpich2.lib and ws2_32.lib added).

How do I actually run it so that it is recognized as a chess engine?

Dann Corbit
Posts: 9901
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Dann Corbit » Mon Jun 07, 2010 5:23 pm

Dann Corbit wrote:I was able to build a 64 bit version easily enough (libraries mpich2.lib and ws2_32.lib added).

How do I actually run it so that it is recognized as a chess engine?
OK, it installed easily enough.
How do I specify nodes for the cluster? Can I start multiple instances on a single multiple CPU machine?

KaiHimstedt

Re: Cluster Toga based on Fruit Source Code

Post by KaiHimstedt » Mon Jun 07, 2010 5:26 pm

Depends on your MPI environment.
Use mpiexec .exe as UCI engine.

Something like:
mpiexec -n 8 -machinefile <filename> -wdir <working_directory> ClusterToga.exe

or

mpiexec -n 8 -host <host_name> -wdir <working_directory> ClusterToga.exe

Dann Corbit
Posts: 9901
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Dann Corbit » Mon Jun 07, 2010 5:38 pm

KaiHimstedt wrote:Depends on your MPI environment.
Use mpiexec .exe as UCI engine.

Something like:
mpiexec -n 8 -machinefile <filename> -wdir <working_directory> ClusterToga.exe

or

mpiexec -n 8 -host <host_name> -wdir <working_directory> ClusterToga.exe
I made a batch file that contained:

Code: Select all

"c&#58;\Program Files\MPICH2\bin\mpiexec.exe" -np 4 c&#58;\chess\winboard\cluster-toga\cluster-toga.exe
and that works from the command line:

some output:
info depth 18 seldepth 42 time 49874 nodes 141518598 nps 2837523
info depth 19
info currmove g1f3 currmovenumber 1

However, it requests logon information that the GUI does not know how to supply. Is there a simple way to store the credentials so that it does not ask for them?

Sorry to be such a pest.

KaiHimstedt

Re: Cluster Toga based on Fruit Source Code

Post by KaiHimstedt » Mon Jun 07, 2010 5:44 pm

Dann Corbit wrote:
KaiHimstedt wrote:Depends on your MPI environment.
Use mpiexec .exe as UCI engine.

Something like:
mpiexec -n 8 -machinefile <filename> -wdir <working_directory> ClusterToga.exe

or

mpiexec -n 8 -host <host_name> -wdir <working_directory> ClusterToga.exe
I made a batch file that contained:

Code: Select all

"c&#58;\Program Files\MPICH2\bin\mpiexec.exe" -np 4 c&#58;\chess\winboard\cluster-toga\cluster-toga.exe
and that works from the command line:

some output:
info depth 18 seldepth 42 time 49874 nodes 141518598 nps 2837523
info depth 19
info currmove g1f3 currmovenumber 1

However, it requests logon information that the GUI does not know how to supply. Is there a simple way to store the credentials so that it does not ask for them?

Sorry to be such a pest.
try something like
mpiexec -register

Dann Corbit
Posts: 9901
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Dann Corbit » Mon Jun 07, 2010 6:17 pm

KaiHimstedt wrote:
Dann Corbit wrote:
KaiHimstedt wrote:Depends on your MPI environment.
Use mpiexec .exe as UCI engine.

Something like:
mpiexec -n 8 -machinefile <filename> -wdir <working_directory> ClusterToga.exe

or

mpiexec -n 8 -host <host_name> -wdir <working_directory> ClusterToga.exe
I made a batch file that contained:

Code: Select all

"c&#58;\Program Files\MPICH2\bin\mpiexec.exe" -np 4 c&#58;\chess\winboard\cluster-toga\cluster-toga.exe
and that works from the command line:

some output:
info depth 18 seldepth 42 time 49874 nodes 141518598 nps 2837523
info depth 19
info currmove g1f3 currmovenumber 1

However, it requests logon information that the GUI does not know how to supply. Is there a simple way to store the credentials so that it does not ask for them?

Sorry to be such a pest.
try something like
mpiexec -register
Thanks. I'll try a Scorpio Cluster verses Toga Cluster tournament for fun.

User avatar
Jim Ablett
Posts: 1327
Joined: Fri Jul 14, 2006 5:56 am
Location: London, England
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Jim Ablett » Thu Jun 10, 2010 10:19 am

Windows 64 bit Intel pgo build >
http://dl.dropbox.com/u/5047625/toga-cluster-64.zip

You will need also to install Mpich2 'mpich2-1.2.1p1-win-x86-64.msi'
for functionality >
http://www.mcs.anl.gov/research/project ... =downloads

Jim.

karger
Posts: 160
Joined: Tue Feb 02, 2010 1:27 am

Re: Cluster Toga based on Fruit Source Code

Post by karger » Thu Jun 10, 2010 2:12 pm

Any chance of a 32 bit compile ?

User avatar
Jim Ablett
Posts: 1327
Joined: Fri Jul 14, 2006 5:56 am
Location: London, England
Contact:

Re: Cluster Toga based on Fruit Source Code

Post by Jim Ablett » Thu Jun 10, 2010 6:34 pm

karger wrote:Any chance of a 32 bit compile ?
http://dl.dropbox.com/u/5047625/toga-cluster-32-ja.zip

Jim.

Post Reply