stilt.execution.wait#
- stilt.execution.wait(job_id, poll=30.0, *, cluster=None)[source]#
Wait until every task of a Slurm job array has ended, and return how each ended.
Polls
sacctevery poll seconds. A task that ended other than complete, or with failed simulations (exit 1) or interrupted ones (exit 3), is logged with its state; its simulations stay pending in the status table.- Parameters:
- Returns:
{task: (state, exit code)}assacctgives them, such as{"123_0": ("COMPLETED", "0:0")}.- Return type: