Alma9 Setup on ifarm » History » Version 3
Richard Trotta, 07/19/2024 04:09 PM
1 | 1 | Muhammad Junaid | h1. Alma9 Setup on ifarm |
---|---|---|---|
2 | |||
3 | * Compiled hcana with new root version (6.24.08-gcc11.4.0) located at the following path: |
||
4 | -- For PionLT: |
||
5 | /u/group/c-pionlt/hcana_09_07_24_Root6_24_08_Alma9/build/bin |
||
6 | -- For KaonLT: |
||
7 | /u/group/c-kaonlt/hcana_09_07_24_Root6_24_08_Alma9/build/bin |
||
8 | * Update your symlinks to the latest hcana version |
||
9 | |||
10 | * First load modules by executing the following commands (add these lines to your batch scripts as well): |
||
11 | module use /cvmfs/oasis.opensciencegrid.org/jlab/scicomp/sw/el9/modulefiles |
||
12 | module load root/6.24.08-gcc11.4.0 |
||
13 | |||
14 | * Create a virtual environment by running the following command: |
||
15 | python3 -m venv replay_lt_env |
||
16 | |||
17 | * Source the environment (Need to source it during every login or cshrc. Add it to .login/.cshrc file): |
||
18 | source replay_lt_env/bin/activate.csh |
||
19 | |||
20 | * Install the following packages: |
||
21 | pip install numpy==1.23.0 |
||
22 | pip install pandas wheel scipy root-numpy==4.8.0 root-pandas==0.7.0 uproot matplotlib |
||
23 | |||
24 | * Copy the latest LTSep package from the following path (for PionLT): |
||
25 | 2 | Muhammad Junaid | /u/group/c-pionlt/USERS/junaid/share/ltsep_pionlt |
26 | 1 | Muhammad Junaid | * To the following path: |
27 | replay_lt_env/lib/python3.9/site-packages/ |
||
28 | * Update the ltsep paths in your replay and analysis scripts |
||
29 | 2 | 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 | 1 | Muhammad Junaid | |
36 | Once all steps are complete then test it by running analysis scripts. |
||
37 | 3 | Richard Trotta | |
38 | * Add the following to your .login |
||
39 | <pre><code class="shell"> |
||
40 | # Setup virtual enviroment for pionlt/kaonlt |
||
41 | cd /group/c-<pionlt or kaonlt>/USERS/$USER/ |
||
42 | module use /cvmfs/oasis.opensciencegrid.org/jlab/scicomp/sw/el9/modulefiles |
||
43 | module load root/6.24.08-gcc11.4.0 |
||
44 | python3 -m venv replay_lt_env |
||
45 | source replay_lt_env/bin/activate.csh |
||
46 | pip install numpy==1.23.0 |
||
47 | pip install pandas wheel scipy root-numpy==4.8.0 root-pandas==0.7.0 uproot matplotlib |
||
48 | cp -r /u/group/c-pionlt/USERS/junaid/share/ltsep_kaonlt replay_lt_env/lib/python3.9/site-packages/ltsep |
||
49 | cd $HOME |
||
50 | </code></pre> |