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 { TMPDIR="$USER_SCRATCH" SINGULARITY_TMPDIR="$USER_SCRATCH" } singularity { enabled = true autoMounts = true runOptions = "--contain --workdir $USER_SCRATCH" } 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 }