Difference: SettingUpAthena (r4 vs. r3)

Athena can be tricky to set up and run under your user account. These are some minimal directions to follow.

The ATLAS Computing Workbook is chock full of helpful information about this process. A quick summary of these steps is as follows:

  • go to /atlas/data17a/higgs/users/qianj and pick one release, say 14.4.0.
  • create your own cmt directory
    • Be sure the directory you create is of the form v*.*.*
  • copy over the file named "requirements" from the directory above
  • edit to change the "ATLAS_TEST_AREA" setting to one's own area
  • follow the instruction at the top of the "requirements" file

AGLT2 now uses CVMFS (distributed filesystem from CERN) to distribute ATLAS software, e.g. pathena and prun. To configure for this add these lines to your .bash_profile (or equivalent for whatever shell you use):

Some more specific directions can be seen in this example

if [ -f "/usr/local/bin/setup/cvmfs_atlas.sh" ]; then
  echo " Creating 'atlasSetup' alias..."
  alias atlasSetup="source /usr/local/bin/setup/cvmfs_atlas.sh"
cd /atlas/data17a/xuefeili/eID/AOD/v14.0.0/v14.2.22
source cmthome/setup.sh -tag=32,14.2.22
export CVSROOT=:kserver:atlas-sw.cern.ch:/atlascvs
/usr/kerberos/bin/kinit -4 Your_User_Name@CERN.CH
(enter your password)
cd ../PhysicsAnalysis/AnalysisCommon
# Now, for VP1, here are some extensions
vp1-install-patch vp1patch_2008-10-30-LastBackwardsCompat_14.2.22_i686-slc4-gcc34-opt.tar.bz2

source /tmp/xuefeili/vp1patches/vp1patch_2008-10-30-LastBackwardsCompat_14.2.22_i686-slc4-gcc34-opt_68e880b88564c61b5cd9fa85b3d219c5/setup.sh

vp1 /atlas/data13/daits/mc13/AOD/trig1_misal1_csc11_V1.005145.PythiaZmumu.recon.AOD.v13003003_tid017582/AOD.017582._00251.pool.root.7

When you login you'll see the message:

-- BobBall - 20 Jan 2009

Creating 'atlasSetup' alias...

Typing atlasSetup on the command line will produce these messages:

...Type localSetupDQ2Client to use DQ2 Client
...Type localSetupGanga to use Ganga
...Type localSetupGcc to use alternate gcc
...Type localSetupGLite to use GLite
...Type localSetupPacman to use Pacman
...Type localSetupPandaClient to use Panda Client
...Type localSetupROOT to setup (standalone) ROOT
...Type localSetupPoD to setup Proof-on-Demand
...Type showVersions to show versions of installed software
...Type asetup [--help] to setup a release
...Type changeASetup [--help] to change asetup configuration
...Type diagnostics for diagnostic tools
...Type helpMe for help

The above commands can now be used to configure for a variety of ATLAS software-related tasks. Specifically use command asetup to configure to use a particular Athena release, e.g. like.


-- BobBall - 26 Jan 2012

View topic | View difference side by side | History: r5 < r4 < r3 < r2 | More topic actions
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback