This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
research:root [2024/03/19 13:35] msovara |
research:root [2024/10/28 07:12] (current) msovara |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Sign in to | Sign in to | ||
| - | | + | |
| - | <code bash> | + | Ensure that your base conda environment has been initialised for your user on LENGAU. If it has already been initialized you should observe (base) alongside your user ID. This means that .bashrc file has been modified to incorporate conda directives. If not start here: https:// |
| - | $ module purge | + | |
| - | </code> | + | |
| + | Sanitize your shell environment and then load the BIOMODULES module: | ||
| <code bash> | <code bash> | ||
| - | $ module add chpc/ | + | module purge |
| + | module add chpc/ | ||
| </ | </ | ||
| - | Adds C++ libraries and other things | ||
| - | Here is how you prepare | + | Here is how you create |
| <code bash> | <code bash> | ||
| - | $ conda create -n root_env root -c conda-forge | + | 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 will take about 15 minutes | + | This will make a new environment called root_env, and install ROOT into it. Installation times may vary. When I did it it took between 3-5 minutes... |
| - | When complete | + | When the installation completes successfully, |
| <code bash> | <code bash> | ||
| - | $ conda info --envs | + | conda info --envs |
| </ | </ | ||
| + | The full path to the root installation amongst others will appear. | ||
| + | Check whether the ROOT package has been installed, if successfully installed, it should appear in the list of packages: | ||
| <code bash> | <code bash> | ||
| - | $ conda activate root_env | + | conda list |
| </ | </ | ||
| - | Confirm whether | + | Activate |
| <code bash> | <code bash> | ||
| - | $ conda list | + | conda activate root_env |
| </ | </ | ||
| - | Launch ROOT | + | Launch ROOT: |
| <code bash> | <code bash> | ||
| - | $ root | + | root |
| </ | </ | ||
| - | Every time you want to ROOT, do not forget to activate the conda environment and deactivate | + | Deactivate |
| + | |||
| + | <code bash> | ||
| + | conda deactivate | ||
| + | </ | ||
| + | |||