Commit Graph

5 Commits

Author SHA1 Message Date
Wirawan Purwanto
0ad73f50d6 * Saved README.txt of the lmod_python fix (notes written to Minhao, 2020-06-09). 2022-02-22 10:41:11 -05:00
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
2022-02-22 10:28:14 -05:00
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
2022-02-22 10:22:45 -05:00
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
2022-02-22 10:16:47 -05:00
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
2022-02-22 10:11:47 -05:00