-
Notifications
You must be signed in to change notification settings - Fork 272
/
crukmi.config
59 lines (50 loc) · 1.47 KB
/
crukmi.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//Profile config names for nf-core/configs
params {
config_profile_description = 'Cancer Research UK Manchester Institute HPC cluster profile provided by nf-core/configs'
config_profile_contact = 'Stephen Kitcatt, Simon Pearce (@skitcattCRUKMI, @sppearce)'
config_profile_url = 'http://scicom.picr.man.ac.uk/projects/user-support/wiki'
}
singularity {
cacheDir = '/lmod/nextflow_software'
enabled = true
autoMounts = true
}
process {
resourceLimits = [
memory: 4000.GB,
cpus: 96,
time: 72.h
]
beforeScript = 'module load apps/apptainer'
executor = 'slurm'
queue = { task.memory <= 240.GB ? 'compute' : 'hmem' }
errorStrategy = { task.exitStatus in [143, 137, 104, 134, 139, 140] ? 'retry' : 'finish' }
maxErrors = '-1'
maxRetries = 3
withLabel: process_single {
cpus = { 1 * task.attempt }
memory = { 5.GB * task.attempt }
}
withLabel: process_low {
cpus = { 1 * task.attempt }
memory = { 5.GB * task.attempt }
}
withLabel: process_medium {
cpus = { 4 * task.attempt }
memory = { 20.GB * task.attempt }
}
withLabel: process_high {
cpus = { 48 * task.attempt }
memory = { 240.GB * task.attempt }
}
}
executor {
name = 'slurm'
queueSize = 1000
pollInterval = '10 sec'
}
params {
max_memory = 4000.GB
max_cpus = 96
max_time = 72.h
}