Skip to content

JobStep

Warning

This class is superseded by pyslurm.JobStep and will be removed in a future release.

pyslurm.jobstep

Access/Modify Slurm Jobstep Information.

get() method descriptor

Get slurm jobstep information.

Returns:

Type Description
dict

Data whose key is the jobstep ID.

lastUpdate() method descriptor

Get the time (epoch seconds) the jobstep data was updated.

Returns:

Type Description
int

Epoch seconds

layout(JobID=0, StepID=0) method descriptor

Get the slurm job step layout from a given job and step id.

Parameters:

Name Type Description Default
JobID int

The job id.

0
StepID int

The id of the job step.

0

Returns:

Type Description
list

List of job step layout.