-- ThomasDoherty - 2009-11-03

Running ATLAS Software at Glasgow

The locations for the Atlas releases are

   /data/atlasb01/software for release      12.X.Y
   /data/atlasb01/software          "            13.X.Y  
  (/data/atlas04/software is backup)   

   /data/atlasb02/software          "            14.X.Y
  (/data/atlas04/software14 is backup)

  /data/atlasb04/software15     "              15.X.Y

Setting up v12 locally

How to set up an analysis skeleton on an sl4 PPE machine for v12

(1) Log in to the ppe machine - example: ssh ppepc17

(2) Make a test area if you haven't already and change into this directory - example: cd atlas

(3) Make a directory specific to the v12 release you are going to use - example: mkdir ANALYSISSL4-v12.0.6

and again make a further directory within this one - example mkdir 12.0.6

(4) Now we want to set up CMT and your requirements file directory - if you wish create a requirement file

specifically for v12 and store it in a directory that indicates this - example make a directory and change into ../cmthome-v12

(5) The requirements file should look something like this:

###########################################

set CMTSITE STANDALONE
set SITEROOT /data/atlasb01/software

macro ATLAS_TEST_AREA "${HOME}/atlas/CSC-eventview" \
ANALYSISSL4-v12.0.6 "${HOME}/atlas/ANALYSISSL4-v12.0.6"\
macro ATLAS_DIST_AREA ${SITEROOT}
macro ATLAS_GROUP_AREA "/data/atlasb01/software/EVGroupArea/Stable"
apply_tag projectArea
macro SITE_PROJECT_AREA ${SITEROOT}
macro EXTERNAL_PROJECT_AREA ${SITEROOT}
apply_tag opt
apply_tag projectTest
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
set CMTCONFIG i686-slc3-gcc323-opt

macro DBRel "2.8" \
12.0.31 "2.8" \
12.0.4 "3.0.1" \
12.0.5 "3.1.1" \
12.0.6 "3.2.1" \
12.3.0 "2.9.1" \
12.5.0 "3.2.1"
set DBRELEASE_INSTALLED ${DBRel}

# set DBRELEASE_INSTALLED 3.2.1

path TEST ""
path_append TEST "$(TestArea)"

macro home_dir "${HOME}"
path_remove CMTPATH "${home_dir}"
path_prepend CMTPATH "${TestArea}"

######################################################


where you have added the location of the directory "ANALYSISSL4-v12.0.6" to it.


(6) Now source the set up script for the CMT version you wnat to use - example

source /data/atlasb04/software15/CMT/v1r20p20090520/mgr/setup.sh

(7) As your requirements file is new and specific to v12 you must create the CMT setup scripts for it - by: cmt config

(8) Now you can set up CMT for your specific release (v12.0.6) by sourcing the setup file like this:

source setup.sh -tag=ANALYSISSL4-v12.0.6,12.0.6

and

source /data/atlasb01/software/AtlasProduction/12.0.6/AtlasProductionRunTime/cmt/setup.sh

(9) Now we want to check out the UserAnalysis package for this release to do this first change into your testarea (cd $TEST)

(10) To find out the specific package version needed fro this release try this-

more /data/atlasb01/software/AtlasAnalysis/2.0.6/PhysicsAnalysis/AnalysisCommon/UserAnalysis/cmt/version.cmt

(11) As v12 was not migrated to the svn servers it still lies on the old CVS server - so we need to set up CVS (just for v12) by:

export CVSROOT=":ext:isscvs.cern.ch:/local/reps/atlas/"

export CVS_RSH="ssh"

(12) Now check out the package (in $TEST/ANALYSISSL4-v12.0.6/12.0.6) by:
cmt co -r UserAnalysis-00-09-10 PhysicsAnalysis/AnalysisCommon/UserAnalysis

(13) when successfully checked out we now want to compile this code (after changes are made) by:

(a) cd PhysicsAnalysis/AnalysisCommon/UserAnalysis/cmt

(b) source setup.sh

(c) cmt bro gmake

(14) Now we want to run Athena with a basic JO. This means you need to change into your run directory (cd ../run)

and then fetch the JO by: get_files AnalysisSkeleton _topOptions.py

(15) We want to change the JO to point to the input AOD that we want to run our Analysis on for example:

point to - /data/atlas07/chrisc/CSC-AOD/trig1_misal1_mc12.006855.AcerMCttbb_QCD.recon.AOD.v12000605_tid011597/AOD.011597._00002.pool.root.1

(16) And finally run the JO:

athena.py AnalysisSkeleton _topOptions.py > AnalysisSkeleton.log

Setting up v14 Locally

Follow the instructions in the link below to setup up v14 Locally ( Note and issue with python setup is currently being fixed for SL5 machines).

Release 14.2.25.5

Edit | Attach | Print version | History: r7 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-11-03 - ThomasDoherty
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback