mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 10:49:55 +00:00
optimisation for single-cpu processes
This commit is contained in:
parent
45ac6fedc2
commit
a731669b8e
1 changed files with 6 additions and 1 deletions
|
@ -28,7 +28,7 @@ process {
|
||||||
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
|
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
|
||||||
withLabel:process_single {
|
withLabel:process_single {
|
||||||
cpus = { check_max( 1 , 'cpus' ) }
|
cpus = { check_max( 1 , 'cpus' ) }
|
||||||
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 1.GB * task.attempt, 'memory' ) }
|
||||||
time = { check_max( 4.h * task.attempt, 'time' ) }
|
time = { check_max( 4.h * task.attempt, 'time' ) }
|
||||||
}
|
}
|
||||||
withLabel:process_low {
|
withLabel:process_low {
|
||||||
|
@ -62,4 +62,9 @@ process {
|
||||||
withName:CUSTOM_DUMPSOFTWAREVERSIONS {
|
withName:CUSTOM_DUMPSOFTWAREVERSIONS {
|
||||||
cache = false
|
cache = false
|
||||||
}
|
}
|
||||||
|
withName: rma2info {
|
||||||
|
cpus = { check_max( 1 , 'cpus' ) }
|
||||||
|
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
|
||||||
|
time = { check_max( 4.h * task.attempt, 'time' ) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue