From 47556f8765b1b922e6a7953ddaf04aeba1425597 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 13 Apr 2021 16:21:32 +0200
Subject: [PATCH] nextflow.config: add small_mem label

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

diff --git a/src/nextflow.config b/src/nextflow.config
index a30fd44f..16944c7b 100644
--- a/src/nextflow.config
+++ b/src/nextflow.config
@@ -25,6 +25,14 @@ profiles {
       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 {
@@ -39,6 +47,14 @@ profiles {
       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'
+      }
     }
   }
   psmn {
@@ -66,6 +82,24 @@ profiles {
         penv = "openmp32"
 
       }
+      withLabel: small_mem_mono_cpus {
+        executor = "sge"
+        clusterOptions = "-cwd -V"
+        cpus = 1
+        memory = "16GB"
+        time = "12h"
+        queue = "monointeldeb128,monointeldeb192"
+      }
+      withLabel: small_mem_multi_cpus {
+        executor = "sge"
+        clusterOptions = "-cwd -V"
+        cpus = 32
+        memory = "16GB"
+        time = "24h"
+        queue = "CLG*,SLG*,Epyc*"
+        penv = "openmp32"
+
+      }
     }
   }
   ccin2p3 {
@@ -96,6 +130,27 @@ profiles {
         memory = "8GB"
         queue = "huge"
       }
+      withLabel: small_mem_mono_cpus {
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
+        cpus = 1
+        memory = "8GB"
+        queue = "huge"
+      }
+      withLabel: small_mem_multi_cpus {
+        container = "lbmc/urqt:d62c1f8"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
+        cpus = 1
+        memory = "8GB"
+        queue = "huge"
+      }
     }
   }
 }
-- 
GitLab