create new tag
view all tags

proc 10 data


Experiment 7

[rsobie@cw09 ~]$ gb2_ds_list /belle/Data/release-04-01-00/DB00000748/proc10/*/e0007

Experiment 8

[rsobie@cw09 ~]$ gb2_ds_list /belle/Data/release-04-01-00/DB00000748/proc10/*/e0008

Submit jobs from one production set

# make list of runs in production set (lists exist for all exp0007 runs)  - note that p9629 contains 88 runs
gb2_ds_list /belle/Data/release-04-01-00/DB00000748/proc10/prod00009629/e0007/4S > p9629.data

# run over all the files in r0927 (first run in prod 9629) and run it at UVIC
source  b2sub-uvic.sh /belle/Data/release-04-01-00/DB00000748/proc10/prod00009629/e0007/4S/r00927

# run over all the files in r0927 (first run in prod 9629) and run it anywhere
source  b2sub.sh /belle/Data/release-04-01-00/DB00000748/proc10/prod00009629/e0007/4S/r00927

# submit jobs for all the runs in the production set (one job for 10 files per run) - about 10-20s to submit one job 
source submitJobs.sh p9629.data

# temporary (informational) files are stored in JobTemp directory with three directories (Info, Scripts, Input)
# Info = information from gbasf2 command and a Summary file with (JOBID and run set) - useful if job fails
# Scripts = python submission script
# Input = list of root files to process
cd /home/belle2/rsobie/gbasf2-04-01-01/JobTemp

# list the ntuples that are stored on the grid (at the site they were produced)
gb2_ds_list /belle/user/rsobie/prod00009629

# retrieve the ntuples and store them on the scratch disk at KEK (/group/belle2/users/rsobie/prod00009629)
# ** need to issue the command from the destination direction **
# Note that one can re-issue the command and it will only upload the missing files
cd /group/belle2/users/rsobie/
gb2_ds_get  /belle/user/rsobie/prod00009629

# ftp the ntuples to desktop (macsob2) and store them
cd /Users/Shared/B2-rootfiles/prod00009629

Clean up

# remove jobs 
gb2_job_status -p prod00009629
gb2_job_delete -p prod00009629

# remove dataset from grid (takes a long time if many files)
gb2_ds_rm /belle/user/rsobie/prod00009629

# remove them from the KEK scratch disk 
rm -rf /group/belle2/users/rsobie/prod00009629
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r3 - 2020-02-20 - rsobie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback