Page 1 of 2

Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 6:03 pm
by KaiHimstedt
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

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 7:00 pm
by Dann Corbit
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?

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 7:23 pm
by Dann Corbit
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?

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 7:26 pm
by KaiHimstedt
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

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 7:38 pm
by Dann Corbit
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.

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 7:44 pm
by KaiHimstedt
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

Re: Cluster Toga based on Fruit Source Code

Posted: Mon Jun 07, 2010 8:17 pm
by Dann Corbit
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.

Re: Cluster Toga based on Fruit Source Code

Posted: Thu Jun 10, 2010 12:19 pm
by Jim Ablett
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.

Re: Cluster Toga based on Fruit Source Code

Posted: Thu Jun 10, 2010 4:12 pm
by karger
Any chance of a 32 bit compile ?

Re: Cluster Toga based on Fruit Source Code

Posted: Thu Jun 10, 2010 8:34 pm
by Jim Ablett
karger wrote:Any chance of a 32 bit compile ?
http://dl.dropbox.com/u/5047625/toga-cluster-32-ja.zip

Jim.