Back to home page

EIC code displayed by LXR

 
 

    


Warning, /epic-lfhcal-tbana/examples/yall/EXISTING_INSTALL.md is written in an unsupported language. File is not indexed.

0001 # Existing LFHCal installation
0002 
0003 Already installed LFHCal using Fredi's instructions? Keep that installation.
0004 You only need to add **yall-run**, fetch the integration examples, set paths,
0005 and test.
0006 
0007 ## 1. Install yall-run
0008 
0009 Run in the normal host **tcsh** shell:
0010 
0011 ```tcsh
0012 setenv YALL_RUN_REPO "$HOME/yall-run"
0013 git clone --branch main https://github.com/paulnord/yall-run.git "$YALL_RUN_REPO"
0014 python3 -m pip install --user -e "$YALL_RUN_REPO"
0015 
0016 setenv PATH "`python3 -m site --user-base`/bin:$PATH"
0017 rehash
0018 
0019 which yall-run
0020 yall-run --version
0021 ```
0022 
0023 If yall-run is already installed, use the existing checkout instead of cloning
0024 it again.
0025 
0026 ## 2. Get the LFHCal integration examples
0027 
0028 Change directory to your existing LFHCal Git repository, the one containing
0029 `NewStructure/`:
0030 
0031 ```tcsh
0032 setenv LFHCAL_REPO "`git rev-parse --show-toplevel`"
0033 cd "$LFHCAL_REPO"
0034 
0035 git fetch https://github.com/paulnord/epic-lfhcal-tbana.git yall-integration-upstream
0036 git switch --no-track -c yall-integration-upstream FETCH_HEAD
0037 ```
0038 
0039 If that local branch already exists:
0040 
0041 ```tcsh
0042 git switch yall-integration-upstream
0043 git pull --ff-only https://github.com/paulnord/epic-lfhcal-tbana.git yall-integration-upstream
0044 ```
0045 
0046 Do not switch or update a checkout being used by running jobs.
0047 
0048 ## 3. Set paths
0049 
0050 Use your existing LFHCal build and runtime environment. The shared BNL raw data
0051 are currently:
0052 
0053 ```text
0054 /gpfs01/star/pwg/pnord/eic/2026TBdata/raw
0055 ```
0056 
0057 In host tcsh:
0058 
0059 ```tcsh
0060 setenv LFHCAL_DATA "/gpfs01/star/pwg/pnord/eic/2026TBdata/raw"
0061 setenv LFHCAL_WORK "/gpfs01/star/scratch/`id -un`/lfhcal"
0062 setenv EIC_SHELL /path/to/your/eic-shell
0063 mkdir -p "$LFHCAL_WORK/campaigns"
0064 ```
0065 
0066 If your LFHCal executables are not under `NewStructure/build`, edit the
0067 example's `@set BUILD` to point at the build you already use. Do not rebuild
0068 merely to satisfy the example path.
0069 
0070 ## 4. Start with the small test
0071 
0072 Run `lfhcal-simple` in the same ROOT/LFHCal environment you normally use.
0073 Then try the small Condor/EIC test, and only after that move to `scan-set-1`.
0074 
0075 See [SETUP.md](SETUP.md) for the complete test sequence.