| get_job_status {rslurm} | R Documentation |
Get the status of a Slurm job
Description
This function returns the completion status of a Slurm job, its queue status if any and log outputs.
Usage
get_job_status(slr_job)
Arguments
slr_job |
A |
Details
The queue element of the output is a data frame matching the output
of the Slurm squeue command for that job; it will only indicate portions
of job that are running or in queue. The log element is a
vector of the contents of console/error output files for each node where the
job is running.
Value
A list with three elements: completed is a logical value
indicating if all portions of the job have completed or stopped, queue
contains the information on job elements still in queue, and
log contains the console/error logs.
[Package rslurm version 0.6.2 Index]