The steps are nearly the same for LBL on Alliance, but we put them here to make it as easy as possible.
We recommend doing this in an empty directory
mkdir lbl-bin
cd lbl-bin
git clone https://github.com/njcuk9999/lbl.git
Note you could use an existing one if you wish but beaware lbl needs exact modules (so we don't recommend using a current environment)
module load StdEnv/2023 python/3.12 hdf5 cmake/3.31.0 gcc opencv/4.13.0
virtualenv lbl-env
source lbl-env/bin/activate
pip install --no-index --upgrade pip
module load StdEnv/2023 python/3.12 hdf5 cmake/3.31.0 gcc opencv/4.13.0
source lbl-env/bin/activate
pip install -e './lbl'
Please do not try to run LBL in a directory with a folder named "lbl" it will break.
You must load the modules and source the environment every time you want to use LBL
module load StdEnv/2023 python/3.12 hdf5 cmake/3.31.0 gcc opencv/4.13.0
source lbl-env/bin/activate
Then you can run LBL as normal.