From 60ae267e4397cc9664154ad5cd5df19692a9b615 Mon Sep 17 00:00:00 2001 From: phue Date: Tue, 6 Apr 2021 11:35:01 +0200 Subject: [PATCH] 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 --- conf/biohpc_gen.config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/biohpc_gen.config b/conf/biohpc_gen.config index cdd2c03..b625b20 100755 --- a/conf/biohpc_gen.config +++ b/conf/biohpc_gen.config @@ -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 -} \ No newline at end of file +}