Difference between revisions of "DSelector SWIF Jobs"

From GlueXWiki
Jump to: navigation, search
(Created page with "To create & submit swif jobs for a DSelector analysis, simply: '''1)''' Checkout the scripts (If you don't want to check out the whole thing, you only need the "launch" and "...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
To create & submit swif jobs for a DSelector analysis, simply:
+
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)
 
'''1)''' Checkout the scripts (If you don't want to check out the whole thing, you only need the "launch" and "root_analysis" subfolders)
Line 8: Line 8:
  
 
'''3)''' Create your workflow (name must match the config file):
 
'''3)''' Create your workflow (name must match the config file):
  swif create -workflow analysis_2016-02_kmkp_ver01
+
  swif create -workflow my_workflow_name
  
 
'''4)''' Add jobs to the workflow in a given run range (e.g. 11366 to 11555):  
 
'''4)''' Add jobs to the workflow in a given run range (e.g. 11366 to 11555):  
Line 14: Line 14:
  
 
'''5)''' Run your workflow:  
 
'''5)''' Run your workflow:  
  swif run -workflow analysis_2016-02_kmkp_ver01
+
  swif run -workflow my_workflow_name

Latest revision as of 20:01, 2 March 2017

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