-
Notifications
You must be signed in to change notification settings - Fork 292
/
Copy pathunity.config
51 lines (41 loc) · 1.17 KB
/
unity.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
/*
* -------------------------------------------------
* Unity HPC cluster config file for nf-core
* -------------------------------------------------
* https://unity.rc.umass.edu/
*/
params {
config_profile_description = 'Unity HPC cluster profile provided by nf-core/configs.'
config_profile_contact = 'Berent Aldikacti (@baldikacti)'
config_profile_url = 'https://unity.rc.umass.edu/'
igenomes_base = '/datasets/bio/igenomes'
max_memory = 2.TB
max_cpus = 192
max_time = 14.d
}
process {
resourceLimits = [
cpus: 192,
memory: 2.TB,
time: 14.d
]
executor = 'slurm'
// Selects partition based on process time
queue = { task.time <= 2.h ? 'cpu-preempt' : 'cpu' }
clusterOptions = { "${task.time >= 48.h ? '-q long' : ''}" }
maxRetries = 2
}
// Limits job submission to 1000 consecutive run and 20 submissions per second
executor {
queueSize = 1000
submitRateLimit = '20sec'
pollInterval = '30sec'
queueStatInterval = '1min'
}
apptainer {
enabled = true
autoMounts = true
pullTimeout = '120m'
}
// clean the generated files in the working directory
cleanup = true