Add interactive installation script and README#561
Open
cmargalejo wants to merge 10 commits into
Open
Conversation
for more information, see https://pre-commit.ci
Mode 3 loads a CERN LCG view from /cvmfs (ROOT/Geant4/GSL/Garfield) and builds only REST on top -- tested on NAF-IAXO (RHEL9, LCG_109). Includes: - Garfield shim for the CVMFS layout (lib64, no CMake config) + Heed include flag - temporary patches for modern Garfield (ComponentBase->Component) and the restG4 C++20 Geant4 check (LCG ships C++20; REST builds fine with it) - pull the restG4 package when Geant4 is enabled - REST_HOME set to a writable path + warning when installing under AFS $HOME - .bashrc setup that also ensures the login profile sources it (login shells, SSH) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
for more information, see https://pre-commit.ci
Garfield's ROOT dictionary records its headers under "Include/Garfield/" (capital I, old layout), but LCG installs them lowercase, so cling prints ~50 harmless "Missing FileEntry" warnings at restRoot startup. Add a capital-Include symlink to the Garfield shim and put it on ROOT_INCLUDE_PATH (in the Mode 3 .bashrc), which makes the warnings go away. Verified on NAF-IAXO. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
for more information, see https://pre-commit.ci
- Restore --latest as the default submodule strategy (option 2 = pinned remains available, recommended if a latest build fails). Reverts the pinned default introduced during the Mode 3 merge, back to the PR's original intent. - README: add the Mode 3 (CVMFS) section, note restG4 is pulled when Geant4 is enabled, the login-shell .bashrc sourcing, and CVMFS/RHEL9 under requirements. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Use "--clean" instead of "Pinned" for the framework-recorded submodule versions, consistent with the pull-submodules.py --clean flag and the project's wording. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Member
Author
|
@JPorron @AlvaroEzq can you approve this PR with he REST installer? |
AlvaroEzq
approved these changes
Jun 29, 2026
JPorron
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tested on Titan, Sultan and personal machine with WSL/Ubuntu.
Tested in NAF-IAXO using CVMFS install. It loads a CERN LCG view from /cvmfs (ROOT, Geant4, GSL, Garfield) and builds only REST on top.
Not yet tested in macOS (likely needs changes to package installation and possibly compiler flags).