Release at CERN

From ATLAS-TRIUMF

Jump to: navigation, search

[edit] Running Athena Outside CERN: AFS Method

TRIUMF

If you just want to run against the release and you have AFS installed on your local machine, it is fairly simple:

  • Create your working directory.
  • Create a file called requirements in it.
  • Edit it to include the following:
  • set CMTSITE CERN
  • macro ATLAS_DIST_AREA "/afs/cern.ch/atlas/softare/dist"
  • macro ATLAS_RELEASE "10.4.0"
  • apply_tag optimized
  • use AtlasSettings v* $(ATLAS_DIST_AREA)
  • macro devarea "${HOME}/myNewWorkDirectory"
  • macro home_dir "${HOME}"
  • path_remove CMTPATH "${home_dir}"
  • path_prepend CMTPATH "${devarea)"


Problems:

Even with CASTOR installed on the local machine, I was not able to find settings for STAGEHOST which would let me access CASTOR files stored at CERN from outside... so I was only able to test this on local files.

If you want to check out packages (including RecExTB or UserAnalysis) and build them against the release, you need to set up CVS access Then you should be able to check out and commit code with the usual privileges of your afs user account (or whoever's account you used when you set up CVS access).


[edit] Special Case: using AFS GroupArea

The GroupArea is a horrible, CERN-centric compromise between having to wait for a new release and having to check out a whole lot of tags to do development and risk not being able to compare your bugs with anybody else. The idea is that all the tags needed to do a particular kind of development are checked out in a single GroupArea, and then everybody adds lines like

tag vp1common   public groupArea  oneGroup
macro ATLAS_GROUP_AREA /afs/cern.ch/atlas/maxidisk/d9/MIG0/VP1

to their requirements file, and then sets up with

source cmthome.13030_32bit/setup.sh -tag=13.0.30,setupCMT,simpleTest,setup,vp1common

You can do this even if you are running against a release installed at TRIUMF from a kit as long as you are running AFS. You will save yourself the trouble of figuring out what packages to check out; on the other hand, you may find it slow to run that way...

In case of comments, contact --Itrigger 10:28, 22 Aug 2005 (PDT) Updated: --Isabel 16:01, 12 October 2007 (PDT)

Personal tools