https://www.gridpp.ac.uk/w/index.php?title=RFIO_Local_Access&feed=atom&action=historyRFIO Local Access - Revision history2024-03-28T10:05:24ZRevision history for this page on the wikiMediaWiki 1.22.0https://www.gridpp.ac.uk/w/index.php?title=RFIO_Local_Access&diff=3093&oldid=prevWahid bhimji at 10:18, 27 January 20122012-01-27T10:18:26Z<p></p>
<p><b>New page</b></p><div>To run on the file in ROOT locally. <br />
<br />
Set up glite client (either a UI or using)<br />
<br />
voms-proxy-init -voms atlas<br />
export DPM_HOST=srm.glite.ecdf.ed.ac.uk<br />
export DPNS_HOST=srm.glite.ecdf.ed.ac.uk<br />
<br />
Then either copy the file e.g.<br />
rfcp /dpm/ecdf.ed.ac.uk/home/atlas/atlaslocalgroupdisk/mc11_7TeV/NTUP_HSG5WH.563989._000001.root.1 /tmp/mc11_7TeV.116591.root<br />
<br />
or to run in ROOT directly, first make a link to the DPM libraries from wherever they are in your gLite client <br />
<br />
export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH<br />
ln -s /Disk/speyside4/atlas/ddm/libdpm.so.1.7.4 libshift.so.2.1<br />
ln -s /Disk/speyside4/atlas/ddm/liblcgdm.so.1.7.4 ./liblcgdm.so<br />
<br />
Then open with TFile::Open("rfio:////.....") (NOT TFile("rfio:..")) and with 4 slashes (!) e.g :<br />
root<br />
root [0] TFile *_file0 = TFile::Open("rfio:////dpm/ecdf.ed.ac.uk/home/atlas/atlaslocalgroupdisk/mc11_7TeV/NTUP_HSG5WH.563989._000001.root.1")<br />
<br />
<br />
Making a list of the files at your site from ATLAS DQ2 client.<br />
<br />
Set up DQ2 client tools<br />
voms-proxy-init -voms atlas<br />
dq2-ls -f -p -L UKI-SCOTGRID-ECDF_LOCALGROUPDISK mc10_7TeV.116591.WH120lnubb_pythia.merge.NTUP_HSG5WH.e701_s933_s946_r2302_r2300_p766/ | grep srm \\<br />
| sed 's/srm:\/\/srm.glite.ecdf.ed.ac.uk/rfio:\/\/\//g'</div>Wahid bhimji