Difference between revisions of "AMA in Athena 14 1 0"

From Atlas Wiki
Jump to navigation Jump to search
Line 48: Line 48:
 
   <li>check out AMA and compile
 
   <li>check out AMA and compile
 
       <pre>
 
       <pre>
      $ cvs -d /project/atlas/cvs/Athena co -r V00-00-04-04 AtlasModularAnalysis
+
$ cvs -d /project/atlas/cvs/Athena co -r V00-00-04-04 AtlasModularAnalysis
      $ cd AtlasModularAnalysis/cmt
+
$ cd AtlasModularAnalysis/cmt
      $ cmt config
+
$ cmt config
      $ . setup.sh
+
$ . setup.sh
      $ gmake
+
$ gmake
      </pre>
+
</pre>
 
   <li>copy AMAAthena and compile
 
   <li>copy AMAAthena and compile
      <pre>
+
<pre>
      $ cp /data/atlas/users/gossie/Athena/AMAAthena .
+
$ cp /data/atlas/users/gossie/Athena/AMAAthena .
      $ cd AMAAthena/cmt
+
$ cd AMAAthena/cmt
      $ cmt config
+
$ cmt config
      $ . setup.sh
+
$ . setup.sh
      $ gmake
+
$ gmake
      </pre>
+
</pre>
 
</ul>
 
</ul>
 
run AMAAthena with  
 
run AMAAthena with  
 
<pre>  
 
<pre>  
 
$ athena AMAAthena_jobOptions_FDR.py
 
$ athena AMAAthena_jobOptions_FDR.py
<\pre>
+
</pre>
  
 
</pre>
 
</pre>

Revision as of 13:09, 3 June 2008

Setting up Athena 14.1.0

$ source ~/cmthome/setup.sh -tag=14.1.0,32
$ cvs -d /project/atlas/cvs/Athena co -r V00-00-04-04 AtlasModularAnalysis

1: Standalone

$ gmake -f Makefile.Standalone amacint
$ gmake -f Makefile.Standalone CSCDriver

2: With ARA

from kit

(no extra tags) in AtlasModularAnalysis/cmt

$ cmt config
$ source setup.sh
$ gmake

with recommended tags

(see also: https://twiki.cern.ch/twiki/bin/view/Atlas/AthenaROOTAccess#14_1_0 ):

  • copy files from /data/atlas/users/gossie/Athena/14.1.0
  • compile (NB: use 'cmt bro gmake' to take care of dependencies ) (in all */cmt directories)
    $ cmt config
    $ source setup.sh
    $ gmake
       

CMT issues

source setup.sh in AtlasModularAnalysis/cmt directory gives crash when running AMA with ARA.

Solution: do another source setup.sh in the AthenaROOTAccess/cmt directory. Now you can run AMA with ARA without problems again.

3: Within Athena

Starting in /project/atlas/users/<user>/14.1.0/PhysicsAnalysis:

  • check out AMA and compile
    $ cvs -d /project/atlas/cvs/Athena co -r V00-00-04-04 AtlasModularAnalysis
    $ cd AtlasModularAnalysis/cmt
    $ cmt config
    $ . setup.sh
    $ gmake
    
  • copy AMAAthena and compile
    $ cp /data/atlas/users/gossie/Athena/AMAAthena .
    $ cd AMAAthena/cmt
    $ cmt config
    $ . setup.sh
    $ gmake
    

run AMAAthena with

 
$ athena AMAAthena_jobOptions_FDR.py