Difference: Xcache (1 vs. 2)

Revision 22018-01-18 - AsokaDeSilva

Line: 1 to 1
 
META TOPICPARENT name="ATLASLocalRootBase2"

xcache (lsetup xcache)

Line: 41 to 41
 ALRB_XCACHE_PROXY=root://localhost:59560//

  • if you are using it locally on the same session, then you are all ready.
Changed:
<
<
  • To use xcache in another session on the same machine, you need to define export ALRB_XCACHE_PROXY...=
  • To use xcache on another machine, you need to define export ALRB_XCACHE_PROXY_REMOTE...=
>
>
  • To use xcache in another session on the same machine, you need to define export ALRB_XCACHE_PROXY...
  • To use xcache on another machine, you need to define export ALRB_XCACHE_PROXY_REMOTE...
    • (you can do this for all users at your site if xcache is setup on one machine and run using one person's proxy renewed automatically.)
 

Usage

Line: 56 to 57
 
root -b
root [0] TFile::Open("${ALRB_XCACHE_PROXY_REMOTE}root://tbn18.nikhef.nl:1094//dpm/nikhef.nl/home/atlas/atlasdatadisk/rucio/data15_13TeV/d0/eb/AOD.11253261._000047.pool.root.1")
Deleted:
<
<
</verbatim>

Revision 12018-01-17 - AsokaDeSilva

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ATLASLocalRootBase2"

xcache (lsetup xcache)


This is useful for laptops, desktops as well as Tier3s if you have users who access the same file at remote sites more than once using the root protocol. xcache caches the file at the specified directory so that subsequent access will be significantly faster as they will be local access.

Setup:

setupATLAS

Next do one of these:

 
lsetup xcache 
voms-proxy-init -voms atlas -valid 96:0

OR if you want to setup a release as well ...

 
lsetup "asetup AthAnalysis,21.2.3" xcache
voms-proxy-init -voms atlas -valid 96:0

If you want to set this up for a Tier3, and generate / renew the proxy automatically, please look at the script $ATLAS_LOCAL_ROOT_BASE/user/myproxydelegate-example.sh

Help

xcache -h
xcache usage
 (usage has more information as to how to also use delegated proxies)

Start

Select a directory for the cache files as shown in the example below. xcache start -d /tmp/desilva/myCache

This will define the following environment variables; for example:

ALRB_XCACHE_PROXY_REMOTE=root://atlasremote.triumf.ca:59560//
ALRB_XCACHE_PROXY=root://localhost:59560//

  • if you are using it locally on the same session, then you are all ready.
  • To use xcache in another session on the same machine, you need to define export ALRB_XCACHE_PROXY...=
  • To use xcache on another machine, you need to define export ALRB_XCACHE_PROXY_REMOTE...=

Usage

For example, locally:

root -b
e.g.
root [0] TFile::Open("${ALRB_XCACHE_PROXY}root://tbn18.nikhef.nl:1094//dpm/nikhef.nl/home/atlas/atlasdatadisk/rucio/data15_13TeV/d0/f1/AOD.11253261._000350.pool.root.1")

For example,remote machines on the same domain:

root -b
root [0] TFile::Open("${ALRB_XCACHE_PROXY_REMOTE}root://tbn18.nikhef.nl:1094//dpm/nikhef.nl/home/atlas/atlasdatadisk/rucio/data15_13TeV/d0/eb/AOD.11253261._000047.pool.root.1")

</verbatim>

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback