Versions Compared

Key

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

...

The myjob.lcsim argument is an example name of a file in the lcsim reconstruction XML format.

Subsequently, in this documentation, the runnable jar will be referenced to as lcsim-distribution-bin.jar but the actual jar will have the version number in it.

LCSim Command Line Options

...

Then this file could be specified at the command line.

No Format
java -jar lcsim-distribution-bin.jar -DinputFile=myInputFile.slcio steeringFile.xml

This variable could also be set in a properties file.

No Format
java -jar lcsim-distribution-bin.jar -pmySettings.prop steeringFile.xml

...

How to Run a Specific Release

Running your job with You do not need to build lcsim yourself in order to run a specific LCSim release is straightforward. Download the bin jar from the lcsim repository, and then use the java command to execute your steering file.

No Format
wget http://www.lcsim.org/maven2/org/lcsim/lcsim/1.18-SNAPSHOT/lcsim-1.18-SNAPSHOT-bin.jar
java -jar ./lcsim-1.14-SNAPSHOT-bin.jar mySteeringFile.xml

This way of running LCSim has the potential to cause errors, e.g. if you run a steering file written for a different version where method signatures have changed or been removed or renamed..  The SLAC Nexus Repository can be searched for all lcsim-distribution releases which will display a table including downloadable links.  The bin.jar links are the runnable jars which can be downloaded to your machine and run as per the above instructions.