// Config profile for HPC2N params { config_profile_description = 'Cluster profile for HPC2N' config_profile_contact = 'Pedro Ojeda @pojeda' config_profile_url = 'https://www.hpc2n.umu.se/' project = null clusterOptions = null max_memory = 128.GB max_cpus = 28 max_time = 168.h email = 'pedroojeda2011@gmail.com' } singularity { enabled = true } process { executor = 'slurm' clusterOptions = { "-A $params.project ${params.clusterOptions ?: ''}" } }