Job#

class impacthpc.Job(cluster_name: str, servers_count: ReplicableValue | str | int | float, duration: ReplicableValue | str, cpu_workload: ReplicableValue | str | int | float | None = None)

Bases: object

A class representing a job executed on a Park.

cluster_name

The name of the cluster this job is executed on. Should match one cluster defined in Park.clusters.

Type:

str

nodes_count

The number of nodes used in the cluster by this job.

Type:

ReplicableValue | str | int | float

duration

The duration of the job.

Type:

ReplicableValue | str

cpu_workload

The CPU workload of the CPUs (a number between 0 and 100). Defaults to None.

Type:

ReplicableValue | int | float | None, optional