From 366f945a401def16bafb2a1e0d0713824f23fe4a Mon Sep 17 00:00:00 2001 From: Marc Trunjer Kusk Nielsen Date: Mon, 13 Sep 2021 14:20:55 +0200 Subject: [PATCH] Update computerome.config --- conf/computerome.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/computerome.config b/conf/computerome.config index e4f41e8..aaa8d5b 100644 --- a/conf/computerome.config +++ b/conf/computerome.config @@ -5,7 +5,7 @@ params { config_profile_url = 'https://www.computerome.dk/' project = null schema_ignore_params = "project" - singularity_cache_dir = { "/home/projects/$params.project/scratch" } + cache = { "/home/projects/$params.project/scratch" } //Thin nodes with 192GB and Fat nodes with ~1500GB. Torque should be allowed to handle this max_memory = 1500.GB @@ -18,11 +18,11 @@ params { singularity { enabled = true autoMounts = true - cacheDir = params.singularity_cache_dir + cacheDir = params.cache } process { - beforeScript = { "module load tools singularity/3.8.0; export _JAVA_OPTIONS=-Djava.io.tmpdir=/home/projects/$params.project/scratch" } + beforeScript = { "module load tools singularity/3.8.0; export _JAVA_OPTIONS=-Djava.io.tmpdir=$params.cache; export NXF_SINGULARITY_CACHEDIR=$params.cache" } executor = 'pbs' queueSize = 2000 clusterOptions = { "-A $params.project -W group_list=$params.project" }