Skip to content

Commit

Permalink
With the slurm version on the new cluster you have to explicitly requ…
Browse files Browse the repository at this point in the history
…est email notification for failed runs. Providing the additional argument "FAIL" also works on the old cluster.
  • Loading branch information
dklein-pik committed Jul 12, 2024
1 parent 9621b7a commit 754a1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start/submit.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ submit <- function(cfg, restart = FALSE, stopOnFolderCreateError = TRUE) {
exitCode <- system(paste0("sbatch --job-name=",
cfg$title,
" --output=log.txt --open-mode=append", # append for requeued jobs
" --mail-type=END",
" --mail-type=END,FAIL",
" --comment=REMIND",
" --wrap=\"Rscript prepareAndRun.R \" ",
cfg$slurmConfig))
Expand Down

0 comments on commit 754a1d6

Please sign in to comment.