Skip to content
Open
24 changes: 12 additions & 12 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
process {

// TODO nf-core: Check the defaults for all processes
cpus = { 1 * task.attempt }
cpus = { 2 * task.attempt }
memory = { 6.GB * task.attempt }
time = { 4.h * task.attempt }
time = { 10.m * task.attempt }

errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
maxRetries = 1
Expand All @@ -28,23 +28,23 @@ process {
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
withLabel:process_single {
cpus = { 1 }
memory = { 6.GB * task.attempt }
time = { 4.h * task.attempt }
memory = { 1.GB * task.attempt }
time = { 10.m * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
memory = { 2.GB * task.attempt }
time = { 10.m * task.attempt }
}
withLabel:process_medium {
cpus = { 6 * task.attempt }
memory = { 36.GB * task.attempt }
time = { 8.h * task.attempt }
cpus = { 2 * task.attempt }
memory = { 4.GB * task.attempt }
time = {10.m * task.attempt }
}
withLabel:process_high {
cpus = { 12 * task.attempt }
memory = { 72.GB * task.attempt }
time = { 16.h * task.attempt }
cpus = { 2 * task.attempt }
memory = { 16.GB * task.attempt }
time = { 30.m * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
Expand Down
6 changes: 3 additions & 3 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '1.h'
cpus: 2,
memory: '2.GB',
time: '10.m'
]
}

Expand Down