From 90c86fc349d7c31c3709a50eb87be7a9a505a26a Mon Sep 17 00:00:00 2001
From: xgrand <xavier.grand@ens-lyon.fr>
Date: Tue, 21 Nov 2023 13:26:28 +0100
Subject: [PATCH] bind /scratch to pollux profile in nextflow.config

---
 src/nextflow.config | 39 +--------------------------------------
 1 file changed, 1 insertion(+), 38 deletions(-)

diff --git a/src/nextflow.config b/src/nextflow.config
index 0211a1b..b96e811 100755
--- a/src/nextflow.config
+++ b/src/nextflow.config
@@ -72,43 +72,6 @@ profiles {
       }
     }
   }
-  
-  pollux {
-      singularity.enabled = true
-      singularity.cacheDir = "./bin/"
-      singularity.runOptions = "--bind /data,/home,/scratch"
-      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'
-        }
-        withLabel: gpus {
-          maxForks = 1
-          containerOptions = '--nv'
-        }
-      }
-    }
-
   singularity {
     singularity.enabled = true
     singularity.cacheDir = "./bin/"
@@ -143,7 +106,7 @@ profiles {
   pollux {
     singularity.enabled = true
     singularity.cacheDir = "./bin/"
-    singularity.runOptions = "--bind /data,/home"
+    singularity.runOptions = "--bind /data,/home,/scratch"
     process {
       errorStrategy = 'finish'
       memory = '32GB'
-- 
GitLab