Grid, Athena, Root
Scientific Linux setup with Singularity
As on the ETP cluster you can setup a CVMFS image with singularity on 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 one of our SLES12 Slurm submission nodes, lxe16 or lxe31 (see Login at LRZ).
Then execute these commands:
source source /home/grid/lcg/sw/setup_image.sh
This will setup the functions "slc6" and "centos7" , which allow to either invoke a new shell within an slc6/centos7 singularity container or execute commands within said container, e.g.
# start shell in centos7 image centos7 # # ATLAS setup export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase source $ATLAS_LOCAL_ROOT_BASE/user/atlasLocalSetup.sh -q # # ... continue with the usual CVMFS setup commands, e.g. asetup AnalysisBase,21.2.14
This is recommended setup to use LRZ nodes and should cover all aspects, the further descriptions below refer to non-singularity setup and are obsolete
CVMFS setup (Obsolete ...)
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
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 (Obsolete ...)
source /home/grid/lcg/sw/grid_setup.sh # DQ2 source $VO_ATLAS_SW_DIR/ddm/latest/setup.sh
Root setup (Obsolete ...)
sets up natively (SLES11) build 64bit Root
An example Root-ntuple analysis job is here
Athena setup (Obsolete ...)
First issue the Grid setup:
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,184.108.40.206,setup,runtime,forceConfig
Also setup afterwards the local-setup-script to get an the Frontier/Squid and enhanced libdcap.so version: