Skip to content

Commit

Permalink
Merge pull request #257 from CovertLab/special-char
Browse files Browse the repository at this point in the history
Tweak SLURM executor options to try to minimize downtime
  • Loading branch information
thalassemia authored Nov 29, 2024
2 parents 8c68fa5 + 8a26c14 commit 7518cc3
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions runscripts/nextflow/config.template
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,19 @@ profiles {
params.publishDir = "PUBLISH_DIR"
// Avoid getting queue status too frequently (can cause job status mixups)
executor.queueStatInterval = '2 min'
// Check for terminated jobs and submit new ones less frequently
// than we check queue status (ensure correct and latest status)
executor.pollInterval = '5 min'
// Check for terminated jobs and submit new ones fairly frequently
// to minimize downtime between dependent jobs
executor.pollInterval = '30 sec'
// Retry all jobs that fail to submit (different from fail during runtime)
executor.submit.retry.reason = '.*'
// Retry failed submissions with delay longer than the time to
// get latest correct queue status (avoid job status mixups)
executor.retry.delay = '5 min'
executor.retry.maxDelay = '10 min'
// get latest queue status (avoid job status mixups)
executor.retry.delay = '3 min'
executor.retry.maxDelay = '5 min'
// Throttle submission rate to avoid overwhelming scheduler
executor.submitRateLimit = '20/min'
// Give NFS time to update and sync before raising errors
executor.exitReadTimeout = '15 min'
// Write out job status to log file less frequently
// than we check queue status (log correct and latest status)
executor.dumpInterval = '6 min'
executor.exitReadTimeout = '10 min'
workflow.failOnIgnore = true
}
standard {
Expand Down

0 comments on commit 7518cc3

Please sign in to comment.