From T3_KR_KNU
Jump to: navigation, search

HOW TO USE create-batch in T3

Before submit, set cmsenv first!

 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(Local) :

file:/u/user/~/sample1.root
file:/u/user/~/sample2.root
...

fileList format example(Storage Element) :

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

submit example :

$ create-batch --jobName testjob1 --fileList fileList.txt --maxFiles 1 --cfg USER_CONF.py --queue cms