parsl.jobs.states.JobState
- class parsl.jobs.states.JobState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Defines a set of states that a job can be in
Methods
__init__
(*args, **kwds)as_integer_ratio
()Return integer ratio.
bit_count
()Number of ones in the binary representation of the absolute value of self.
bit_length
()Number of bits necessary to represent self in binary.
conjugate
Returns self, the complex conjugate of any int.
from_bytes
([byteorder, signed])Return the integer represented by the given array of bytes.
to_bytes
([length, byteorder, signed])Return an array of bytes representing an integer.
Attributes
The batch provider is unable to determinate a state for this job
"This job is in the batch queue but has not started running
This job is running in the batch system
This job has been cancelled
This job has completed
This job has failed
This job has ended due to walltime expiry.
This job is held/suspended in the batch system
This job has reached a terminal state without the resources(managers/workers) launched in the job connecting back to the Executor.
This job has been deliberately scaled in.
denominator
the denominator of a rational number in lowest terms
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
real
the real part of a complex number
- MISSING = 8[source]
This job has reached a terminal state without the resources(managers/workers) launched in the job connecting back to the Executor. This state is set by HTEX when it is able to infer that the block failed to start workers for eg due to bad worker environment or network connectivity issues.
- SCALED_IN = 9[source]
This job has been deliberately scaled in. Scaling code should not be concerned that the job never ran (for example for error handling purposes).
- TIMEOUT = 6[source]
This job has ended due to walltime expiry. This is different from other error states, because in the pilot job model, a timeout is usually expected and not a failure. Timeouts should not be reported with FAILED state: if they are reported as FAILED, Parsl’s error handling code in
simple_error_handler
will eventually regard the batch system as broken and shut down.