Submitting Belle2 jobs from KEK and UVIC

Login into KEK (login and computer systems).

ssh sshcc1.kek.jp
ssh login.cc.kek.jp

Running interactive jobs

source /cvmfs/belle.cern.ch/sl6/tools/setup_belle2
setuprel release-00-07-02
cd working/basf2/
cp /cvmfs/belle.cern.ch/sl6/releases/release-00-07-02/reconstruction/examples/example.py .

Add the following lines into the example.py script:

from ROOT import Belle2
use_local_database(Belle2.FileSystem.findFile("data/framework/database.txt"), "", True, LogLevel.ERROR)

Run the MC generation example job from the command line

basf2 ./example.py

Run the Analysis example job from the command line. First copy an mdst file to the home directory on belleuser (e.g. mdst_000113_prod00000223_task00000113.root) At KEK, use /ghi/fs01/belle2/bdata/MC/release-00-07-02/DBxxxxxxxx/MC7/prod00000223/s00/e0000/4S/r00000/signal/sub00/mdst_000113_prod00000223_task00000113.root

For the my_ana.py script, there is a mdst file in the root directory mdst_000113_prod00000223_task00000113.root

basf2 ./my_ana.py -i mdst_000113_prod00000223_task00000113.root

Initialization of Belle2 at KEK environment

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

Test script to run 2 jobs (April 12 2016)

cd april2016
gbasf2 example.py -p Project-1a -s release-00-05-03 --site=DIRAC.UVic.ca -r 2

Monitoring the jobs


gb2_job_status -p <ProjectName> --site DIRAC.UVic.ca 

gb2_site_summary --site DIRAC.UVic.ca --date 2016-04-10
 
gb2_job_status --site DIRAC.UVic.ca --status Waiting
gb2_job_status --site DIRAC.UVic.ca --status Running
Edit | Attach | Watch | Print version | History: r24 | r17 < r16 < r15 < r14 | Backlinks | Raw View | More topic actions...
Topic revision: r15 - 2017-04-20 - 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