1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-22 18:38:17 +00:00
nf-configs/conf/cheaha.config

34 lines
924 B
Text
Raw Normal View History

// Define the Scratch directory
def scratch_dir = System.getenv("USER_SCRATCH") ?: "/tmp"
2022-01-28 17:37:42 +00:00
params {
config_profile_name = 'cheaha'
config_profile_description = 'University of Alabama at Birmingham Cheaha HPC'
config_profile_contact = 'Lara Ianov (lianov@uab.edu) or Austyn Trull (atrull@uab.edu)'
config_profile_url = 'https://www.uab.edu/cores/ircp/bds'
}
env {
2022-09-01 15:12:07 +00:00
TMPDIR="$scratch_dir"
SINGULARITY_TMPDIR="$scratch_dir"
}
2022-01-28 17:37:42 +00:00
singularity {
enabled = true
2022-01-28 20:18:57 +00:00
autoMounts = true
runOptions = "--contain --workdir $scratch_dir"
2022-01-28 17:37:42 +00:00
}
process {
executor = 'slurm'
2022-01-28 20:18:57 +00:00
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')}
2022-01-28 17:37:42 +00:00
maxRetries = 3
beforeScript = 'module load Singularity'
}
params {
max_memory = 750.GB
2022-01-28 17:37:42 +00:00
max_cpus = 128
max_time = 150.h
}