Skip to content

Commit

Permalink
reduce job submission limits & add apptainer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Joon-Klaps committed Nov 26, 2024
1 parent 6974904 commit dcd9741
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions conf/vsc_kul_uhasselt.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tier1_project = System.getenv("SLURM_ACCOUNT") ?: null
// Limit queueSize to keep job rate under control and avoid timeouts
executor {
submitRateLimit = '50/1min'
queueSize = 30
queueSize = 50
exitReadTimeout = "10min"
}

Expand All @@ -19,16 +19,17 @@ process {
executor = 'slurm'
stageInMode = "symlink"
stageOutMode = "rsync"
errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
errorStrategy = { sleep(Math.pow(2, task.attempt ?: 1) * 200 as long); return 'retry' }
maxRetries = 3
array = 50
array = 30
}

// Specify that singularity should be used and where the cache dir will be for the images
singularity {
enabled = true
autoMounts = true
cacheDir = "$scratch_dir/.singularity"
enabled = true
autoMounts = true
cacheDir = "$scratch_dir/.singularity"
pullTimeout = "30 min"
}

params {
Expand Down

0 comments on commit dcd9741

Please sign in to comment.