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

From Atlas Wiki
Jump to navigation Jump to search
Line 53: Line 53:
  
 
<b>Solution:</b> do another <tt>source setup.sh</tt> in the <tt>AthenaROOTAccess/cmt</tt> directory. Now you can run AMA with ARA without problems again.
 
<b>Solution:</b> do another <tt>source setup.sh</tt> in the <tt>AthenaROOTAccess/cmt</tt> directory. Now you can run AMA with ARA without problems again.
 +
 +
=====PYTHONPATH issues=====
 +
Sometimes ARA crashes just after initialisation. This is due to a wrongly set <tt>PYTHONPATH</tt>. To correct this:
 +
 +
<ul>
 +
  <li>Copy <tt>/data/atlas/users/gossie/Athena/fix_AMA-ARA_PYTHONPATH.sh</tt> to anywhere you like
 +
  <li>replace <tt><username></tt> with your username
 +
  <li><tt>$ source fix_AMA-ARA_PYTHONPATH.sh<tt>
 +
<ul>
 +
 +
running <tt>i686-slc4-gcc34/CSCDriver.exe</tt> should be OK now.
  
 
==== Within Athena====
 
==== Within Athena====

Revision as of 13:46, 3 June 2008

Setting up Athena 14.1.0

$ source /data/atlas/offline/14.1.0/cmtsite/setup.sh -tag=14.1.0,32,setup,opt
$ export CMTPATH=/project/atlas/users/<username>/14.1.0:$CMTPATH

in /project/atlas/users/<username>/14.1.0/PhysicsAnalysis:

$ cvs -d /project/atlas/cvs/Athena co -r V00-00-04-04 AtlasModularAnalysis

AtlasModularAnalysis

There are three ways of running AMA:

  • Standalone (no AODs)
  • with ARA (all formats)
  • in Athena (only AODs)

For FDR-II: try running AMA in Athena.

Standalone

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

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.

PYTHONPATH issues

Sometimes ARA crashes just after initialisation. This is due to a wrongly set PYTHONPATH. To correct this:

  • Copy /data/atlas/users/gossie/Athena/fix_AMA-ARA_PYTHONPATH.sh to anywhere you like
  • replace <username> with your username
  • $ source fix_AMA-ARA_PYTHONPATH.sh
      running i686-slc4-gcc34/CSCDriver.exe should be OK now.

      Within Athena

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

      • first compile AMA
        $ 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