From 22e423f0e8b578b9eb940bb9ea0da83b58914dec Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 25 Aug 2021 15:31:11 -0500 Subject: [PATCH] Update dot_envvar Update executable_dot_bashrc --- dot_envvar | 3 +++ executable_dot_bashrc | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/dot_envvar b/dot_envvar index 37e1a33..43f58b7 100644 --- a/dot_envvar +++ b/dot_envvar @@ -44,3 +44,6 @@ 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" + +# Give Julia full CPU access +export JULIA_NUM_THREADS=$(nproc) diff --git a/executable_dot_bashrc b/executable_dot_bashrc index 7e8104c..9490478 100644 --- a/executable_dot_bashrc +++ b/executable_dot_bashrc @@ -5,6 +5,10 @@ if [ -f /etc/bashrc ]; then . /etc/bashrc fi +if [ -f "$HOME/.modules" ]; then + source $HOME/.modules +fi + # Hook virtual environment modifers source $HOME/.hooks