From d7067099e733c56b18921935318a2b9bc1532311 Mon Sep 17 00:00:00 2001
From: xgrand <xavier.grand@inserm.fr>
Date: Thu, 8 Jun 2023 11:14:13 +0200
Subject: [PATCH] Add pollux profile to nextflow.config

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

diff --git a/src/nextflow.config b/src/nextflow.config
index 235bdd2..0ffe340 100755
--- a/src/nextflow.config
+++ b/src/nextflow.config
@@ -103,6 +103,37 @@ profiles {
       }
     }
   }
+  pollux {
+    singularity.enabled = true
+    singularity.cacheDir = "./bin/"
+    singularity.bind = "/home"
+    process {
+      errorStrategy = 'finish'
+      memory = '256GB'
+      withLabel: big_mem_mono_cpus {
+        cpus = 1
+      }
+      withLabel: big_mem_multi_cpus {
+        cpus = 16
+      }
+      withLabel: small_mem_mono_cpus {
+        cpus = 1
+        memory = '2GB'
+      }
+      withLabel: small_mem_multi_cpus {
+        cpus = 8
+        memory = '2GB'
+      }
+      withLabel: mid_mem_mono_cpus {
+        cpus = 1
+        memory = '8GB'
+      }
+      withLabel: mid_mem_multi_cpus {
+        cpus = 8
+        memory = '8GB'
+      }
+    }
+  }
   psmn {
     charliecloud.enabled = true
     charliecloud.cacheDir = "/Xnfs/abc/charliecloud"
-- 
GitLab