DSelector SWIF Jobs

From GlueXWiki
Jump to: navigation, search

To create & submit swif jobs for a DSelector analysis, with any number of threads, simply:

1) Checkout the scripts (If you don't want to check out the whole thing, you only need the "launch" and "root_analysis" subfolders)

svn co https://halldsvn.jlab.org/repos/trunk/scripts/monitoring/    

2) Modify the monitoring/root_analysis/root_analysis.config for the types of jobs you want to submit. Be sure to change all relevant lines. It should be self-explanatory.

Edit monitoring/root_analysis/root_analysis.config

3) Create your workflow (name must match the config file):

swif create -workflow my_workflow_name

4) Add jobs to the workflow in a given run range (e.g. 11366 to 11555):

monitoring/launch/launch.py monitoring/root_analysis/root_analysis.config 11366 11555

5) Run your workflow:

swif run -workflow my_workflow_name