1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

fix for singularity cache for vsc_ugent profile

This commit is contained in:
Nicolas Vannieuwkerke 2022-06-08 16:27:48 +02:00
parent 5fdc8b7b1b
commit 98eacf030d

View file

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