Project

General

Profile

Alma9 Setup on ifarm » History » Version 18

Muhammad Junaid, 07/16/2024 06:11 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 14 Muhammad Junaid
/u/group/c-pionlt/hcana_09_07_24_Root6_24_08_Alma9/build/bin
6 12 Muhammad Junaid
-- For KaonLT:
7 14 Muhammad Junaid
/u/group/c-kaonlt/hcana_09_07_24_Root6_24_08_Alma9/build/bin
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
module load root/6.24.08-gcc11.4.0
13
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.