Distributed Analysis on Panda
This page describes how to submit user analysis jobs from LCG/OSG/NG to the OSG production system (Panda) from UCL.
Detailed Information about DA on Panda can be found here:
https://twiki.cern.ch/twiki/bin/view/Atlas/DAonPanda
.
In order to set up pathena at UCL, follow the instructions below:
First, make sure you have a grid certificate. See Starting on the Grid. You should have usercert.pem and userkey.pem under ~/.globus.
Then setup Athena because pathena works in the Athena runtime environment.
Then checkout
PandaTools which contains pathena (for 13.0.X or 12.0.X, instructions for 11.0.X can be found here
https://twiki.cern.ch/twiki/bin/view/Atlas/DAonPanda
):
cd /somewhere/workarea //this is your workarea where your analysis code is in, eg: testarea1206/12.0.6/
export CMTPATH=`pwd`:${CMTPATH}
export PATHENA_GRID_SETUP_SH=/usr/local/glite/etc/profile.d/grid_env.sh
cmt co PhysicsAnalysis/DistributedAnalysis/PandaTools
cd PhysicsAnalysis/DistributedAnalysis/PandaTools/cmt
source setup.sh
make
cd /somewhere/workarea/.../somedirectory //this means go to your run directory in your analysis code
mkdir run //create a run directory if you don't have one
cd run
When you run Athena with:
athena jobO_1.py jobO_2.py jobO_3.py
all you need is
pathena jobO_1.py jobO_2.py jobO_3.py [--inDS inputDataset] --outDS outputDataset
where inputDataset is a dataset which contains input files, and outputDataset is a dataset which will contain output files. For details about options, see pathena.
More options can be found here:
https://twiki.cern.ch/twiki/bin/view/Atlas/DAonPanda#pathena
--
CatrinBernius - 19 Jun 2007