Running M5 on Tier-1






ALERT! WARNING: This page is obsolete.






Make sure that your job can run interactive/batch at lxplus or on your local machine. Also, ensure that the Panda packages have been checked out and compiled.

Warning, important If you made the following change to run locally, please undo it before submitting the job to the grid.

Edit RecExCommission_topOptions.py and, if you have it, comment out the following line to the end of the "if ATLASCosmicFlags.doLAr:" block, just after including ("LArConditionsCommon/LArConditionsCommon_comm_jobOptions.py":

PoolSvc.ReadCatalog.remove('prfile:poolcond/PoolCat_comcond_castor.xml')

Warning, important If you are submitting on a local machine, make sure that the environnment variable PATHENA_GRID_SETUP_SH is set. For example, if gLite was installed from a yum repo, it should be:

export PATHENA_GRID_SETUP_SH=/etc/profile.d/grid-env.sh [for bash]
or 
setenv PATHENA_GRID_SETUP_SH /etc/profile.d/grid-env.csh [for c-shell]

To submit a job to the grid, do the following. Note that the dataset is specified on the command line; you will be asked for the number of events to processed - this is because of the --nEventsPerJob flag and pathena needs to determine how many input files to stage; unfortunately it does not seem to be able to do this on its own. Remember to change the output dataset name to somethig like "user.YourName.whateverYouWant" in the pathena command line below.

pathena --inDS=M5.0028940.Default.L1TT-b11100011.RAW.v010803  --outDS=user.AsokaDeSilva.M5Test.13.0.30.13.v1 --nEventsPerJob=2 --split=1 --site=ANALY_TRIUMF RecExCommission_topOptions.py

You can see your job using the Panda Monitor.

Note Change --site=ANALY_TRIUMF to --site=AUTO so that the job will run at any Tier-1 site.

Tips

  • There are many options with pathena; do a
pathena --help 

to list them. Normally, a build and analysis job will be submitted; however, you can use your locally built executable by specifying the flag --noBuild. Other useful options: --nFilesPerJob= --split=

  • There are several bug fixes to Panda; if you have an older version, do the following:
cd ~/Tutorial/point1/PhysicsAnalysis/DistributedAnalysis/PandaTools
cvs update -A 
cd cmt
source setup.sh
gmake

  • When you submit jobs to TRIUMF, and if the datasets are mainly on tape, you can prestage the data so that you reduce the time you wait for the jobs to finish. The commands to do this are, for example,
export PANDA_URL_SSL=https://gridui02.usatlas.bnl.gov:26443/server/panda
pathena --inDS=M5.0029545.Default.L1TT-b11100011.RAW.v010803  --outDS=user.AsokaDeSilva.M5Test.13.0.30.13.TRIUMF.v11 --nFiles=1 --nEventsPerJob=100 --split=1 --site=ANALY_TRIUMF RecExCommission_topOptions.py --prestage

The above command will result in 3 jobs in the Panda monitor - the build job, the prestage job and the run job; the last starting after the prestage job ends. Note that this is a recent feature (added 20 Nov 2007) and so you will first need to update PandaTools as described in the previous tip.

-- AsokaDeSilva - 05 Nov 2007

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2026-10-05 - AsokaDeSilva
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback