Skip to content
Paul Nilsson edited this page Apr 25, 2022 · 1 revision

Note: this page is VO specific (ATLAS)

To solve the problem with direct access in older ATLAS analysis releases (due to outdated/old versions of the xroot client), the Pilot can run xcache on the WN with a new version of the xroot client. The Pilot starts the xcache service before stage-in, and stops it after the payload has completed. The following commands are executed:

Before stage-in:

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh --quiet
lsetup xcache
xcache start -d /tmp/xcache
# sets an env with the turl to prepend
xcache stop

Note: the first two lines above comes from executing the function get_asetup(asetup=False) (skipping sourcing of asetup.sh).

After payload:

code