RandallSobie

Submitting Belle2 analysis jobs on the grid using gbasf2 from KEK

Running grid jobs (3.0.0)

Initialization of Belle2 environment at KEK

source /sw/belle2/gbasf2/BelleDIRAC/gbasf2/tools/setup
gb2_proxy_init g belle

Copy shared libraries to gbasf2 directory (should test using full path name)

 cp /home/belle2/rsobie/release-03-00-00/modules/Linux_x86_64/opt/lib* .
(librelease-03-00-00.so librelease-03-00-00.b2modmap)

Add library path and ntuple name to python script

# configure the tau module
#mytau = b2.register_module('tausteer')
mytau = b2.register_module('tausteer', shared_lib_path='./librelease-03-00-00.so')

# ntuple output name
#mytau.param('ntupleName','/group/belle2/users/rsobie/taupair.root')
mytau.param('ntupleName','taupair-jan2019.root')

Submit a tau pair MC analysis job with one file

gbasf2 runTauMC.py -p jan2019 -s release-03-00-00 -f librelease-03-00-00.so librelease-03-00-00.b2modmap -i /belle/MC/release-01-00-03/DB00000294/MC10/prod00004783/s00/e1002/4S/r00000/taupair/mdst/sub00/mdst_000001_prod00004783_task10010000001.root

Submit a tau pair MC analysis job using an input file with the MC files (5 files)

gbasf2 runTauMC.py -p jan2019 -s release-03-00-00 -f librelease-03-00-00.so librelease-03-00-00.b2modmap --input_dslist  files_taupair_5.data

Submit a tau pair MC analysis job using all the tau pair MC files (62 files) and writing the output to KEK-SE

gbasf2 runTauMC.py -p jan2019 -s release-03-00-00 -f librelease-03-00-00.so librelease-03-00-00.b2modmap --input_dslist  files_taupair_all.data 

General commands

# job status
gb2_job_status -p jan2019

# retrieve output of project (will not retrieve previously retrieved jobs)
gb2_job_output -p jan2019

# list job output (ntuples) (can use long option "-l")
gb2_ds_list  /belle/user/rsobie/jan2019

# get ntuples (stores output in /gpfs/home/belle2/rsobie/gbasf2KEK/jan2019)
gb2_ds_get  /belle/user/rsobie/jan2019
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 2019-01-29 - rsobie
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback