scoredare executed by the root user on a host machine in the network, and user's execute
scruncommands specifying the host where
scoredis running. Thus, multiple users can execute programs on the cluster based on the scheduling policies of
scoredexecuted by the root user.
Suppose that you have a cluster of eight compute hosts, i.e.,
comp7, and a server host running the Cluster Database
scoreboard), the Compute Host Lock Server
msgbserv), and root has started
Here is an example session to execute the
hello command on the
$ msgb -group pcc $ scrun -nodes=8,scored=comp7 ./hello SCORE: connected (jid=100) <0:0> SCORE: 8 hosts ready. Hello World! (from node 2) Hello World! (from node 5) Hello World! (from node 3) Hello World! (from node 6) Hello World! (from node 4) Hello World! (from node 7) Hello World! (from node 0) Hello World! (from node 1) $The procedure to execute
hellois as follows:
scrunis issued by the user to execute the program. It requests
scored, running on host
comp7(the default host is the last host in the cluster group), to execute the program on 8 of the compute hosts.
scoredprocesses running on the cluster hosts to fork and exec the user's program which will execute until completion. When the program completes, the user processes are terminated.
It should be noted that the Compute Host Lock Server is continuously locked
scored process running on the server host. This disallows
other processes to lock the Compute Host Lock Server and execute their own
|PC Cluster Consotium|