Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
Bundled Dependencies
These dependencies are compiled and installed from source code within the project:
The installation procedure will automatically download and install the following dependencies:
Start by checking out the project from github:
...
Code Block | ||
---|---|---|
| ||
make -j4 install |
A number of environment variables are required for hps-mc to function properly.
These need to be setup by sourcing this script before attempting to run any jobsBefore running job scripts, you need to setup the environment using a script generated during the build:
Code Block | ||
---|---|---|
| ||
. hps-mc/install/bin/hps-mc-env.sh |
The HPSJAVA_JAR variable will by default point to the copy built during the installation. You can override this by setting it to point to a copy of the jar you want to use instead e.g.
Code Block | ||
---|---|---|
| ||
export HPSJAVA_JAR=~/.m2/repository/org/hps/hps-distribution/4.0/hps-distribution-4.0-bin.jar |
The SLIC application binary needs to be present in the environment (the SLIC environment is not managed directly by hps-mc), and you can check for this using:
Code Block | ||
---|---|---|
| ||
which slic |
If this application is not found then run the slic-env.sh to set it up before executing any hps-mc jobs.
Running individual job scripts requires providing a JSON file with required parameters.
...