mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-10 20:13:09 +00:00
Merge pull request #385 from nvnieuwk/fix-for-failing-tests-vsc-ugent-profile
Fix for failing tests for vsc_ugent
This commit is contained in:
commit
515cbf0a77
1 changed files with 16 additions and 13 deletions
|
@ -1,8 +1,11 @@
|
|||
// Define the Scratch directory
|
||||
def scratch_dir = System.getenv("VSC_SCRATCH_VO_USER") ?: "scratch/"
|
||||
|
||||
// Specify the work directory
|
||||
workDir = "$VSC_SCRATCH_VO_USER/work"
|
||||
workDir = "$scratch_dir/work"
|
||||
|
||||
// Perform work directory cleanup when the run has succesfully completed
|
||||
cleanup = true
|
||||
// cleanup = true
|
||||
|
||||
// Reduce the job submit rate to about 10 per second, this way the server won't be bombarded with jobs
|
||||
executor {
|
||||
|
@ -13,7 +16,7 @@ executor {
|
|||
singularity {
|
||||
enabled = true
|
||||
autoMounts = true
|
||||
cacheDir = "$VSC_SCRATCH_VO_USER/singularity"
|
||||
cacheDir = "$scratch_dir/singularity"
|
||||
}
|
||||
|
||||
// Define profiles for each cluster
|
||||
|
@ -32,8 +35,8 @@ profiles {
|
|||
executor = 'slurm'
|
||||
queue = 'skitty'
|
||||
maxRetries = 2
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$VSC_SCRATCH_VO_USER/.singularity"
|
||||
scratch = "$VSC_SCRATCH_VO_USER"
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity"
|
||||
scratch = "$scratch_dir"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,8 +54,8 @@ profiles {
|
|||
executor = 'slurm'
|
||||
queue = 'swalot'
|
||||
maxRetries = 2
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$VSC_SCRATCH_VO_USER/.singularity"
|
||||
scratch = "$VSC_SCRATCH_VO_USER"
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity"
|
||||
scratch = "$scratch_dir"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,8 +73,8 @@ profiles {
|
|||
executor = 'slurm'
|
||||
queue = 'victini'
|
||||
maxRetries = 2
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$VSC_SCRATCH_VO_USER/.singularity"
|
||||
scratch = "$VSC_SCRATCH_VO_USER"
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity"
|
||||
scratch = "$scratch_dir"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,8 +92,8 @@ profiles {
|
|||
executor = 'slurm'
|
||||
queue = 'kirlia'
|
||||
maxRetries = 2
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$VSC_SCRATCH_VO_USER/.singularity"
|
||||
scratch = "$VSC_SCRATCH_VO_USER"
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity"
|
||||
scratch = "$scratch_dir"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,8 +111,8 @@ profiles {
|
|||
executor = 'slurm'
|
||||
queue = 'doduo'
|
||||
maxRetries = 2
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$VSC_SCRATCH_VO_USER/.singularity"
|
||||
scratch = "$VSC_SCRATCH_VO_USER"
|
||||
beforeScript = "export SINGULARITY_CACHEDIR=$scratch_dir/.singularity"
|
||||
scratch = "$scratch_dir"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue