mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-11-14 19:03:09 +00:00
Update dot_envvar.tmpl
This commit is contained in:
parent
9ca0192356
commit
a961680627
1 changed files with 13 additions and 3 deletions
|
@ -41,9 +41,19 @@ fi
|
|||
|
||||
# Set the Nextflow enviroment caches
|
||||
export NXF_HOME="$HOME/.nextflow"
|
||||
export NXF_CONDA_CACHEDIR="$NXF_HOME/conda"
|
||||
export NXF_SINGULARITY_CACHEDIR="$NXF_HOME/singularity"
|
||||
export NXF_CHARLIECLOUD_CACHEDIR="$NXF_HOME/charlie"
|
||||
{{ if (eq .cluster "scinet") }}
|
||||
NXF_CACHE=/90daydata/shared/$USER/.nextflow
|
||||
{{ else }}
|
||||
NXF_CACHE=$NXF_HOME
|
||||
{{ end }}
|
||||
export NXF_CONDA_CACHEDIR="$NXF_CACHE/conda"
|
||||
export NXF_SINGULARITY_CACHEDIR="$NXF_CACHE/singularity"
|
||||
export NXF_CHARLIECLOUD_CACHEDIR="$NXF_CACHE/charlie"
|
||||
|
||||
{{ if (eq .cluster "scinet") }}
|
||||
# Set the Singularity image cache
|
||||
NXF_CACHE=/90daydata/share/$USER/.singularity
|
||||
{{ end }}
|
||||
|
||||
# Give Julia full CPU access
|
||||
export JULIA_NUM_THREADS=$(nproc)
|
||||
|
|
Loading…
Reference in a new issue