User guide » History » Version 12
« Previous -
Version 12/86
(diff) -
Next » -
Current version
Herbert Greenlee, 01/07/2015 10:22 AM
- Table of contents
- Overview
Overview¶
Larsoft common batch and workflow tools are contained in ups product larbatch
(this redmine), which is built and distributed as part of larsoft
. Larbatch tools are built on top of Fermilab jobsub_client
batch submission tools. For general information about jobsub_client and the Fermilab batch system, refer to articles on the jobsub wiki and the fife wiki.
No other part of larsoft is dependent on larbatch
, and larbatch
is not setup as a dependent of the larsoft
umbrella ups product. Rather, larbatch
is intended to be a dependent of experiment-specific ups products (see this article for instructions on configuring larbatch
for a specific experiment.
After setting up ups product larbatch
, several executable scripts and python modules are available on the execution path and python path. Here is a list of the more important ones.
- project.py
An executable python script that is the the main entry point for user interation. More information can be found below.
- project_utilities.py
A python module, imported byproject.py
, that implements some of the workflow functionality. End users would not normally interact directly with this module. However, a significant aspect ofproject_utilities.py
is that is supplies hooks for providing experiment-specific implementations of some functionality, as described in an accompanying article on this wiki.
- condor_lar.sh
The main batch script.Condor_lar.sh
is a general purpose script that manages a single invocation of an art framework program (lar
executable).Condor_lar.sh
sets up the run-time environment, fetches input data, interacts with sam, and copies output data. It is not intended that end users will directly invokecondor_lar.sh
. However, one can get a general idea of the features and capabilities ofcondor_lar.sh
by viewing the built-in documentation by typing "condor_lar.sh -h
, or reading the file header.
- condor_start_project.sh
Batch script for starting a sam project.
- condor_stop_project.sh
Batch script for stopping a sam project.