Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Ensure bashrc is sourced on NESH
· 8ed992ff
Willi Rath
authored
Feb 27, 2020
8ed992ff
Merge branch 'ensure-bashrc-sourced' into 'master'
· db998796
Willi Rath
authored
Feb 27, 2020
Ensure bashrc is sourced on NESH See merge request
!35
db998796
Show whitespace changes
Inline
Side-by-side
job-scripts/nesh-linux-cluster-jupyterlab.sh
View file @
db998796
...
...
@@ -38,6 +38,10 @@ 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
# for conda versions below 4.6 use
...
...