From 92896b97747af9810a03a532cd87b92c7b79d5ae Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Wed, 29 Sep 2021 10:07:16 +0200
Subject: [PATCH] src/nextflow.config: add podman profile

---
 src/nextflow.config | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/src/nextflow.config b/src/nextflow.config
index 05a44103..859be7ad 100644
--- a/src/nextflow.config
+++ b/src/nextflow.config
@@ -35,6 +35,27 @@ profiles {
       }
     }
   }
+  podman {
+    podman.enabled = true
+    process {
+      errorStrategy = 'finish'
+      memory = '16GB'
+      withLabel: big_mem_mono_cpus {
+        cpus = 1
+      }
+      withLabel: big_mem_multi_cpus {
+        cpus = 4
+      }
+      withLabel: small_mem_mono_cpus {
+        cpus = 1
+        memory = '2GB'
+      }
+      withLabel: small_mem_multi_cpus {
+        cpus = 4
+        memory = '2GB'
+      }
+    }
+  }
   singularity {
     singularity.enabled = true
     singularity.cacheDir = "./bin/"
-- 
GitLab