-
Notifications
You must be signed in to change notification settings - Fork 356
Expand file tree
/
Copy pathceres.config
More file actions
43 lines (40 loc) · 984 Bytes
/
ceres.config
File metadata and controls
43 lines (40 loc) · 984 Bytes
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
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 = {
if (task.memory >= 216.GB) {
if (task.time >= 7.d) {
return 'longmem'
} else {
return 'mem'
}
} else {
if (task.time >= 21.d) {
return 'long60'
} else if (task.time >= 7.d) {
return 'long'
} else if (task.time >= 48.h) {
return 'medium'
} else {
return 'short'
}
}
}
}