Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Maven (3.0 or greater)
  • gcc (4.8 or greater)
  • CMake (3.0 or greater)
  • Python (2.7 or greater)
  • SLIC
  • ROOT (optional)

Bundled Dependencies

These dependencies are compiled and installed from source code within the project:

  • egs5 event generator
  • MadGraph 4 and MadGraph 5
  • StdHep library and tools (based on version 5.6.1)

Installed Dependencies

The installation procedure will automatically download and install the following dependencies:

Building the Project

Start by checking out the project from github:

...

Code Block
languagebash
make -j4 install

Running Job Scripts

Job Environment

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
languagebash
. 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
languagebash
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
languagebash
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 Job Scripts

Running individual job scripts requires providing a JSON file with required parameters.

...