1
0
Fork 0
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:
Thomas A. Christensen II 2021-10-12 16:54:31 -05:00
parent 9ca0192356
commit a961680627

View file

@ -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)