General Athena Install
For instructions on how to setup Athena locally skip to Setup Athena.
cvmfs install
This applies to a x86_64 machine running SL 6.5.
To do this using cvmfs, do:
From an lxplus machine copy the file
/etc/cvmfs/default.local
to you
/etc/cvmfs/
folder.
Correct for desired repositories, I have:
-
CVMFS_REPOSITORIES='atlas.cern.ch'
And then change the proxy setting to whatever your proxys are...
Start autofs:
Check cvmfs:
-
cvmfs_config chksetup
-
cvmfs_config probe
(this mounts it in /cvmfs/
, could take awhile)
-
cvmfs_config status
-
cvmfs_config stat -v
Setup Athena
In your
.bashrc
file put
-
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
-
alias atlas='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
An alias is better than to immediately source this at login. If the server has to be rebooted, then cvmfs might not have been started (which needs root privileges) and so you will not be able to get into your account.
Then in
/home/username/.asetup
get rid of everything in there and replace it with
[defaults]
briefprint= True
save= True
autorestore=True
64bit=True
testArea=/home/username/testarea
Log out and back in, then start Athena by doing
-
atlas
- =asetup 18.9.0 (as an example)