diff --git a/conf/vsc_ugent.config b/conf/vsc_ugent.config index f2558fc..6875f19 100644 --- a/conf/vsc_ugent.config +++ b/conf/vsc_ugent.config @@ -19,6 +19,10 @@ singularity { cacheDir = "$scratch_dir/singularity" } +env { + SINGULARITY_CACHEDIR="$scratch_dir/.singularity" +} + // Define profiles for each cluster profiles { skitty { @@ -35,7 +39,6 @@ profiles { executor = 'slurm' queue = 'skitty' maxRetries = 2 - beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity" scratch = "$scratch_dir" } } @@ -54,7 +57,6 @@ profiles { executor = 'slurm' queue = 'swalot' maxRetries = 2 - beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity" scratch = "$scratch_dir" } } @@ -73,7 +75,6 @@ profiles { executor = 'slurm' queue = 'victini' maxRetries = 2 - beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity" scratch = "$scratch_dir" } } @@ -92,7 +93,6 @@ profiles { executor = 'slurm' queue = 'kirlia' maxRetries = 2 - beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity" scratch = "$scratch_dir" } } @@ -111,7 +111,6 @@ profiles { executor = 'slurm' queue = 'doduo' maxRetries = 2 - beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity" scratch = "$scratch_dir" } }