From T3_KR_KNU
Jump to: navigation, search
(Created page with "HOW TO USE create-batch in T3 This page is for create-batch command in Tier-3 UI. Before submit, set cmsenv first! Mandatory options : --jobName NAME...")
 
(HOW TO USE create-batch in KNU Tier-3)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
HOW TO USE create-batch in T3
+
== HOW TO USE create-batch in KNU Tier-3 ==
  
This page is for create-batch command in Tier-3 UI.
+
This page is for create-batch command in KNU Tier-3 UI
  
Before submit, set cmsenv first!
+
* Developer webpage:  https://github.com/cms-kr/hep-tools
  
 +
=== Before submit, set cmsenv first! ===
 +
1. go to CMSSW and set cmsenv
 +
$ cd CMSSW_X_Y_Z/src
 +
$ cmsenv
 +
 +
2. if you have valid python configuration file for cmsRun, do
 +
$ create-batch --jobName JOBNAME --fileList FILELIST.txt --maxFiles N --cfg CONFIG_FILE_cfg.py --queue cms
 +
 +
3. Following lines are options
 
   Mandatory options :
 
   Mandatory options :
 
   --jobName  NAME                  Name of job
 
   --jobName  NAME                  Name of job
Line 10: Line 19:
 
   --maxFiles N                    Maximum number of files per job
 
   --maxFiles N                    Maximum number of files per job
 
   --cfg      CONFIG_FILE_cfg.py    Configuration file
 
   --cfg      CONFIG_FILE_cfg.py    Configuration file
 +
 
   Optional :
 
   Optional :
 
   --queue QUEUE_NAME              Set the batch queue name
 
   --queue QUEUE_NAME              Set the batch queue name
Line 18: Line 28:
 
   --transferFiles                  Additional files to transfer
 
   --transferFiles                  Additional files to transfer
  
fileList format example(Local) :  
+
=== fileList format example : ===
$ vi fileList.txt
+
$ vi fileList.txt
 
  file:/u/user/~/sample1.root
 
  file:/u/user/~/sample1.root
 
  file:/u/user/~/sample2.root
 
  file:/u/user/~/sample2.root
 
  ...
 
  ...
  
fileList format example(Storage Element) :  
+
=== fileList format example( if samples in Storage Element) : ===
$ vi fileList.txt
+
$ vi fileList.txt
 
  dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample1.root
 
  dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample1.root
 
  dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample2.root
 
  dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample2.root
 
  ...
 
  ...
 
submit example :
 
$ create-batch --jobName testjob1 --fileList fileList.txt --maxFiles 1 --cfg USER_CONF.py --queue cms
 

Latest revision as of 01:52, 19 December 2018

HOW TO USE create-batch in KNU Tier-3

This page is for create-batch command in KNU Tier-3 UI

Before submit, set cmsenv first!

1. go to CMSSW and set cmsenv

$ cd CMSSW_X_Y_Z/src
$ cmsenv

2. if you have valid python configuration file for cmsRun, do

$ create-batch --jobName JOBNAME --fileList FILELIST.txt --maxFiles N --cfg CONFIG_FILE_cfg.py --queue cms

3. Following lines are options

 Mandatory options :
  --jobName  NAME                  Name of job
  --fileList DATA_FILES            File list text file
  --maxFiles N                     Maximum number of files per job
  --cfg      CONFIG_FILE_cfg.py    Configuration file

 Optional :
  --queue QUEUE_NAME               Set the batch queue name
  -n                               Do not submit jobs to batch
  --transferDest OUTPUT_LOCATION   OUTPUT DIRECTORY (/store will be assumed to SE)
  -g                               Grid certificate is required
  --maxEvent N                     Maximum number of events per job (-1 by default)
  --transferFiles                  Additional files to transfer

fileList format example :

$ vi fileList.txt
file:/u/user/~/sample1.root
file:/u/user/~/sample2.root
...

fileList format example( if samples in Storage Element) :

$ vi fileList.txt
dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample1.root
dcap://cluster142.knu.ac.kr//pnfs/knu.ac.kr/data/cms/store/~~/~~/sample2.root
...