Project

General

Profile

Alma9 Setup on ifarm » History » Version 24

Muhammad Junaid, 10/01/2025 05:23 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 24 Muhammad Junaid
module load root/6.24.08-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
20 21 Muhammad Junaid
* Install the following packages:
21 24 Muhammad Junaid
pip install numpy==1.23.0
22
pip install pandas wheel scipy root-numpy==4.8.0 root-pandas==0.7.0 uproot matplotlib uncertainties
23 21 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 1 Muhammad Junaid
* To the following path:
27 5 Muhammad Junaid
replay_lt_env/lib/python3.9/site-packages/
28 21 Muhammad Junaid
* copy it with ltsep name
29 1 Muhammad Junaid
* Update the ltsep paths in your replay and analysis scripts
30 18 Muhammad Junaid
31
* Copy the latest LTSep package from the following path (for KaonLT):
32
/u/group/c-pionlt/USERS/junaid/share/ltsep_kaonlt
33 1 Muhammad Junaid
* To the following path:
34 18 Muhammad Junaid
replay_lt_env/lib/python3.9/site-packages/
35 21 Muhammad Junaid
* copy it with ltsep name
36 18 Muhammad Junaid
* Update the ltsep paths in your replay and analysis scripts.
37 6 Muhammad Junaid
38
Once all steps are complete then test it by running analysis scripts.