get_job_status | R Documentation |
This function checks the status of one or more compute jobs
get_job_status(job_ids, scheduler = "slurm", quiet = TRUE)
job_ids |
One or more job ids of existing PBS or slurm jobs, or process ids of a local process for
|
scheduler |
What scheduler is used for job execution. Options: c("torque", "qsub", "slurm", "sbatch", "sh", "local") |
quiet |
If |
Note that for the scheduler
argument, "torque" and "qsub" are the same;
"slurm" and "sbatch" are the same, and "sh" and "local" are the same.
A vector of job statuses corresponding to each job id
Michael Hallquist
## Not run:
# example on qsub/torque cluster
get_job_status("7968857.torque01.util.production.int.aci.ics.psu.edu", scheduler = "torque")
# example of checking two jobs on slurm cluster
get_job_status(c("24147864", "24147876"), scheduler = "slurm")
# example of checking two jobs on local machine
get_job_status(c("9843", "9844"), scheduler = "local")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.