-
Notifications
You must be signed in to change notification settings - Fork 47
CERN setup
Jochen Klein edited this page Sep 10, 2024
·
6 revisions
-
If you do not use
direnvyet, add the following to your.bashrc/.zshrc/...eval "$(direnv hook zsh)"
-
Reopen your shell or source the respective rcfile.
-
Add a file .envrc with the following content in the root directory of
mlhep(you might want to start from a fresh clone):layout python /home/jklein/sw/pyenv/versions/3.10.14/bin/python3 path_add PYTHONPATH /home/jklein/sw/root/install/lib path_add LD_LIBRARY_PATH /home/jklein/sw/root/install/lib path_add LD_LIBRARY_PATH /home/jklein/sw/RooUnfold/install/lib
-
Change to the root directory of
mlhepand run:direnv allow
-
Install required python packages and development version of
mlhepusing:pip install -r requirements.txt pip install -e . -
Have fun!