Skip to content

CERN setup

Jochen Klein edited this page Sep 12, 2024 · 6 revisions

Usage of common installation of prerequisites on alicecerno2

  • If you do not use direnv yet, add the following to your .bashrc/.zshrc/...

    eval "$(direnv hook $SHELL)"
  • Reopen your shell or source the respective rcfile.

  • Without loading an alienv environment, change to the root directory of mlhep and run (only needed once):

    direnv allow
  • Install required python packages and development version of mlhep using (only needed once):

    pip install -r requirements.txt
    pip install -e .
  • mlhep now has its own isolated python environment, which gets activated automatically whenever you enter the mlhep directory. If you load an alienv environment before entering the directory, the alienv environment is used instead (to retain previous behaviour).