mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 09:19:56 +00:00
Merge branch 'nf-core:master' into crukmi
This commit is contained in:
commit
81768e16a9
1 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
// Define the Scratch directory
|
||||||
|
def scratch_dir = System.getenv("USER_SCRATCH") ?: "/tmp"
|
||||||
|
|
||||||
params {
|
params {
|
||||||
config_profile_name = 'cheaha'
|
config_profile_name = 'cheaha'
|
||||||
config_profile_description = 'University of Alabama at Birmingham Cheaha HPC'
|
config_profile_description = 'University of Alabama at Birmingham Cheaha HPC'
|
||||||
|
@ -6,14 +9,14 @@ params {
|
||||||
}
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
TMPDIR="$USER_SCRATCH"
|
TMPDIR="$USER"
|
||||||
SINGULARITY_TMPDIR="$USER_SCRATCH"
|
SINGULARITY_TMPDIR="$scratch_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
singularity {
|
singularity {
|
||||||
enabled = true
|
enabled = true
|
||||||
autoMounts = true
|
autoMounts = true
|
||||||
runOptions = "--contain --workdir $USER_SCRATCH"
|
runOptions = "--contain --workdir $scratch_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
process {
|
process {
|
||||||
|
|
Loading…
Reference in a new issue