slurm_job: Create a slurm_job object

Description Usage Arguments Details Value

View source: R/slurm_job.R

Description

This function creates a slurm_job object which can be passed to other functions such as cancel_slurm, cleanup_files, get_slurm_out and print_job_status.

Usage

1
slurm_job(jobname, nodes)

Arguments

jobname

The name of the Slurm job. The rslurm-generated scripts and output files associated with a job should be found in the _rslurm_[jobname] folder.

nodes

The number of cluster nodes used by that job.

Details

In general, slurm_job objects are created automatically as the output of slurm_apply or slurm_call, but it may be necessary to manually recreate one if the job was submitted in a different R session.

Value

A slurm_job object.


rslurm documentation built on Nov. 17, 2017, 7:48 a.m.