Running M5 data on lxplus
WARNING: This page is obsolete.
[Follow
this link to see how to run with 13.0.35.1]
- Initial Setup; do the following once
mkdir -p ~/Tutorial/point1/cmthome
cd ~/Tutorial/point1/cmthome
add a requirements file such as:
#############################################################
set CMTSITE CERN
set SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
macro ATLAS_GROUP_AREA "/afs/cern.ch/atlas/groups/PAT/Tutorial"
apply_tag simpleTest
apply_tag oneTest
macro ATLAS_TEST_AREA "" \
12.0.6 "${HOME}/Tutorial/12.0.6" \
12.0.7 "${HOME}/Tutorial/12.0.7" \
13.0.10 "${HOME}/Tutorial/13.0.10" \
13.0.20 "${HOME}/Tutorial/13.0.20" \
13.0.30 "${HOME}/Tutorial/13.0.30" \
13.0.30.6 "${HOME}/Tutorial/13.0.30.6" \
13.0.30.8 "${HOME}/Tutorial/13.0.30.8" \
point1 "${HOME}/Tutorial/point1"
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
#############################################################
and configure:
source /afs/cern.ch/sw/contrib/CMT/v1r20p20070720/mgr/setup.sh
cmt config
cd ~/Tutorial/point1
source cmthome/setup.sh -tag=point1,13.0.30.13,32,runtime
source /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh
source /afs/cern.ch/atlas/offline/external/GRID/ddm/endusers/setup.sh.CERN
voms-proxy-init -voms=atlas:/atlas/ca
- Check out and compile the packages (the Panda package is checked out in case you want to run this on the grid later):
cd ~/Tutorial/point1
cmt co Reconstruction/RecExample/RecExCommission
cd ~/Tutorial/point1/Reconstruction/RecExample/RecExCommission/cmt
cmt br cmt config
source setup.sh
gmake
cd ~/Tutorial/point1
cmt co PhysicsAnalysis/DistributedAnalysis/PandaTools
cd ~/Tutorial/point1/PhysicsAnalysis/DistributedAnalysis/PandaTools/cmt
cmt br cmt config
source setup.sh
gmake
cd ~/Tutorial/point1/Reconstruction/RecExample/RecExCommission/run
get_files RecExCommission_topOptions.py
mkdir RecExCommission
cd ~/Tutorial/point1/Reconstruction/RecExample/RecExCommission/run/RecExCommission
get_files RecExCommissionFlags_jobOptions.py
- Add the following to the top of RecExCommission/RecExCommissionFlags_jobOptions.py if you plan to submit the job to the grid later; it should look like:
--------------------------------------------------------
# setup DBReplicaSvc to choose closest Oracle replica
PoolSvc=Service("PoolSvc")
PoolSvc.SortReplicas=True
DBReplicaSvc=Service("DBReplicaSvc")
DBReplicaSvc.UseCOOLSQLite=False
include.block("RecExCommission/RecExCommissionFlags_jobOptions.py")
class ATLASCosmicFlags:
# use local db
useLocalCOOL = True
# number of events to process
...
--------------------------------------------------------
- Next, edit the same file RecExCommissionFlags_jobOptions.py and change the values for
- EvtMax = <number of events to process>
- doSim = False
- FullFileName; my FullFileName was
/castor/cern.ch/grid/atlas/t0/perm/DAQ/M5/daq.m5_combined.0028940.Default.L1TT-b11100011.LB0000.SFO-1._0001.data
consistent to the entry in the dataset
M5.0028940.Default.L1TT-b11100011.RAW.v010803
- Run interactive or batch with the athena command:
cd ~/Tutorial/point1/Reconstruction/RecExample/RecExCommission/cmt
source setup.sh
cd ~/Tutorial/point1/PhysicsAnalysis/DistributedAnalysis/PandaTools/cmt
source setup.sh
cd ~/Tutorial/point1/Reconstruction/RecExample/RecExCommission/run
athena -s RecExCommission_topOptions.py
--
AsokaDeSilva - 05 Nov 2007