mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-18 02:46:13 -05:00
Merge pull request #178 from MaxUlysse/master_resource_requirements
Add cpus, memory and time requirements to limit resource consumption
This commit is contained in:
commit
d30baa9e54
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@ params {
|
||||||
singularity_pull_docker_container = false
|
singularity_pull_docker_container = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process {
|
||||||
|
cpus = 2
|
||||||
|
memory = 6.GB
|
||||||
|
time = 48.h
|
||||||
|
}
|
||||||
|
|
||||||
if ("$PROFILE" == "singularity") {
|
if ("$PROFILE" == "singularity") {
|
||||||
singularity.enabled = true
|
singularity.enabled = true
|
||||||
singularity.autoMounts = true
|
singularity.autoMounts = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue