From 17c3767fef85f129eee9632ee6202822ad550ba8 Mon Sep 17 00:00:00 2001 From: Simon Pearce <24893913+SPPearce@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:53:54 +0100 Subject: [PATCH] Update crukmi.config Fix the singularity cache dir and add process_single. --- conf/crukmi.config | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/conf/crukmi.config b/conf/crukmi.config index 4823585..778935b 100644 --- a/conf/crukmi.config +++ b/conf/crukmi.config @@ -5,11 +5,8 @@ params { config_profile_url = 'http://scicom.picr.man.ac.uk/projects/user-support/wiki' } -env { - SINGULARITY_CACHEDIR = '/lmod/nextflow_software' -} - singularity { + cacheDir = '/lmod/nextflow_software' enabled = true autoMounts = true } @@ -22,6 +19,11 @@ process { maxErrors = '-1' maxRetries = 3 + withLabel:process_single { + cpus = { check_max( 1 * task.attempt, 'cpus' ) } + memory = { check_max( 5.GB * task.attempt, 'memory' ) } + } + withLabel:process_low { cpus = { check_max( 1 * task.attempt, 'cpus' ) } memory = { check_max( 5.GB * task.attempt, 'memory' ) }