Grid, Athena, Root

From Etp
Jump to: navigation, search

CVMFS setup

Since end 2012 CVMFS is available on the LCG/ATLAS part of the LRZ Linux cluster and this is the recommended way to setup the Grid, Athena and Root environment.

Before starting ensure that you are logged in to our Slurm submission node, lxe31 (see Login at LRZ).

All you need to do is

source /home/grid/lcg/sw/setup_atlas_cvmfs.sh

Then you can continue with the usual CVMFS setup commands, e.g.

asetup 17.2.4,here
get_files -jo HelloWorldOptions.py 
athena HelloWorldOptions.py


Please note that the standalone Root setup via CVMFS (localSetupROOT) has problems with the gcc setup at LRZ. Either use Root from full athena setup (asetup) or use the LRZ specific installation described below.



The following sub-sections describe alternative setups in case you do not want to use CVMFS, might be obsolete !

Grid setup

source /home/grid/lcg/sw/grid_setup.sh
# DQ2
source $VO_ATLAS_SW_DIR/ddm/latest/setup.sh

Root setup

sets up natively (SLES11) build 64bit Root

source /home/grid/lcg/sw/root_setup.sh

An example Root-ntuple analysis job is here

Athena setup

First issue the Grid setup:

source /home/grid/lcg/sw/grid_setup.sh

Then the variable $VO_ATLAS_SW_DIR is automatically set so that all athena releases are accessible via e.g.:

source $VO_ATLAS_SW_DIR/software/15.6.10/cmtsite/setup.sh -tag=AtlasProduction,15.6.10.6,setup,runtime,forceConfig

Also setup afterwards the local-setup-script to get an the Frontier/Squid and enhanced libdcap.so version:

source $VO_ATLAS_SW_DIR/local/setup.sh