Script files may consist of multiple procedures, and execution of script
files always begins a procedure call "main".
examples:
cmd "runMPI math.MatrixMult 4 400"
cmd "runMPIP procfile.txt"
cmd "stopCluster mountains"
waitUntil - Sleeps until a certain time has passed.
example: waitUntil "1997.12.02 09:38:45 PM GMT-7"
delay - Sleeps a certain number of milliseconds.
example: delay 1000
call - Calls a script file procedure.
example: call myproc
procedure shutdown {
cmd "stopCluster
mountains"
delay 20000
}
procedure runTest {
cmd "setAccept
mymaster.foo.bar false"
delay 3000
waitUntil "1997.12.02 09:38:45 PM GMT-7"
cmd "runMPIP
procfile.txt 4"
delay 3000
}
procedure main {
delay 3000
call startup
call runTest
call shutdown
}