BaBar Skimming Setting up a New Release

From GridPP Wiki
Jump to: navigation, search


Set up a Test Release

newrel -t 24.3.3b Test-24.3.3b
cd Test-24.3.3b/
srtpath

Check out the latest Tags

addpgk BbkJobWrappers V00-00-05
addpkg BbkJobWrappers V00-00-05
addpkg BbkSqlAbstractor tja080805a
addpkg BbkTaskManager tja080729a
addpkg BbkTMGridTools V00-00-03
addpkg BbkTools tja080805a
addpkg workdir
gmake workdir.setup
gmake installdirs
gmake binscripts

Copy over any un-checked-in from your latest devel release

You shouldn't need to do this since you check in all your changes

diff -r --brief Test-24.2.1h/BbkTMGridTools/ Test-24.3.3b/BbkTMGridTools/
cp Test-24.2.1h/BbkTMGridTools/BbkRetrieveGridJob Test-24.3.3b/BbkTMGridTools/BbkRetrieveGridJob
cp Test-24.2.1h/BbkTMGridTools/BbkTMGridJobStatus Test-24.3.3b/BbkTMGridTools/BbkTMGridJobStatus
cp Test-24.2.1h/BbkTMGridTools/BbkTMGridJobStatusDaemon Test-24.3.3b/BbkTMGridTools/BbkTMGridJobStatusDaemon
cp Test-24.2.1h/BbkTMGridTools/BbkTMGridMergeJob.pm Test-24.3.3b/BbkTMGridTools/BbkTMGridMergeJob.pm
cp Test-24.2.1h/BbkTMGridTools/BbkTMGridSkimJob.pm Test-24.3.3b/BbkTMGridTools/BbkTMGridSkimJob.pm
cp Test-24.2.1h/BbkTMGridTools/BbkTMGridTask.p Test-24.3.3b/BbkJobWrappers/
cp -rp Test-24.2.1h/BbkTaskManager/site/man Test-24.3.3b/BbkTaskManager/site/man

Setup up your task

I like to have an easily accessible symlink to the site directory

ln -s ../BbkTaskManager/site/man site

Then copy in the task Template file and edit it

cp ../../Test-24.3.3/workdir/MAN-24.3.3-test-1 MAN-24.3.3b-test-1
vi MAN-24.3.3b-test-1

Then Create the task, and skims and submit a skim job

BbkCreateTask MAN-24.3.3b-test-1 
BbkCreateSkims -n 1 MAN-24.3.3b-test-1 
BbkSubmitSkims --test -n 1 MAN-24.3.3b-test-1 
BbkSubmitSkims -n 1 MAN-24.3.3b-test-1