Alma9 Setup on ifarm » History » Version 20
  Muhammad Junaid, 10/01/2025 02:00 PM 
  
| 1 | 1 | Muhammad Junaid | h1. Alma9 Setup on ifarm | 
|---|---|---|---|
| 2 | |||
| 3 | 8 | Muhammad Junaid | * Compiled hcana with new root version (6.24.08-gcc11.4.0) located at the following path: | 
| 4 | 12 | Muhammad Junaid | -- For PionLT: | 
| 5 | 19 | Muhammad Junaid | /u/group/c-pionlt/hcana_08_10_24_Root6_24_08_Alma9_HodoEffUpdate/build/bin/hcana | 
| 6 | 12 | Muhammad Junaid | -- For KaonLT: | 
| 7 | 19 | Muhammad Junaid | /u/group/c-kaonlt/hcana_08_10_24_Root6_24_08_Alma9_HodoEffUpdate/build/bin/hcana | 
| 8 | 16 | Muhammad Junaid | * Update your symlinks to the latest hcana version | 
| 9 | 1 | Muhammad Junaid | |
| 10 | 16 | Muhammad Junaid | * First load modules by executing the following commands (add these lines to your batch scripts as well): | 
| 11 | 6 | Muhammad Junaid | module use /cvmfs/oasis.opensciencegrid.org/jlab/scicomp/sw/el9/modulefiles | 
| 12 | 20 | Muhammad Junaid | module load root/6.28.10-gcc11.4.0 | 
| 13 | 6 | Muhammad Junaid | |
| 14 | 3 | Muhammad Junaid | * Create a virtual environment by running the following command: | 
| 15 | 1 | Muhammad Junaid | python3 -m venv replay_lt_env | 
| 16 | 2 | Muhammad Junaid | |
| 17 | 16 | Muhammad Junaid | * Source the environment (Need to source it during every login or cshrc. Add it to .login/.cshrc file): | 
| 18 | 1 | Muhammad Junaid | source replay_lt_env/bin/activate.csh | 
| 19 | 2 | Muhammad Junaid | |
| 20 | 3 | Muhammad Junaid | * Install the following packages: | 
| 21 | 1 | Muhammad Junaid | pip install numpy==1.23.0 | 
| 22 | 15 | Muhammad Junaid | pip install pandas wheel scipy root-numpy==4.8.0 root-pandas==0.7.0 uproot matplotlib | 
| 23 | 4 | Muhammad Junaid | |
| 24 | 16 | Muhammad Junaid | * Copy the latest LTSep package from the following path (for PionLT): | 
| 25 | 18 | Muhammad Junaid | /u/group/c-pionlt/USERS/junaid/share/ltsep_pionlt | 
| 26 | 5 | Muhammad Junaid | * To the following path: | 
| 27 | 10 | Muhammad Junaid | replay_lt_env/lib/python3.9/site-packages/ | 
| 28 | 1 | Muhammad Junaid | * Update the ltsep paths in your replay and analysis scripts | 
| 29 | 18 | Muhammad Junaid | |
| 30 | * Copy the latest LTSep package from the following path (for KaonLT): | ||
| 31 | /u/group/c-pionlt/USERS/junaid/share/ltsep_kaonlt | ||
| 32 | * To the following path: | ||
| 33 | replay_lt_env/lib/python3.9/site-packages/ | ||
| 34 | * Update the ltsep paths in your replay and analysis scripts. | ||
| 35 | 6 | Muhammad Junaid | |
| 36 | Once all steps are complete then test it by running analysis scripts. |