Hi Chris,
Do you have a proxy (ie. from voms-proxy-init) and do you point to it with
export X509_USER_PROXY=[pathtoproxy]
You also need the somewhat obscure link of libshift.so.2.1 to libdpm.so (and for that to be found in your LD_LIBRARY_PATH)
(libdpm.so should be in $LCG_LOCATION/lib (or lib64 if you are using 64 bit root).
I have successfully opened a TFile on a DPM SE via RFIO in root so it is definitely possible and your Root syntax for TFile is correct.
Wahid
On 30 Jun 2010, at 23:22, Chris Curtis wrote:
> Hi -
>
> Apologies for cross posting (original message on ATLAS distributed Analysis egroup) - I thought on reflection this question might be more grid oriented.
>
> I'm trying to access a Root file on our SE via RFIO. I can use rfcp to download the file, but what I would really like to do is access it from within Root by calling:
>
> TFile *f = TFile::Open("rfio://epgse1.ph.bham.ac.uk//dpm/ph.bham.ac.uk/home/atlas/atlasscratchdisk/user10/jodypalmer/ganga/user10.jodypalmer.ganga.4998.20100628/user10.jodypalmer.ganga.4998.20100628.TopPhys_TopInputs.pt_18.0._00006.root");
>
> If I do this though root (from either a UI or a WN), root throws the error:
>
> SysError in <TRFIOFile::TRFIOFile>: file rfio://epgse1.ph.bham.ac.uk//dpm/ph.bham.ac.uk
> /home/atlas/atlasscratchdisk/user10/jodypalmer/ganga/user10.jodypalmer.ganga.4998.20100628
> /user10.jodypalmer.ganga.4998.20100628.TopPhys_TopInputs.pt_18.0._00006.root can not be opened for reading (Connection refused)
>
> And in the /var/log/rfio/log file on the DPM head node I see the corresponding message:
>
> rfiod[17490]: Could not establish an authenticated connection: Csec_server_negociate_protocol:
> The client did not send an authentication negociation request; _Csec_recv_token: Received magic: 2002001 expecting ca03 !
>
> Has anyone seen this before (or successfully opened a TFile on a DPM SE via RFIO in root)?
>
> Cheers,
>
> Chris
>
> --
> West 326
> Physics and Astronomy
> University of Birmingham
> Edgbaston
> Birmingham
> B15 2TT
>
> (Office) 0121 414 4700
> (Mobile) 0798 666 1959
>
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|