This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:gizmo [2023/09/09 18:18] msovara |
howto:gizmo [2024/03/04 12:54] (current) msovara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | 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: | ||
| + | < | ||
| + | $ module purge | ||
| + | $ module add chpc/ | ||
| + | $ module add python/ | ||
| + | $ mkdir dev; cd dev | ||
| + | $ virtualenv root_env; cd root_env | ||
| + | $ source root_env/ | ||
| + | </ | ||
| - | The simulation code GIZMO [[http:// | + | Setting '' |
| - | Installing GIZMO on an HPC (High-Performance Computing) facility can be a bit different from installing it on a regular computer. Here are the general steps you can follow: | + | < |
| + | $ conda config | ||
| + | $ conda install root -c conda-forge | ||
| + | $ deactivate | ||
| + | </ | ||
| - | 1. Check if GIZMO is already installed on the HPC facility or if there are any pre-built packages available that you can use. Many HPC facilities provide a list of available software packages or modules that you can load to your environment. | + | I encourage |
| - | + | For the details of the code and instructions for installation please see [[https://root.cern/install/ | |
| - | 2. If GIZMO is not available or if you prefer to install it yourself, you will need to request access to a compute node that has the required software packages and compilers installed. | + | |
| - | + | ||
| - | 3. Once you have access to the node, you will need to download the GIZMO source code and any required dependencies. You can do this using the wget or git command line tools or by uploading the files from your local machine to the HPC facility. | + | |
| - | + | ||
| - | 4. Before compiling the code, make sure to load the required software modules using the module load command or set the necessary environment variables to point to the correct locations of the required software packages. | + | |
| - | + | ||
| - | 5. Compile the code using the appropriate compiler and flags that are compatible with the CHPC LENGAU facility. This may involve modifying the makefile or the build script provided with the GIZMO source code. | + | |
| - | + | ||
| - | 6. Once the code is compiled, you can submit a job to the HPC scheduler to run your GIZMO simulation. Make sure to specify the appropriate job parameters such as the number of cores, memory, and wall time requirements. | + | |
| - | + | ||
| - | It's important to note that the exact steps for installing GIZMO on an HPC facility may vary depending on the specific facility and the software environment. It's recommended to consult the HPC facility documentation and support staff for more detailed instructions and troubleshooting advice. | + | |
| - | + | ||
| - | For the details of the code and instructions for installation please see [[http://www.tapir.caltech.edu/~phopkins/ | + | |