Wirawan Purwanto
5edd528511
* 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
3 years ago
Wirawan Purwanto
4a1b5d0a69
* Saved developmental notebooks to devise/test the "lmod_python_fix.py".
...
These were done on Wahab with legacy (lmod-based) Python suite.
Sigs:
# -rw-r--r-- 1 wpurwant users 56588 2020-06-09 17:35 debug_ipython_start_1.ipynb
# -rw-r--r-- 1 wpurwant users 20395 2020-06-09 17:34 debug_ipython_start_2.ipynb
# -rw-r--r-- 1 wpurwant users 21965 2020-06-09 19:20 debug_ipython_start_3.ipynb
# -rw-r--r-- 1 wpurwant users 10717 2020-06-09 19:23 debug_ipython_start_4_vanilla.ipynb
# -rw-r--r-- 1 wpurwant users 37041 2020-06-09 19:59 debug_ipython_start_5.ipynb
# b061fbc819806bc18d48287a9654bcc5 debug_ipython_start_1.ipynb
# bc262fc0d3cd290da1f46a242a6fcccb debug_ipython_start_2.ipynb
# 5f289c909e967096712b3196a19979b7 debug_ipython_start_3.ipynb
# b5f0cd9251e325b0c7e0222ba4cfc037 debug_ipython_start_4_vanilla.ipynb
# abc440a885da0872d5bc215adfc3edd7 debug_ipython_start_5.ipynb
3 years ago
Wirawan Purwanto
0ad73f50d6
* Saved README.txt of the lmod_python fix (notes written to Minhao, 2020-06-09).
3 years ago
Wirawan Purwanto
d159d57578
* Third attempt to fix lmod "module" for ipython ("fix3")
...
(dated: 2020-06-09).
* Supports both Turing and Wahab.
* Allows both addition and deletion of paths from sys.path.
* Author's note: Later on, I discovered that these complex steps do not appear
to be necessary, somehow the lmod Python commands were able to take care
of additions and deletions through the modification of os.environ['PYTHONPATH']
alone, so I am not sure if this fix is absolutely needed. (?)
Sigs:
# -rw------- 1 wpurwant users 3298 2020-06-09 20:07 lmod_python_fix3.py
# 78abc7bae90bf23a42aa40285175ca48 lmod_python_fix3.py
3 years ago
Wirawan Purwanto
232cc5cafb
* Second attempt to fix lmod "module" for ipython ("fix2")
...
(dated: 2020-06-09).
WIP: Prevent indefinite lengthening of sys.path but not complete
fix yet.
Sigs:
# -rw------- 1 wpurwant users 1290 2020-06-09 19:28 lmod_python_fix2.py
# e218a4ac73762e0380c4bbe2290906b1 lmod_python_fix2.py
3 years ago
Wirawan Purwanto
5c0b516026
* First attempt to fix lmod "module" for ipython ("fix1")
...
(dated: 2020-06-09)
Sigs:
# -rw------- 1 wpurwant users 915 2020-06-09 17:20 lmod_python_fix1.py
# bb42b2bde01f2e235eb205fe555fab9e lmod_python_fix1.py
3 years ago
Wirawan Purwanto
7c02045fa1
* Saved the original lmod_python.py and
...
~/.ipython/profile_default/startup/000-odurc-lmod.py
from Wahab cluster on the "legacy" lmod-based ipython/jupyter
session. Last update: 2020-06-09.
Sigs:
# -rw-r--r-- 1 wpurwant users 179 2020-06-03 15:49 000-odurc-lmod.py
# -rw-r--r-- 1 wpurwant users 843 2020-03-17 14:02 lmod_python.py
# 8718a2d7a7d6d152701e6c31254f7168 000-odurc-lmod.py
# 24a740e83656875bd39f942529378414 lmod_python.py
3 years ago