From b9a00f79268c237a540060e7a43c2c8418c68bb8 Mon Sep 17 00:00:00 2001 From: "James A. Fellows Yates" Date: Thu, 15 Apr 2021 22:27:07 +0200 Subject: [PATCH] Update mpcdf.config --- conf/mpcdf.config | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/conf/mpcdf.config b/conf/mpcdf.config index 481ebc4..c6c3c9c 100644 --- a/conf/mpcdf.config +++ b/conf/mpcdf.config @@ -1,24 +1,28 @@ params { config_profile_description = 'MPCDF HPC profiles (unoffically) provided by nf-core/configs.' config_profile_contact = 'James Fellows Yates (@jfy133)' - config_profile_url = 'https://www.mpcdf.mpg.de/services/computing' + config_profile_url = 'https://www.mpcdf.mpg.de/services/supercomputing' } profiles { cobra { - // Does not have singularity! Conda module must be used, but it is - // recommended to set NXF_CONDA_CACHEDIR var in ~/.bash{_profile,rc} - // To create common cache dir process { - beforeScript = 'module load anaconda/3/2020.02' + beforeScript = 'module load singularity' executor = 'slurm' } executor { queueSize = 8 } + + // Set $NXF_SINGULARITY_CACHEDIR in your ~/.bash_profile + // to stop downloading the same image for every run + singularity { + enabled = true + autoMounts = true + } params { config_profile_description = 'MPCDF cobra profile (unofficially) provided by nf-core/configs.' @@ -28,18 +32,22 @@ profiles { } } raven { - // Does not have singularity! Conda module must be used, but it is - // recommended to set NXF_CONDA_CACHEDIR var in ~/.bash{_profile,rc} - // to create common cache dir process { - beforeScript = 'module load anaconda/3/2020.02' + beforeScript = 'module load singularity' executor = 'slurm' } executor { queueSize = 8 } + + // Set $NXF_SINGULARITY_CACHEDIR in your ~/.bash_profile + // to stop downloading the same image for every run + singularity { + enabled = true + autoMounts = true + } params { config_profile_description = 'MPCDF raven profile (unofficially) provided by nf-core/configs.' @@ -47,5 +55,8 @@ profiles { max_cpus = 192 max_time = 24.h } + } + debug { + cleanup = false } }