-
Notifications
You must be signed in to change notification settings - Fork 277
/
ceres.config
46 lines (43 loc) · 1.14 KB
/
ceres.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
params {
config_profile_description = 'USDA ARS SCINet Ceres Cluster profile'
config_profile_contact = 'Thomas A. Christensen II (@MillironX)'
config_profile_url = 'https://scinet.usda.gov/guide/ceres/'
max_memory = 640.GB
max_cpus = 36
max_time = 60.d
}
singularity {
enabled = true
autoMounts = true
}
process {
resourceLimits = [
memory: 640.GB,
cpus: 36,
time: 60.d
]
executor = 'slurm'
scratch = true
queue = {
switch (task.memory) {
case { it >= 216.GB }:
switch (task.time) {
case { it >= 7.d }:
return 'longmem'
default:
return 'mem'
}
default:
switch (task.time) {
case { it >= 21.d }:
return 'long60'
case { it >= 7.d }:
return 'long'
case { it >= 48.h }:
return 'medium'
default:
return 'short'
}
}
}
}