forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cheaha.config
33 lines (28 loc) · 924 Bytes
/
cheaha.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
// Define the Scratch directory
def scratch_dir = System.getenv("USER_SCRATCH") ?: "/tmp"
params {
config_profile_name = 'cheaha'
config_profile_description = 'University of Alabama at Birmingham Cheaha HPC'
config_profile_contact = 'Lara Ianov ([email protected]) or Austyn Trull ([email protected])'
config_profile_url = 'https://www.uab.edu/cores/ircp/bds'
}
env {
TMPDIR="$scratch_dir"
SINGULARITY_TMPDIR="$scratch_dir"
}
singularity {
enabled = true
autoMounts = true
runOptions = "--contain --workdir $scratch_dir"
}
process {
executor = 'slurm'
queue = { task.memory <= 50.GB ? (task.time <= 2.h ? 'express' : task.time <= 12.h ? 'short' : task.time <= 50.h ? 'medium' : 'long') : (task.time <= 50.h ? 'largemem' : 'largemem-long')}
maxRetries = 3
beforeScript = 'module load Singularity'
}
params {
max_memory = 750.GB
max_cpus = 128
max_time = 150.h
}