Skip to content

Releases: earthlab/rslurm

rslurm version 0.6.1

16 Nov 14:48
Compare
Choose a tag to compare

Released on CRAN, 15 November 2021.

New features and fixes

  • Argument job_array_task_limit included in slurm_*() functions to
    allow the user to set JobArrayTaskLimit
    (#70).

  • get_job_status() now checks whether slurm_*.out files exist
    before attempting to open them, avoiding an error
    (#72).

rslurm version 0.6.0

24 Apr 23:52
Compare
Choose a tag to compare

New features and fixes

  • New function slurm_map() with similar syntax to lapply() (#48).

  • Better handling of additional arguments to f in slurm_apply(), and of how R objects are made available to the Slurm jobs (#48).

  • Slurm jobID added to slurm_job objects (#55).

  • processes_per_node argument added to support hyperthreading (#57).

  • get_slurm_out() is now compatible with partitions that cannot accept interactive jobs and with newer releases of Slurm,
    though there is a potential incompatibility with versions of Slurm older than 16.05.0, which was released on May 2016 (#65).

  • Miscellaneous minor bug fixes (#49, #51, #53).

rslurm version 0.5.0

15 Nov 17:42
Compare
Choose a tag to compare

New features and fixes

  • Improved status with get_job_status, deprecating print_job_status
    (#37).

  • Use mclapply within get_slurm_out to gather results
    (#30).

  • Allow user to provide custom .R and .sh templates
    (#47).

  • Allow user to specify path to Rscript (#45)
    and number of CPUS per task (#36).

  • Allow user to disable core prescheduling if tasks have high variance in
    completion time (816b40e).

0.4 on CRAN now

19 Oct 21:01
Compare
Choose a tag to compare

rslurm version 0.3.3

09 Apr 22:42
Compare
Choose a tag to compare

rslurm 0.3.1

22 Jun 17:04
Compare
Choose a tag to compare
  • Minor bug fix: specify full path of 'Rscript' when running batch scripts.

rslurm 0.3.0

28 May 00:55
Compare
Choose a tag to compare

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.