Commit 9f6a5329 authored by Katharina Höflich's avatar Katharina Höflich

first approach

parent 7d6e8920
......@@ -39,12 +39,13 @@ 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
#if [ -f ~/.bashrc ]; then
# . ~/.bashrc;
#fi
#conda activate base && \
# 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
# workaround for non-interactive shell sessions
source $HOME/miniconda3/bin/activate base && \
jupyter lab --ip=$(hostname) --no-browser
fi
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