User Tools

Site Tools


research:root

This is an old revision of the document!


Installing ROOT using a python virtual environment

Sign in to LENGAU and then ssh into chpclic1

$ module purge
$ module add chpc/BIOMODULES

Adds C++ libraries and other things

Here is how you prepare a new environment with ROOT preinstalled:

$ conda create -n root_env root -c conda-forge

This will make a new environment called root_env, and install ROOT into it. The installation takes about 20 minutes to complete…

When complete you can list all your environments and their paths using:

$ conda info --envs

The full path to the root installation amongst others will appear

Activate the conda ROOT environment:

$ conda activate root_env

Confirm whether the ROOT package has been installed, if successfully installed, it should appear in the list of packages:

$ conda list

Launch ROOT

$ root

For each new ROOT session, in an interactive session simply activate the ROOT conda environment and launch ROOT. Deactivate the environment when done using:

$ conda deactivate
/app/dokuwiki/data/attic/research/root.1710854002.txt.gz · Last modified: 2024/03/19 15:13 by msovara