From adc88cfa1f3edec886261c5f721cb97581a019ac Mon Sep 17 00:00:00 2001 From: lquayle88 Date: Mon, 19 Sep 2022 16:30:30 +0100 Subject: [PATCH] Added config for limiting queue size and job submit rate --- conf/sbc_sharc.config | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/conf/sbc_sharc.config b/conf/sbc_sharc.config index de1ab0c..bf00d33 100644 --- a/conf/sbc_sharc.config +++ b/conf/sbc_sharc.config @@ -11,16 +11,21 @@ */ +// nf-core specific parameters displayed in header summary of each run + params { - - // nf-core specific parameters displayed in header summary of each run config_profile_description = 'Sheffield Bioinformatics Core - ShARC' config_profile_contact = 'Lewis Quayle (l.quayle@sheffield.ac.uk)' config_profile_url = 'https://docs.hpc.shef.ac.uk/en/latest/sharc/index.html' - - // hpc resource limits +} + + +// hpc resource limits + +params { + max_cpus = 16 max_memory = 64.GB max_time = 96.h @@ -42,6 +47,16 @@ process { } +// optional executor settings + +executor { + + queueSize = 10 + submitRateLimit = '1 sec' + +} + + // container engine singularity { @@ -50,4 +65,3 @@ singularity { autoMounts = true } -