This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:gizmo [2024/03/04 12:31] msovara |
howto:gizmo [2024/03/04 12:54] (current) msovara |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| In the realm of High Energy Physics, the preferred framework for handling extensive data analysis tasks has long been CERN’s ROOT framework[[https:// | In the realm of High Energy Physics, the preferred framework for handling extensive data analysis tasks has long been CERN’s ROOT framework[[https:// | ||
| - | Installing ROOT on an HPC (High-Performance Computing) facility can be a bit different from installing it on a regular computer. Instead of building from source, which can be complex and time-consuming due to ROOT's size, I opted to create a Python virtual environment in my home directory and then used conda to install ROOT. For any Linux distribution and MacOS, ROOT is available as a conda package. To create a new conda environment containing ROOT and activate it, execute: | + | Installing ROOT on an HPC (High-Performance Computing) facility can be a bit different from installing it on a regular computer. Instead of building from source, which can be complex and time-consuming due to ROOT's size. I opted to create a Python virtual environment in my home directory and then used conda to install ROOT. For any Linux distribution and MacOS, ROOT is available as a conda package. To create a new conda environment containing ROOT and activate it, execute: |
| < | < | ||
| Line 11: | Line 11: | ||
| $ module add python/ | $ module add python/ | ||
| $ mkdir dev; cd dev | $ mkdir dev; cd dev | ||
| - | $ virtualenv root_env | + | $ virtualenv |
| $ source root_env/ | $ source root_env/ | ||
| </ | </ | ||
| Line 17: | Line 17: | ||
| Setting '' | Setting '' | ||
| - | < | + | < |
| $ conda config --set channel_priority strict | $ conda config --set channel_priority strict | ||
| - | $ conda create | + | $ conda install root -c conda-forge |
| $ deactivate | $ deactivate | ||
| - | </ | + | </ |
| I encourage you to try these steps and let me know if you encounter any issues or have any questions. | I encourage you to try these steps and let me know if you encounter any issues or have any questions. | ||