Difference between revisions of "Setting up 1207"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
The following needs to be done only once:
 
The following needs to be done only once:
 
<ul>
 
<ul>
  <li> <tt> source /data/atlas/users/gossie/athena/12.0.6/CMT/v1r19/mgr/setup.csh </tt> </li>
+
  <li> <tt> source /data/atlas/offline/12.0.6/CMT/v1r19/mgr/setup.csh </tt> </li>
 
  <li> <tt> mkdir ~/cmthome </tt> <br>
 
  <li> <tt> mkdir ~/cmthome </tt> <br>
 
       <i> You need this, since you're going to use a customised <tt>requirements</tt> file </i> </li>
 
       <i> You need this, since you're going to use a customised <tt>requirements</tt> file </i> </li>
Line 44: Line 44:
 
<i>Note: CMTPATH should be modified. The 'groupArea' tag is needed for TopView</i></li>
 
<i>Note: CMTPATH should be modified. The 'groupArea' tag is needed for TopView</i></li>
 
</ul>
 
</ul>
 
  
 
== Everytime ==
 
== Everytime ==

Revision as of 10:48, 10 April 2007

Setting up Athena 12.0.6

First time

The following needs to be done only once:

  • source /data/atlas/offline/12.0.6/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.6
    
    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: ATHENA_TEST_AREA should be modified (without the '12.0.6'), 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.6
    source ~/cmthome/setup.csh -tag=12.0.6,groupArea
    
    # 2 -- setup working area
    setenv CMTPATH /project/atlas/users/<username>/12.0.6:${CMTPATH}
    cd /project/atlas/users/<username>/12.0.6
    

    It will be used everytime you start a new session.

    Note: CMTPATH should be modified. 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.6 working area (e.g. /project/atlas/users/<username>/12.0.6 ) do:

klog.krb -tmp -cell cern.ch -principal <afs accountname>
cmt co -r TopView-00-12-12 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