Project

General

Profile

Alma9 Setup on ifarm » History » Version 21

Muhammad Junaid, 10/01/2025 02:35 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 21 Muhammad Junaid
#module load root/6.24.10-gcc11.4.0
13 20 Muhammad Junaid
module load root/6.28.10-gcc11.4.0
14 6 Muhammad Junaid
15 3 Muhammad Junaid
* Create a virtual environment by running the following command:
16 1 Muhammad Junaid
python3 -m venv replay_lt_env
17 2 Muhammad Junaid
18 16 Muhammad Junaid
* Source the environment (Need to source it during every login or cshrc. Add it to .login/.cshrc file):
19 1 Muhammad Junaid
source replay_lt_env/bin/activate.csh
20 2 Muhammad Junaid
21 1 Muhammad Junaid
* Install the following packages:
22 21 Muhammad Junaid
#pip install numpy==1.23.0 (ROOT6.24 version)
23
#pip install pandas wheel scipy root-numpy==4.8.0 root-pandas==0.7.0 uproot matplotlib (ROOT6.24 version)
24 1 Muhammad Junaid
25 21 Muhammad Junaid
pip install --force-reinstall root-numpy==4.8.0 root-pandas==0.7.0
26
pip install pandas numpy wheel scipy uproot Matplotlib uncertainties
27
28 16 Muhammad Junaid
* Copy the latest LTSep package from the following path (for PionLT):
29 18 Muhammad Junaid
/u/group/c-pionlt/USERS/junaid/share/ltsep_pionlt
30 1 Muhammad Junaid
* To the following path:
31 5 Muhammad Junaid
replay_lt_env/lib/python3.9/site-packages/
32 21 Muhammad Junaid
* copy it with ltsep name
33 1 Muhammad Junaid
* Update the ltsep paths in your replay and analysis scripts
34 18 Muhammad Junaid
35
* Copy the latest LTSep package from the following path (for KaonLT):
36
/u/group/c-pionlt/USERS/junaid/share/ltsep_kaonlt
37 1 Muhammad Junaid
* To the following path:
38 18 Muhammad Junaid
replay_lt_env/lib/python3.9/site-packages/
39 21 Muhammad Junaid
* copy it with ltsep name
40 18 Muhammad Junaid
* Update the ltsep paths in your replay and analysis scripts.
41 6 Muhammad Junaid
42
Once all steps are complete then test it by running analysis scripts.