exit_status
Returns an exit status from the list of available Jobcontrol exit
statuses.
-
For TestJCJobs this comes from job.ExitStatus, which will return a
Jobcontrol exit status (from Job.pm in MMSHARE_EXEC) if a job object
(i.e. schrodinger.job.jobcontrol.job) is found. If a job object is
not found, it could be because the job is not started or it failed to
launch. These special cases are handled by setting the initial exit
status to "Job not started" and resetting it to
"Falied to launch" if the job fails to launch (see
TestJCJob.docommand).
-
For TestSPJobs a we limit the available exit statuses to
"finished", "died", and "killed"
because there is no job object (i.e. schrodinger.job.jobcontrol.job)
associated with TestSPJobs. Like TestJCJobs the initial exit status
is set to "Job not started" and is reset it to "Failed
to launch" if the job fails to launch (see TestSPJob.docommand).
- Get Method:
- unreachable.exit_status(self)
- Returns an exit status from the list of available Jobcontrol exit statuses.
|