From db2ca075ed6021d916b707f190322b7286f10116 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Thu, 25 Apr 2019 17:35:34 -0400 Subject: [PATCH] * Must re-add SLURM if it is not loaded. --- turing/calculations/launch_jupyter | 2 ++ 1 file changed, 2 insertions(+) diff --git a/turing/calculations/launch_jupyter b/turing/calculations/launch_jupyter index 7390601..57b1d22 100755 --- a/turing/calculations/launch_jupyter +++ b/turing/calculations/launch_jupyter @@ -36,6 +36,8 @@ process_args() { # - python/3.x enable_lmod +if ! module is-loaded slurm; then module load slurm; fi + if [ -n "$ANACONDA3_VER" ]; then echo "Launching Jupyter for anaconda3 module version $ANACONDA3_VER" elif [ -n "$ANACONDA2_VER" ]; then