mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
Merge pull request #334 from jfy133/eva-update
eva: generalise custom SGE mem flag
This commit is contained in:
commit
ea052a7b67
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ process {
|
||||||
executor = 'sge'
|
executor = 'sge'
|
||||||
penv = 'smp'
|
penv = 'smp'
|
||||||
queue = 'all.q'
|
queue = 'all.q'
|
||||||
|
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga()}G" }
|
||||||
}
|
}
|
||||||
|
|
||||||
executor {
|
executor {
|
||||||
|
@ -36,6 +37,7 @@ profiles {
|
||||||
|
|
||||||
process {
|
process {
|
||||||
queue = 'archgen.q'
|
queue = 'archgen.q'
|
||||||
|
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga()}G" }
|
||||||
}
|
}
|
||||||
|
|
||||||
singularity {
|
singularity {
|
||||||
|
|
|
@ -14,7 +14,7 @@ process {
|
||||||
maxRetries = 2
|
maxRetries = 2
|
||||||
|
|
||||||
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
||||||
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga()}G,virtual_free=${task.memory.toGiga()}G" }
|
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga()}G" }
|
||||||
|
|
||||||
withLabel:'sc_tiny'{
|
withLabel:'sc_tiny'{
|
||||||
cpus = { check_max( 1, 'cpus' ) }
|
cpus = { check_max( 1, 'cpus' ) }
|
||||||
|
|
Loading…
Reference in a new issue