mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-23 08:49:54 +00:00
Update crukmi.config
Fix the singularity cache dir and add process_single.
This commit is contained in:
parent
0d4ecaeb6d
commit
17c3767fef
1 changed files with 6 additions and 4 deletions
|
@ -5,11 +5,8 @@ params {
|
||||||
config_profile_url = 'http://scicom.picr.man.ac.uk/projects/user-support/wiki'
|
config_profile_url = 'http://scicom.picr.man.ac.uk/projects/user-support/wiki'
|
||||||
}
|
}
|
||||||
|
|
||||||
env {
|
|
||||||
SINGULARITY_CACHEDIR = '/lmod/nextflow_software'
|
|
||||||
}
|
|
||||||
|
|
||||||
singularity {
|
singularity {
|
||||||
|
cacheDir = '/lmod/nextflow_software'
|
||||||
enabled = true
|
enabled = true
|
||||||
autoMounts = true
|
autoMounts = true
|
||||||
}
|
}
|
||||||
|
@ -22,6 +19,11 @@ process {
|
||||||
maxErrors = '-1'
|
maxErrors = '-1'
|
||||||
maxRetries = 3
|
maxRetries = 3
|
||||||
|
|
||||||
|
withLabel:process_single {
|
||||||
|
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
||||||
|
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
||||||
|
}
|
||||||
|
|
||||||
withLabel:process_low {
|
withLabel:process_low {
|
||||||
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 5.GB * task.attempt, 'memory' ) }
|
||||||
|
|
Loading…
Reference in a new issue