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

Merge pull request #388 from nvnieuwk/singularity-fix-for-vsc_ugent

Singularity fix for vsc ugent
This commit is contained in:
Maxime U. Garcia 2022-06-08 16:34:38 +02:00 committed by GitHub
commit b50af6bf7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"
} }
} }