From 6057729c590c0e4b0d443af895ff7c4c945facc8 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 2 Dec 2021 10:59:25 -0600 Subject: [PATCH] Add Nextflow configuration options for SCINet Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- dot_nextflow/config.tmpl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dot_nextflow/config.tmpl b/dot_nextflow/config.tmpl index 90f1412..557be40 100644 --- a/dot_nextflow/config.tmpl +++ b/dot_nextflow/config.tmpl @@ -2,3 +2,22 @@ tower { enabled = true accessToken = '{{ (bitwarden "item" "d41ac952-d8b5-4d20-a42a-ad8e0174d152").login.password }}' } +{{ if (eq .cluster "scinet") }} +process { + executor = 'slurm' + clusterOptions = '--account=fabadru' + {{ if (or (eq .chezmoi.hostname "Atlas-login-1") (eq .chezmoi.hostname "Atlas-login-2")) }} + withLabel: process_high_memory { + queue = 'bigmem' + } + {{ end }} + {{ if (eq .chezmoi.hostname "ceres") }} + withLabel: process_high_memory { + queue = 'mem' + } + withLabel: process_long { + queue = 'long' + } + {{ end }} +} +{{ end }}