From 5edd528511e295aceacdd27d7a415bdc0d6988b3 Mon Sep 17 00:00:00 2001 From: Wirawan Purwanto Date: Tue, 22 Feb 2022 11:23:54 -0500 Subject: [PATCH] * Saved a sample revised ipython module loader, to be used with "fix3" version of lmod_python_fix.py. Sigs: # -rw------- 1 wpurwant users 291 2020-06-09 20:09 000-odurc-lmod.py.rev3 # 70e84e7eaaf28da297fa342c8318fe2b 000-odurc-lmod.py.rev3 --- lmod/ipython/startup/000-odurc-lmod.py.rev3 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lmod/ipython/startup/000-odurc-lmod.py.rev3 diff --git a/lmod/ipython/startup/000-odurc-lmod.py.rev3 b/lmod/ipython/startup/000-odurc-lmod.py.rev3 new file mode 100644 index 0000000..9dc8561 --- /dev/null +++ b/lmod/ipython/startup/000-odurc-lmod.py.rev3 @@ -0,0 +1,6 @@ +import sys as _sys_ +_sys_.path.append('/home/wpurwant/Testbeds/jupyter/wahab_jupyter_start') +_sys_.path.append('/shared/apps/common/lmod/scripts/init') # Wahab +_sys_.path.append('/cm/shared/applications/lmod/lmod/scripts/init') # Turing (FIXME) +from lmod_python_fix3 import module +del _sys_