Setting up 1207

From Atlas Wiki
Jump to navigation Jump to search

Setting up Athena 12.0.7

First time

The following needs to be done only once:

  • source /data/atlas/offline/12.0.7/CMT/v1r19/mgr/setup.csh
  • mkdir ~/cmthome
    You need this, since you're going to use a customised requirements file
  • create the file ~/cmthome/requirements with the following contents:
  • set CMTSITE STANDALONE
    set SITEROOT /data/atlas/offline/12.0.7
    
    macro ATLAS_DIST_AREA ${SITEROOT}
    macro ATLAS_TEST_AREA /project/atlas/users/<username>
    macro ATLAS_GROUP_AREA /data/atlas/offline/EVGroupArea
    
    apply_tag projectArea
    macro SITE_PROJECT_AREA ${SITEROOT}
    macro EXTERNAL_PROJECT_AREA ${SITEROOT}
    
    apply_tag setup
    apply_tag simpleTest
    
    use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
    
    set CMTCONFIG i686-slc3-gcc323-opt
    set DBRELEASE_INSTALLED  3.1.1
    

    Note: ATLAS_TEST_AREA should be modified (without the '12.0.7'), the ATLAS_GROUP_AREA is needed for TopView

  • in the ~/cmthome directory do cmt config
  • create a file ~/init1206.csh which contains:
    #! /bin/csh
    # 1 -- setup Athena 12.0.7
    source ~/cmthome/setup.csh -tag=setup,12.0.7,groupArea
    
    # 2 -- go to working area
    cd /project/atlas/users/<username>/12.0.7
    

    It will be used everytime you start a new session.

    The 'groupArea' tag is needed for TopView

Everytime

When you start a new shell you should:

  • source ~/init1206.csh

Setting up TopView

In your 12.0.7 working area (e.g. /project/atlas/users/<username>/12.0.7 ) do:

klog.krb -tmp -cell cern.ch -principal <afs accountname>
cmt co -r TopView-00-12-13-03 PhysicsAnalysis/TopPhys/TopView

After the TopView code has been checked out go to the TopView/cmt directory compile the code:

cmt config
source setup.csh
gmake

That's it!

Note: The file LocalOverride.py in TopView/run can be used to create customised TopView ntuples

Links