The JOBSTATUS Database
Places in the JOBSTATUS database represent the status of jobs.
This database does not require any operation on any filesystems. It is used in Accelerator to represent jobs that have no output log. It is also used to represent jobs whose execution depends on the success or failure of a job.
# Fragment of FDL
set jobid1 [J vw cp aa bb]
O -db JOBSTATUS -sticky -quote "DONE/$jobid1"
# Run this job after jobid1, whether it passes or fails.
set jobid2 [J vw cp bb cc]
I -db JOBSTATUS -sticky -quote "DONE/$jobid1"
- Type
- Behavior
- SUCCESS
- This is the simplest case. The place becomes VALID when the containing job also becomes VALID. If there was a barrier on the place, the barrier is removed.
- FAIL
- The place becomes VALID only when the containing job becomes FAILED. At the same time, a barrier is added to the place in order to preserve the trace consistency, since it is not legal for an output of a FAILED job to be VALID unless there is a barrier on the output place.
- DONE
- This is a combination of the two cases above. The place becomes VALID only when the containing job completes, when it becomes either VALID or FAILED. At the same time, a barrier is added or removed depending on the status of the job.