How to setup atlas software

At CERN

  • setting up a release
mkdir myRelease
cd myRelease
  • write a file called requirements that looks like
set   CMTSITE  CERN
set   SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
macro ATLAS_TEST_AREA /afs/cern.ch/user/j/jboyd/release
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
apply_tag oneTest
apply_tag 32
  • then do:
source /afs/cern.ch/sw/contrib/CMT/v1r20/mgr/setup.csh
cmt config
  • the above you only need to do once when you setup the release. the stuff below you need to do everytime you log in, and want to use the release
source setup.csh -tag=12.0.5,runtime 
  • this sets up your environment to use this release
  • you can check this is done correctly by doing
echo $CMTPATH 
/afs/cern.ch/user/j/jboyd/scratch0/saved_rel5
/afs/cern.ch/atlas/software/builds/AtlasOffline/12.0.5
/afs/cern.ch/atlas/software/builds/AtlasSimulation/2.0.5
/afs/cern.ch/atlas/software/builds/AtlasAnalysis/2.0.5
/afs/cern.ch/atlas/software/builds/AtlasEvent/2.0.5
/afs/cern.ch/atlas/software/builds/AtlasConditions/2.0.5
/afs/cern.ch/atlas/software/builds/AtlasCore/2.0.5
/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.13-LCG43C-t
/afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_43C
/afs/cern.ch/atlas/software/builds/AtlasTrigger/2.0.5
/afs/cern.ch/atlas/software/builds/DetCommon/2.0.5
/afs/cern.ch/atlas/software/builds/AtlasReconstruction/2.0.5
  • or

Finding information ad useful links

  • HyperNews (need to register first)
  • can subscribe to specific lists or browse on web. (PrelimBugs and SWblah particuarly useful for general software issues)
https://hypernews.cern.ch/HyperNews/Atlas/top.pl
  • Search code using LXR
http://alxr.usatlas.bnl.gov/lxr/search
  • Browse using web cvs
http://atlas-sw.cern.ch/cgi-bin/viewcvs-atlas.cgi/offline/
  • old simba lists (before hypernews) archive is
https://listboxservices.web.cern.ch/listboxservices/simba2/free/atlas/atlas.aspx
  • seacrh wiki from
https://twiki.cern.ch/twiki/bin/view/Atlas/WebSearch?search=WikiSearch

Installing / Running the software at BA (using a kit)

Installing software using the kit

> export http_proxy=http://proxy.uba.ar:8080
> tar -zxf pacman-latest.tar.gz
> cd pacman-*
> source setup.sh
> cd ..
  • create directory for your release to go into
> mkdr 12.0.5
> cd 12.0.5
  • now download the release (best to use Kit Validation KV although i didnt try that yet)
> pacman -lc am-CERN
> pacman -get am-CERN:12.0.5
<..wait for long time its about 7Gb to be downloaded..>
> ls
atlas            AtlasOffline         CMT        geant4        setup.csh.sav
AtlasAnalysis    AtlasProduction      cmtsite    LCGCMT        setup.sh
AtlasConditions  AtlasReconstruction  DBRelease  o..pacman..o  setup.sh.sav
AtlasCore        AtlasSettings        DetCommon  pacman        sw
AtlasEvent       AtlasSimulation      external   project       trusted.caches
AtlasLogin       AtlasTrigger         Gaudi      setup.csh

Installing EventView cache using a kit

  • The EventView software is for Physics analysis from AOD and changes much more quicjy than the release cycle
  • To cope with this there is an EventViewGroupArea which contains the latest tags to use the EventView software
  • There is a kit (called Event View pacman Cache) for this groupArea which you can checkout
  • this is described here
  • i did the following and this worked
