params { config_profile_description = 'South Australian Medial Health and Research Institute (SAHMRI) HPC cluster profile.' config_profile_contact = 'Nathan Watson-Haigh (nathan.watson-haigh@sahmri.com)' config_profile_url = "https://sahmri.com" max_memory = 375.GB max_cpus = 32 max_time = 14.d igenomes_base = '/cancer/storage/shared/igenomes/' } process { executor = 'slurm' queue = 'sahmri_prod_hpc,sahmri_cancer_hpc' maxRetries = 2 cpus = { check_max( 2 * task.attempt, 'cpus') } memory = { check_max( 1.GB * task.attempt, 'memory') } time = { check_max( 10.m * task.attempt, 'time') } } executor { queueSize = 50 submitRateLimit = '10 sec' } singularity { enabled = true autoMounts = true cacheDir = '/cancer/storage/shared/simg' } cleanup = true