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" }