Difference: Xcache (2 vs. 3)

Revision 32018-12-19 - TWikiAdminUser

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

xcache (lsetup xcache)

Line: 47 to 47
 

Usage

Added:
>
>

Locally

 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")
Added:
>
>

Other Machines on the Same Domain

 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")
Added:
>
>

Dataset

If you want to process a dataset that is available through rucio:

setupATLAS
# set up a root version and rucio wrapper
lsetup "root <version>" "rucio -w" 
voms-proxy-init -voms atlas

and then get the list of files to process with the root protocol:

# get the nearest RSE which has the dataset you want
rucio list-dataset-replicas <dataset>   
# get the URL of the files in the dataset for root access and append the xcache prefix
# You can replace ALRB_XCACHE_PROXY below with ALRB_XCACHE_PROXY_REMOTE if xcache is on another machine on the same domain
rucio list-file-replicas --rse <nearest RSE from previous step> --protocol root --pfns <dataset> | sed -e 's/^root/\${ALRB_XCACHE_PROXY}root/'
 
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