Re: Open RFIO file and SysErrors between UPDATE and READ

From: Marco Calviani <marco.calviani_at_gmail.com>
Date: Wed, 14 Feb 2007 14:36:14 +0100


Hi Gerardo,

   thanks for your hints. Actually the problem is on the server side, but i've created a short while loop where, after a given sleep time, it tries to open the remote file again.

Sorry what's the difference (advatages) between TRFIOFile and TCastorFile? Since i'm writing and reading back ROOT files from CASTOR? Regards,
m

On 2/12/07, Gerri Ganis <gerardo.ganis_at_cern.ch> wrote:
>
> Dear Marco,
>
> What you tried seems fine. Perhaps there is a problem on the server side.
> Can you create a new file there, e.g.
>
> TRFIOFile *f = new
> TRFIOFile("/castor/cern.ch/user/c/calviani/DST/FIC1/dum.root", "NEW")
>
> ?
>
> Also, could you try with TCastorFile
>
> TFile *f =
> TFile::Open("castor:/castor/cern.ch/user/c/calviani/DST/FIC1/data_run8207_0_s4_IDriv16.root","UPDATE")
>
> or directly
>
> TFile *f =new
> TCastorFile("/castor/cern.ch/user/c/calviani/DST/FIC1/data_run8207_0_s4_IDriv16.root","UPDATE")
>
> ?
> (TCastorFile is an alternative way to access CASTOR which uses different
> daemon).
>
>
> Gerri
>
> --
> +--------------------------------------------------------------------------+
> Gerardo GANIS PH Department, CERN
> address CERN, CH 1211 Geneve 23
> room: 32-RC-017, tel / fax: +412276 76439 / 69133
> e-mail gerardo.ganis_at_cern.ch
> +--------------------------------------------------------------------------+
>
>
Received on Wed Feb 14 2007 - 14:36:23 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 14 2007 - 17:50:03 CET