export http_proxy=http://proxy.uba.ar:8080
[root@blumi root]# cd /home//12.0.6/pacman/pacman-3.20/
[root@blumi pacman-3.20]# source setup.sh
[root@blumi 12.0.6.5]# pacman -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/:EventView-12.0.6.4
Do you want to add [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/] to [trusted.caches]? (y or n): y
Can't access [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/].
[root@blumi 12.0.6.5]#  export http_proxy=http://proxy.uba.ar:8080
[root@blumi 12.0.6.5]# pacman -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/:EventView-12.0.6.4
Can't find [EventView-12.0.6.4] in [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/].
[root@blumi 12.0.6.5]# pacman -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/:EVTags-12.0.6.4
Can't find [EVTags-12.0.6.4] in [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/].
[root@blumi 12.0.6.5]# pacman -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/:EventView-12.0.6
Can't find [EventView-12.0.6] in [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/].
[root@blumi 12.0.6.5]# pacman -get http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/:EventView-12.0.6.4.pacman
Package [EventViewBuilder] found in [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView/]...
Downloading [EventView-12.0.6.4.tar.gz] from [http://atlas-computing.web.cern.ch/atlas-computing/links/kitsDirectory/PAT/EventView]...
Untarring [EventView-12.0.6.4.tar.gz]...
cleaning up
[root@blumi 12.0.6.5]#
  • you find the latest versin to use from here

Running using the kit

  • setup requirements file that looks like
set CMTSITE STANDALONE
set SITEROOT /home/12.0.5-HLT-1 
macro ATLAS_DIST_AREA ${SITEROOT} 
apply_tag projectArea
macro SITE_PROJECT_AREA ${SITEROOT}
macro EXTERNAL_PROJECT_AREA ${SITEROOT} 
apply_tag opt
macro ATLAS_TEST_AREA ${HOME}/testing
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
apply_tag oneTest 
set CMTCONFIG i686-slc3-gcc323-opt
set DBRELEASE_INSTALLED  3.1.1
  • setup like
$ source /path_to_kit/CMT/*/mgr/setup.sh
$ cmt config
$ source setup.sh -tag=12.0.5,runtime
[jboyd@blumi testing]$ echo $CMTPATH
/home/jboyd/testing:
/home/12.0.5-HLT-1/AtlasOffline/12.0.5:
/home/12.0.5-HLT-1/AtlasSimulation/2.0.5:
/home/12.0.5-HLT-1/AtlasAnalysis/2.0.5:
/home/12.0.5-HLT-1/AtlasEvent/2.0.5:
/home/12.0.5-HLT-1/AtlasConditions/2.0.5:
/home/12.0.5-HLT-1/AtlasCore/2.0.5:
/home/12.0.5-HLT-1/Gaudi/0.16.1.13-LCG43C-t:
/home/12.0.5-HLT-1/LCGCMT/LCGCMT_43C:
/home/12.0.5-HLT-1/AtlasTrigger/2.0.5:
/home/12.0.5-HLT-1/DetCommon/2.0.5:
/home/12.0.5-HLT-1/AtlasReconstruction/2.0.5
  • to be able to check out packages from cern cvs i use ssh (i found strange problems with kerberos?):
export CVSROOT=:ext:atlas-sw.cern.ch:/atlascvs
export CVS_RSH=ssh
  • then checkout ad compile packages in the usual way
$ cmt co -r G4CosmicFilter-00-00-07 Simulation/G4Extensions/G4CosmicFilter
$ cd Simulation/G4Extensions/G4CosmicFilter/cmt
$ cmt config
$ gmake
...

  • for Kerberos you would do...
export CVSROOT=:kserver:isscvs.cern.ch:/local/reps/atlas
kinit -4 jboyd@CERN.CH
< passwd >
  • check this worked
[jboyd@blumi testing]$ klist
klist: No credentials cache found (ticket cache FILE:/tmp/krb5cc_502)
 
 
Kerberos 4 ticket cache: /tmp/tkt502
Principal: jboyd@CERN.CH
 
  Issued              Expires             Principal
04/05/07 16:44:09  04/06/07 02:44:09  krbtgt.CERN.CH@CERN.CH
04/05/07 16:45:22  04/06/07 02:45:22  rcmd.isscvs@CERN.CH
  • but i got the PROBLEM - sometimes checkout doesnt work it looks like:
[jboyd@blumi testing]$  cmt co -r TrigIDSCAN-00-04-66-08 Trigger/TrigAlgorithms/
TrigIDSCAN
cvs [checkout aborted]: kerberos authentication failed: Time is out of bounds (k
rb_rd_req)
#CMT> The CVS pluggin is not installed or is not at protocol level v1r1
#CMT> The CVS pluggin is not installed or is not at protocol level v1r1
# ================= working on  TrigIDSCAN version TrigIDSCAN-00-04-66-08 path T
rigger/TrigAlgorithms in /home/jboyd/testing/Trigger/TrigAlgorithms/TrigIDSCAN
[jboyd@blumi testing]$

  • useful links
https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookInstallingAtlasSoftware https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookSetAccount http://cvs.web.cern.ch/cvs/howto.php#accessing-clients

-- JamieBoyd - 04 Apr 2007

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2007-05-04 - JamieBoyd
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback