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

__init__(*args, **kwds)[source]

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

UNKNOWN

The batch provider is unable to determinate a state for this job

PENDING

"This job is in the batch queue but has not started running

RUNNING

This job is running in the batch system

CANCELLED

This job has been cancelled

COMPLETED

This job has completed

FAILED

This job has failed

TIMEOUT

This job has ended due to walltime expiry.

HELD

This job is held/suspended in the batch system

MISSING

This job has reached a terminal state without the resources(managers/workers) launched in the job connecting back to the Executor.

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

CANCELLED = 3[source]

This job has been cancelled

COMPLETED = 4[source]

This job has completed

FAILED = 5[source]

This job has failed

HELD = 7[source]

This job is held/suspended in the batch system

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.

PENDING = 1[source]

“This job is in the batch queue but has not started running

RUNNING = 2[source]

This job is running in the batch system

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.

UNKNOWN = 0[source]

The batch provider is unable to determinate a state for this job