ATHENA
ATHENA installation at HU cluster
- The most recent ATHENA installation is TopPhys16.0.3.3.3. It is located at ~atlas/athena.
- The set-up procedure for release 16 is described below.
1. Preparing your account
For details see the ATLAS TWiki.- Create a place for your ATHENA code
> cd $HOME > mkdir cmthome > mkdir testarea > cd cmthome
- Run the setup script
> source /eeh/atlas/athena/16.0.2/CMT/v1r22/mgr/setup.sh [or .csh]
- Create a requirements file in your cmthome/ directory. Make sure
the SITEROOT variable is set correctly. Here is an basic example:
#--------------------------------------------------------------------- set DBRELEASE_OVERRIDE 12.9.3 set CMTSITE STANDALONE set KIT /eeh/atlas/athena/ #set KIT /eeh/mandry/atlas/athena/releases set SITEROOT ${KIT}/15.6.13 \ 15.6.13.3 ${KIT}/15.6.13 \ 15.6.13.3.2 ${KIT}/15.6.13 \ 15.6.13.4 ${KIT}/15.6.13 \ 16.0.2 ${KIT}/16.0.2 \ 16.0.2.3 ${KIT}/16.0.2 macro ATLAS_TEST_AREA ${HOME}/atlas/athena/testarea \ aplusplustest ${HOME}/atlas/athena/aplusplustest macro ATLAS_DIST_AREA ${SITEROOT} apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} apply_tag opt apply_tag setup apply_tag simpleTest use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc5-gcc43-opt #---------------------------------------------------------------------
- Configure CMT
> cmt config
- Copy the fixpython script into your cmthome/ folder
# # Fix the PYTHONPATH variable which his wrongly set by ATHENA/ # Remove /usr/lib/python from the list of paths # export PYTHONPATH=`echo $PYTHONPATH | sed s/":\/usr\/lib\/python"/""/`
2. Everyday setup
- Setup the ATHENA release your are going to use by typing
> source ~/cmthome/setup.sh -tag=16.0.2 [or .csh]
or for a production release like 15.6.9.13> source ~/cmthome/setup.sh -tag=AtlasProduction,16.0.2.3 [or .csh]
- Sometime you have to run 'source
fixpython' also before source setup.sh -tag=... .
- Fix the PYTHONPATH variable which is wrongly set by ATHENA.
> source fixpython
- Using a different DB release version like 10.7.1
type in your shell before you setup athena:export DBRELEASE_OVERRIDE=10.7.1
and then follow up with step. For a permanent solution you could also add the lineset DBRELEASE_OVERRIDE 10.7.1
to the top of your requirement file.
3. Setup for Release 16
For release 16 the cmt directory is not needed any more. The set-up procedure is done with the help of the asetupcpmmand, e.g.
source /users/eeh/atlas/athena_user/cmthome/fixpython export AtlasSetup=/eeh/atlas/athena/16.0.3/AtlasSetup source $AtlasSetup/scripts/asetup.sh TopPhys,16.0.3.3.3 --multi testarea=${HOME}/atlas/athena/testarea/ source /users/eeh/atlas/athena_user/cmthome/fixpython export ATLAS_POOLCOND_PATH=/afs/cern.ch/atlas/conditions/poolcond/catalogue
4. Athena Tools
- checkFile.py: print the container of a sample
- checkTrigger.py: print how many events passed the different Trigger Chains
- dump-athfile.py: print the meta data of a sample
5. Kit Installation (admins only)
- Login as user 'atlas' and go to athena/.
- Look up the releases at the Atlas Offline Software Release page.
- Install the kit with the help of pacman, e.g.
source /afs/cern.ch/atlas/software/pacman/pacman-latest/setup.sh cd 16.0.3 pacman -lc am-CERN | tee list source ./cmtsite/setup.sh -tag=16.0.3 pacman -get am-CERN:TopPhys_16_0_3_3_3_i686_slc5_gcc43_opt
- From time to time it might be necessary to update the database release. Check the release page for the needed DBRelease. Update with
pacman -get am-CERN:DBRelease-13.7.1