Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Running a Grid Job using GANGAGanga is a frontend tool for job definition and management with access to all grid infrastucture supported by ATLAS. Detailed Information about GANGA can be found in http://documentation.hepcg.org/res/ap3/w_301106.pdf![]() | ||||||||
Line: 16 to 16 | ||||||||
Change directory to the run directory of the whichever package you are working on and then start ganga with:
| ||||||||
Changed: | ||||||||
< < | Using GANGA | |||||||
> > | Using GANGA with the LCG backend | |||||||
The ganga command line is a python shell which can be used to submit jobs. A sample job script is shown here: | ||||||||
Line: 33 to 33 | ||||||||
![]() | ||||||||
Added: | ||||||||
> > | Using the Panda backendThe Panda backend has to be used for jobs sent to US sites. It requires a slightly different form of job submission script. A sample job script is shown here: j = Job()j.application = Athena() j.name='PTResolution.LowPT.SmallEta.J5' j.application.option_file=[ '/home/robinson/athena/15.6.0/PhysicsAnalysis/ForwardJets/run/jobOptions.PTResolution.LowPT.SmallEta.py' ] j.application.athena_compile = True j.application.atlas_release='15.6.0' j.application.prepare() j.inputdata=DQ2Dataset() j.inputdata.dataset=[ 'mc08.105014.J5_pythia_jetjet.merge.AOD.e344_s479_s520_r809_r838/' ] j.outputdata=DQ2OutputDataset() j.splitter=DQ2JobSplitter() j.splitter.numsubjobs=500 j.backend=Panda() j.submit() Using the NorduGrid backendIf submitting jobs to NorduGrid in the Netherlands there is only one cloud. Therefore, the your script needs to be of the following form, changing the backend to 'NG'. j = Job()j.application = Athena() j.name='PTResolution.LowPT.SmallEta.J5' j.application.option_file=[ '/home/robinson/athena/15.6.0/PhysicsAnalysis/ForwardJets/run/jobOptions.PTResolution.LowPT.SmallEta.py' ] j.application.athena_compile = True j.application.atlas_release='15.6.0' j.application.prepare() j.inputdata=DQ2Dataset() j.inputdata.dataset=[ 'mc08.105014.J5_pythia_jetjet.merge.AOD.e344_s479_s520_r809_r838/' ] j.outputdata=DQ2OutputDataset() j.outputdata.outputdata=['PTResolution.root'] j.splitter=DQ2JobSplitter() j.splitter.numsubjobs=500 j.backend=NG() j.submit() | |||||||
*Useful GANGA python shell commands
| ||||||||
Line: 44 to 54 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Common GANGA Problems
The datasets belonging to the container that you want to run on must all be present on the same cloud (although not necessarily at the same site). You can check where datasets are available by running: | ||||||||
Changed: | ||||||||
< < |
Using the Panda backendThe Panda backend has to be used for jobs sent to US sites. It requires a slightly different form of job submission script. A sample job script is shown here: | |||||||
> > |
| |||||||
Changed: | ||||||||
< < | j = Job() j.application = Athena() j.name='PTResolution.LowPT.SmallEta.J5' j.application.option_file=[ '/home/robinson/athena/15.6.0/PhysicsAnalysis/ForwardJets/run/jobOptions.PTResolution.LowPT.SmallEta.py' ] j.application.athena_compile = True j.application.atlas_release='15.6.0' j.application.prepare() j.inputdata=DQ2Dataset() j.inputdata.dataset=[ 'mc08.105014.J5_pythia_jetjet.merge.AOD.e344_s479_s520_r809_r838/' ] j.outputdata=DQ2OutputDataset() j.splitter=DQ2JobSplitter() j.splitter.numsubjobs=500 j.backend=Panda() j.submit() | |||||||
> > | If the data is not present, you can go here to request replication: http://panda.cern.ch:25980/server/pandamon/query?mode=ddm_req![]() | |||||||
Changed: | ||||||||
< < | -- JamesRobinson - 13 Nov 2009 | |||||||
> > | The Athena version that you request must be present at all sites that your job is sent to. You can check which versions are available at which sites by running:
| |||||||
OLD BUT MAY STILL BE RELEVANT | ||||||||
Deleted: | ||||||||
< < | GANGA on NorduGridBy default GANGA submits your jobs to the LCG. Since GANGA version 4.3.0, you can also submit your jobs to NorduGrid using the new NG backend. More information on how to change your jobs from LCG to NG can be found here: https://twiki.cern.ch/twiki/bin/view/Atlas/GangaNGTutorial430![]() | |||||||
Sandbox fun* Input Sandbox: |