-
Notifications
You must be signed in to change notification settings - Fork 0
/
nyu_ultraviolet.config
95 lines (85 loc) · 2.29 KB
/
nyu_ultraviolet.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// nf-config description
params {
config_profile_name = 'UltraViolet'
config_profile_description = 'Profile for use on NYU Langone Health UltraViolet HPC.'
config_profile_contact = 'Teo Sakel @TeoSakel'
}
// Get USER (Kerberos) id
def kerberos_id = System.getenv("USER")
// Define scratch directory
scratch_dir = "/gpfs/scratch/$kerberos_id"
// Clear work directory upon successful completion
cleanup = true
// Limit submit rate to avoid bombarding the server
executor {
queueSize = 25
submitRateLimit = '12/1min'
}
// Singularity parameters
singularity {
enabled = true
autoMounts = true
cacheDir = "$scratch_dir/singularity_images_nextflow"
}
// Default Profile for cpu_* queues
params {
max_memory = 327680.MB
max_cpus = 20
max_time = '28.day'
igenomes_base = '/gpfs/share/apps/iGenomes'
}
process {
module = ['singularity']
executor = 'slurm'
queue = { task.time < 12.h ? 'cpu_short' : task.time < 5.d ? 'cpu_medium' : 'cpu_long' }
}
// Alternative profiles for other queues.
profiles {
fat {
params {
max_cpus = 32
max_memory = 1474560.MB
max_time = 28.d
igenomes_base = '/gpfs/share/apps/iGenomes'
}
process {
queue = { task.time < 12.h ? 'fn_short' : task.time < 5.d ? 'fn_medium' : 'fn_long' }
}
}
gpu4 {
params {
max_cpus = 20
max_memory = 327680.MB
max_time = 28.d
igenomes_base = '/gpfs/share/apps/iGenomes'
}
process {
queue = { task.time < 12.h ? 'gpu4_short' : task.time < 3.d ? 'gpu4_medium' : 'gpu4_long' }
}
}
gpu8 {
params {
max_cpus = 24
max_memory = 737280.MB
max_time = 28.d
igenomes_base = '/gpfs/share/apps/iGenomes'
}
process {
queue = { task.time < 12.h ? 'gpu8_short' : task.time < 3.d ? 'gpu8_medium' : 'gpu8_long' }
}
}
a100 {
params {
max_cpus = 24
max_memory = 480000.MB
max_time = 28.d
igenomes_base = '/gpfs/share/apps/iGenomes'
}
process {
queue = { task.time < 3.d ? 'a100_short' : 'a100_long' }
}
}
debug {
cleanup = false
}
}