Skip to content

rslurm 0.3.0

Compare
Choose a tag to compare
@pmarchand1 pmarchand1 released this 28 May 00:55
· 208 commits to master since this release

First version on CRAN

Major update to the package interface and implementation:

  • Added a submit argument to slurm_apply and slurm_call. If submit = FALSE,
    the submission scripts are created but not run. This is useful if the files need
    to be transferred from a local machine to the cluster and run at a later time.
  • Added new optional arguments to slurm_apply and slurm_call, allowing users to give
    informative names to SLURM jobs (jobname) and set any options understood by
    sbatch (slurm_options).
  • The data_file arugment to slurm_apply and slurm_call is replaced with
    add_objects, which accepts a vector of R object names from the active workspace
    and automatically saves them in a .RData file to be loaded on each node.
  • slurm_apply and slurm_call now generate R and Bash scripts through
    whisker templates. Advanced users may want
    to edit those templates in the templates folder of the installed R package
    (e.g. to set default SBATCH options in submit.sh).
  • Files generated by the package (scripts, data files and output) are now saved
    in a subfolder named _rslurm_[jobname] in the current working directory.
  • Minor updates, including reformatting the output of print_job_status and
    removing this package's dependency on stringr.