Artemis
This section provides detailed instructions for installing artemis, which serves as the foundation for artemis_crib. While artemis_crib is specifically customized for experiments performed at CRIB, artemis is a general-purpose analysis framework.
Steps to Install artemis
- Navigate to the directory where you want to install artemis:
- Clone the artemis repository:
- Switch to the develop branch:
The
developbranch is compatible with ROOT version 6 and is recommended for installation.
- Create a build directory and configure the build: You can customize the build with the following options:
CMake Configuration Options
| Option | Default Value | Description |
|---|---|---|
-DCMAKE_INSTALL_PREFIX |
./install |
Specifies the installation directory. Replace <installdir> with your desired directory. |
-DBUILD_GET |
OFF |
Enables or disables building the GET decoder. If ON, specify the GET decoder path using -DWITH_GET_DECODER. |
-DWITH_GET_DECODER |
Not Set | Specifies the path to the GET decoder. Required when -DBUILD_GET=ON. |
-DCMAKE_PREFIX_PATH |
Not Set | Specifies paths to yaml-cpp or openMPI. If not found automatically, you must set it manually. Note that yaml-cpp is required, but MPI support will be disabled if openMPI is missing. |
-DBUILD_WITH_REDIS |
OFF |
Enables or disables Redis integration. |
-DBUILD_WITH_ZMQ |
OFF |
Enables or disables ZeroMQ integration. |
Example: Customized Configuration Command
cmake -DCMAKE_INSTALL_PREFIX=/path/to/installation -DBUILD_GET=ON -DWITH_GET_DECODER=/path/to/decoder -DBUILD_WITH_REDIS=ON -DBUILD_WITH_ZMQ=ON ..
- Compile and install artemis:
-
Adjust the
-joption based on your system's CPU cores (e.g.,-j8for 8 cores). -
Set up the artemis environment: After installation, a script named
thisartemis.shwill be generated in the installation directory. Run the following command to set up the environment variables:
Persisting the Environment Setup
To avoid running the source command manually every time, add it to your shell configuration file (e.g., .zshrc or .bashrc):
This ensures that the artemis environment is automatically loaded when a new shell session starts.
Further Information
- For additional details about artemis, visit the artemis GitHub repository.