Subject: My version

From: Geoffrey Fox <[email-masked]>
Date: Sun, 07 Nov 1999 10:15:47 -0500

Method 1: Master
Set intervallimit=1 iterateno=0
set timecounter=0 Set newintervallimit=0
Get list of clients from Tango -- set to "proc2" group
Set "listener" to add clients to "proc3" group as they join

A)Send iterateno intervallimit to proc2 and proc3 clients
Set Flag to stop at interateno+intervallimit iteration
Run simulation till reach limit

Reset iterateno
Increment timecounter and ++newintervallimit.
	If timecounter > 10 seconds, Reset
	timecounter=0
	intervallimit = newintervallimit
Wait for Client responses
	If all in proc2 respond, then continue at A
	If not all respond after timelimit, then inform master, move "dead" clients
	to proc3 and continue at A
	If any proc3 clients indicate they have caught up before time to move to A) happens
	then move client from proc3 to proc2

Method 1: Clients
Listen for iterateno intervallimit messages
When recieve post master iteration limit as iterateno for client user to see
Post your iterateno as iterations proceed
Set stop flag to iterateno+intervallimit and restart (start if iterateno=0) simulation
If you are behind, then a new iterateno intervallimit message will arrive while you
are simulating. If so just reset flags and proceed. If you reach "stop flag"
before iterateno intervallimit message arrives, then you are a "proc2" client.
Send a completion message to master and wait for restart message.
Tell client user what status is.

Method2: Do later if necessary

Geoffrey Fox  [email-masked],   http://www.npac.syr.edu 
Director of NPAC and Professor of Physics and Computer Science
Phones Cell 3152546387  Office 3154432163 Npac 3154431723 Fax 3154434741