bench | simple benchmarks |
bin | Unixtm shell scripts |
comm | communication managers |
dir | directory managers |
doc | javadoc and other documentation |
event | event managers |
examples | some simple applications |
desktop | user interface classes |
meter | metering and instrumentation |
logs | logging and debugging files |
tools | create, destroy, and monitor computations |
thread | thread-related classes |
trans | transaction managers |
Physically, each PE runs on a machine (usually a workstation), called a host. Multiple PEs can run at a single host. Each host that runs an Aleph Toolkit application must also run the Aleph Server program. The server's job is simply to create new PEs as requested by applications. The server is itself a Java program, which must be started at each host before running any applications.
The user interacts with the Aleph run-time system through a program called the Aleph Console. The Console provides the ability to launch applications, to view their results, and to control system parameters such as host identities.
int PORT | This integer, between 1024 and 65535, is the port number for all servers running on behalf of your application. You must choose a port number distinct from that of any other application running at the same time. |
String[] hosts | An array of host names for hosts that might be running an Aleph Server. When the Aleph console starts up, it queries these hosts to see which ones are running an Aleph server listening on your PORT number. |
String pathJava | This host's path name for the Java interpreter. |
String alephDirectory | Directory where you installed Aleph. |
The remaining fields all have sensible default values, and can be changed
after perusing the documentation.
If you are running on a system of mutually-trusting Unixtm workstations, then the bin directory contains a startServers shell script that uses rsh to start up servers at the indicated hosts in your current working directory. (Make sure that Config.pathRsh is set to the correct pathname.)
java aleph.tools.KillServersThe bin directory also contains a killServers shell script. You can also use the Exit & Shut Down Hosts entry in the console's File menu (described below).
The File menu lets you shut down the desktop together with all known servers, or shut down the desktop only. Windows on the desktop can be used to start applications, to control run-time parameters, and to choose a manager for communication, directories, events, and transactions.
aleph -Daleph.batch=true aleph.Aleph <args>will immediately start up the specificed application without opening the console. You can use aleph properties to control various options, for example:
java -Daleph.batch=true -Daleph.numPEs=2 aleph.Aleph <args>will start your application at two PEs.
make javadocshould have the desired effect.