Difference between revisions of "GettingStarted Software"
m (Cmorean moved page Getting Stared - Software to Getting Started - Software: Wrong Name) |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ==Hall C Software for | + | ==Hall C Software for NPS== |
− | + | The Hall C analyzer is used along with the NPSlib, SIMC, and ROOT. We recently upgraded to AlmaLinux9 and use modulefiles to set up our configurations. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Hall C Commands for NPS== | |
− | === | + | ===Accessing RAW data files and PASS# data files=== |
− | [ | + | This section lists some commands that interface with the mass storage system. Refer to the file system layout for a better idea of where large data files are stored. Jasmine is the system that interfaces with the MSS. |
− | + | ;[https://scicomp.jlab.org/docs/storage, Jasmine] MSS utility information page | |
− | + | :Save local copy of MSS file to /cache/ [https://scicomp.jlab.org/docs/node/586, jcache] | |
− | + | :Put a file into MSS with our group permissions [https://scicomp.jlab.org/docs/node/522, jput] | |
− | + | :Get a file in MSS and put the local copy at a specified location (not cache) [https://scicomp.jlab.org/docs/node/522, jget] | |
− | + | These commands can be issued on any farm node. They cannot be ran from most computers like chislobog, jlabl* or vmware. jcache is the most commonly used command used. | |
− | |||
− | |||
− | |||
− | |||
==Sourcing our Software== | ==Sourcing our Software== | ||
===Versioning=== | ===Versioning=== | ||
− | Analysis relies on CERN ROOT and HCANA as well as the | + | Analysis relies on CERN ROOT and HCANA as well as the NPSlib library. In order to maintain the newest version and work using the same software, the software environment is managed by modulefiles. The software modules are saved at: |
− | * /group/ | + | * /group/nps/modulefiles/ |
− | * We are currently | + | * /group/nps/appps |
− | + | * We are currently have the nps_replay loaded by date, but this will change. | |
− | |||
− | |||
===Sourcing Instructions=== | ===Sourcing Instructions=== | ||
− | + | To be fixed: | |
Users have access to the common users environment, and our /group/ location. | Users have access to the common users environment, and our /group/ location. | ||
* For join the xem2 group on JLab computers talk to Dave. | * For join the xem2 group on JLab computers talk to Dave. | ||
− | In order to source the files, simply source | + | In order to source the files, simply type source /group/c-xem2/software/setup.sh or source /group/c-xem2/software/setup.csh (depending on your shell). |
− | + | ||
You should add the sourcing of the setup script to your .cshrc or .bashrc file (depending on your shell). | You should add the sourcing of the setup script to your .cshrc or .bashrc file (depending on your shell). | ||
Line 53: | Line 34: | ||
* Open root-config --version and check the version number | * Open root-config --version and check the version number | ||
* Make sure the hadd utility works | * Make sure the hadd utility works | ||
− | * | + | * Make sure hcana can be run from any directory. For more information on the replay and hcana, go to the REPLAY page. |
− | + | ** Don't run source script in a directory that has a setup.csh script (home should be ok) | |
− | |||
− | * | ||
− | * | ||
− |
Latest revision as of 15:26, 11 July 2024
Hall C Software for NPS
The Hall C analyzer is used along with the NPSlib, SIMC, and ROOT. We recently upgraded to AlmaLinux9 and use modulefiles to set up our configurations.
Hall C Commands for NPS
Accessing RAW data files and PASS# data files
This section lists some commands that interface with the mass storage system. Refer to the file system layout for a better idea of where large data files are stored. Jasmine is the system that interfaces with the MSS.
- Jasmine MSS utility information page
- Save local copy of MSS file to /cache/ jcache
- Put a file into MSS with our group permissions jput
- Get a file in MSS and put the local copy at a specified location (not cache) jget
These commands can be issued on any farm node. They cannot be ran from most computers like chislobog, jlabl* or vmware. jcache is the most commonly used command used.
Sourcing our Software
Versioning
Analysis relies on CERN ROOT and HCANA as well as the NPSlib library. In order to maintain the newest version and work using the same software, the software environment is managed by modulefiles. The software modules are saved at:
- /group/nps/modulefiles/
- /group/nps/appps
- We are currently have the nps_replay loaded by date, but this will change.
Sourcing Instructions
To be fixed: Users have access to the common users environment, and our /group/ location.
- For join the xem2 group on JLab computers talk to Dave.
In order to source the files, simply type source /group/c-xem2/software/setup.sh or source /group/c-xem2/software/setup.csh (depending on your shell).
You should add the sourcing of the setup script to your .cshrc or .bashrc file (depending on your shell).
Check Everything is Working
- Type python --version, and it should return the correct version
- Make sure you can load ROOT in python (import ROOT as R)
- Open root-config --version and check the version number
- Make sure the hadd utility works
- Make sure hcana can be run from any directory. For more information on the replay and hcana, go to the REPLAY page.
- Don't run source script in a directory that has a setup.csh script (home should be ok)