mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 16:29:55 +00:00
Merge pull request #1 from ggrimes/patch-1
changed # to // for comments
This commit is contained in:
commit
bc961c7990
1 changed files with 3 additions and 3 deletions
|
@ -16,16 +16,16 @@ singularity {
|
||||||
process {
|
process {
|
||||||
executor = 'sge'
|
executor = 'sge'
|
||||||
|
|
||||||
# memory environment & options
|
// memory environment & options
|
||||||
clusterOptions = {"-l h_vmem=${task.memory.bytes/task.cpus}"}
|
clusterOptions = {"-l h_vmem=${task.memory.bytes/task.cpus}"}
|
||||||
penv = 'sharedmem'
|
penv = 'sharedmem'
|
||||||
|
|
||||||
# common SGE error statuses
|
// common SGE error statuses
|
||||||
errorStrategy = {task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish'}
|
errorStrategy = {task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish'}
|
||||||
maxErrors = '-1'
|
maxErrors = '-1'
|
||||||
maxRetries = 3
|
maxRetries = 3
|
||||||
|
|
||||||
# load module script for Anaconda and Singularity
|
// load module script for Anaconda and Singularity
|
||||||
beforeScript = { '. /etc/profile.d/modules.sh; sleep 2; ' }
|
beforeScript = { '. /etc/profile.d/modules.sh; sleep 2; ' }
|
||||||
module = 'anaconda/5.3.1'
|
module = 'anaconda/5.3.1'
|
||||||
module = 'singularity/3.5.3'
|
module = 'singularity/3.5.3'
|
||||||
|
|
Loading…
Reference in a new issue