ucgmsim / slurm_gm_workflow

Porting the GM workflow to run on new NeSI HPC (Maintainer: Jonney)
MIT License
0 stars 2 forks source link

Updated README for environment setup to use Python 3.11 on Mahuika #525

Closed sungeunbae closed 3 weeks ago

sungeunbae commented 4 weeks ago

NeSI is planning to retire old modules based on gimkl/2017a toolchain, meaning Python 3.9 is on its way out, and we have Python 3.11. Sadly we are still stuck at Python 3.9 on Maui.

I created a new Python 3.11-based Mahuika environment, but made an easy option to roll back to Python 3.9-based environment.

For new 3.11-based environment, your .bashrc should have

MAUI_PYTHON_VER=3.9
MAHUIKA_PYTHON_VER=3.11
source /nesi/project/nesi00213/share/bashrc.uceq.gcc123

To go back to old 3.9-based env,

MAUI_PYTHON_VER=3.9
MAHUIKA_PYTHON_VER=3.9
source /nesi/project/nesi00213/share/bashrc.uceq.gcc123

OR

PYTHON_VER=3.9
source /nesi/project/nesi00213/share/bashrc.uceq

The second option is what everyone is expected to have in the .bashrc currently.

If .bashrc configuration and the environment you want to load do not match, you are most likely to see a library not found error (eg. libpython39.so )