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

Merge pull request #287 from mahesh-panchal/add_snic_tmp

Add SNIC_TMP to config
This commit is contained in:
Mahesh Binzer-Panchal 2021-10-11 10:38:50 +02:00 committed by GitHub
commit 8d68d76a44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ params {
singularity { singularity {
enabled = true enabled = true
envWhitelist = 'SNIC_TMP'
} }
def hostname = "r1" def hostname = "r1"
@ -49,6 +50,8 @@ def clusterOptionsCreator = { m ->
process { process {
executor = 'slurm' executor = 'slurm'
clusterOptions = { clusterOptionsCreator(task.memory) } clusterOptions = { clusterOptionsCreator(task.memory) }
// Use node local storage for execution.
scratch = '$SNIC_TMP'
} }
params { params {