Commit db998796 authored by Willi Rath's avatar Willi Rath

Merge branch 'ensure-bashrc-sourced' into 'master'

Ensure bashrc is sourced on NESH

See merge request !35
parents 836e57a5 8ed992ff
......@@ -38,8 +38,12 @@ if [ -n "${1}" ]; then
else
cd $PBS_O_WORKDIR
echo "host $(hostname)"
# ensure bashrc is sourced
if [ -f ~/.bashrc ]; then
. ~/.bashrc;
fi
conda activate base && \
jupyter lab --ip=$(hostname) --no-browser
jupyter lab --ip=$(hostname) --no-browser
# for conda versions below 4.6 use
# source $HOME/miniconda3/bin/activate base && \
# jupyter lab --ip=$(hostname) --no-browser
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment