TWiki
>
Computing Web
>
Ganga
>
OxfordGangaTutorial
>
OxfordGangaTutorialAtlasSession2
(revision 2) (raw view)
Edit
Attach
---+ Athena and Ganga We will now use Ganga to create some Athena jobs on the local batch system. ---+++ Setting up Ganga for Athena In order to run Athena jobs within Ganga, you must run a different script that sets up the GangaAtlas environment. It is also worth regenerating your .gangarc file to add the Atlas related configuration options to it: <verbatim> /home/slater/runGanga_Atlas -g </verbatim> THIS SHOULD BE DONE USING GANGARC Your previous .gangarc will be stored so you can copy any settings from this to the new one. Now, starting Ganga using the runGanga script will give you access to the Atlas specific additions. To check all is well, do the following: <verbatim> /home/slater/runGanga help(Athena) help(ATLASDataset) help(ATLASOutputDataset) </verbatim> ---+++ Hello World Revisited We will start by running the basic Athena Hello World example from the previous session only this time, using Ganga. The job is set up in a similar way as before, but the application should be changed: <verbatim> j = Job() j.application = Athena() j.application.version = '14.2.20' j.application.jobOptions = 'HelloWorldOptions.py' j.application.numevents = 10 j.submit() </verbatim> If you now look at the stdout using the 'peek' method as before, you will see the Athena Output you got before. ---+++ Input and Output datasets To bring the example more closer to reality, we will now indroduce local input and output data to the job. The datasets we will use are the ATLASDataset and the ATLASOutputDataset. As before, have a quick look at the help to get an idea of these objects. ---+++ Athena jobs involving user packages Now that the you've seen the basic running of Athena through Ganga, we will now move on to the more complicated 'UserAnalysis' ---+++ Splitting and Merging Athena Jobs -- Main.MarkSlater - 10 Dec 2008
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 10 Dec 2008
-
_47C_61UK_47O_61eScience_47OU_61Birmingham_47L_61ParticlePhysics_47CN_61mark_32slater
?
Computing
Log In
Computing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ALICE
ATLAS
BILPA
CALICE
Computing
General
LHCb
LinearCollider
Main
NA62
Publish
Sandbox
TWiki
Welcome
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback