-
Notifications
You must be signed in to change notification settings - Fork 356
Expand file tree
/
Copy pathbluebear.config
More file actions
44 lines (36 loc) · 1.09 KB
/
bluebear.config
File metadata and controls
44 lines (36 loc) · 1.09 KB
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
params {
// Profile config
config_profile_description = 'BlueBEAR cluster profile'
config_profile_contact = 'Alex Lyttle (@alexlyttle)'
config_profile_url = 'https://docs.bear.bham.ac.uk/'
// Maximum resources available
max_memory = 512.GB
max_cpus = 112
max_time = 10.d
}
// Clean up work directory after successful run
cleanup = true
// Ensure TMPDIR is set to the node-specific scratch directory
env.TMPDIR = "/scratch/${System.getenv('USER')}"
// Enable Singularity (via Apptainer) for all processes
singularity {
enabled = true
autoMount = true
runOptions = "-B /scratch/${System.getenv('USER')}"
}
process {
resourceLimits = [
memory: 512.GB,
cpus: 112,
time: 10.d
]
// Slurm executor
executor = 'slurm'
clusterOptions = "--account ${System.getenv("SLURM_JOB_ACCOUNT")}"
// Ensure scratch directory exists
beforeScript = "mkdir -p /scratch/${System.getenv('USER')}"
}
executor {
queueSize = 60
submitRateLimit = '1sec'
}