Minor release.
-
Added a
preamble
option for Slurm batch scripts. This allows the user to specify commands that need to be added to script, e.g.,module load
. -
preamble
can be specified viaopts_slurmR$set_preamble()
or directly when callingSlurm_*apply
. -
Added the function
opts_slurmR$reset()
.
sourceSlurm()
was using a file created attempdir()
which was deleted, and thus, unavailable to be used bysbatch
. Tempfiles like those are now created atdirname(tempdir())
.
Minor release.
- Fixes an user-message issue (not crucial) observed in Fedora and Solaris.
-
Fixed bug when collecting failed jobs. slurmR would fail to correctly list failed jobs and thus to collect outputs. This would also would affect when trying to collect partially resubmitted jobs.
-
Slurm options passed via
opts_slurmR
are now passed toSlurm_*apply
as documented. Thanks to Gregory Penn (gregorypenn) who reported the bug. -
slurmr_cmd
now expands thecmd_path
.
-
Increased code coverage.
-
The function
wait_slurm()
is now exported and documented. -
Each line in the written R script is now wrapped with a custom
tryCatch
function (tcq
). On error, this new function will collect both the expression called, the error message, and will quit the R session, so now the user has a better description of possible errors, e.g. missing packages.
- Name changed from
sluRm
toslurmR
.
- JOSS review (finalizing).
- Added a
NEWS.md
file to track changes to the package.