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

use SLURM_CLUSTERS env var

this seems to be more reliable for queue checking than using the clusterOptions directive. See https://github.com/nextflow-io/nextflow/issues/807
This commit is contained in:
phue 2021-04-06 11:35:01 +02:00
parent 7c5a0871a3
commit 60ae267e43

View file

@ -5,12 +5,15 @@ params {
config_profile_url = 'https://collab.lmu.de/display/BioHPCGenomics/BioHPC+Genomics'
}
env {
SLURM_CLUSTERS='biohpc_gen'
}
process {
executor = 'slurm'
queue = { task.memory <= 1536.GB ? (task.time > 2.d || task.memory > 384.GB ? 'biohpc_gen_production' : 'biohpc_gen_normal') : 'biohpc_gen_highmem' }
beforeScript = 'module use /dss/dssfs01/pr53da/pr53da-dss-0000/spack/modules/x86_avx2/linux*'
module = 'charliecloud/0.22:miniconda3'
clusterOptions = '-M biohpc_gen'
}
charliecloud {
@ -21,4 +24,4 @@ params {
params.max_time = 14.d
params.max_cpus = 80
params.max_memory = 3.TB
}
}