RE: [ROOT] how to create a file on Castor with v3.10.02

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Apr 08 2004 - 12:27:36 MEST


Hi Olof,

 this is the old interface calling RFIO.

Cheers, Fons.



On Thu, 2004-04-08 at 11:16, Olof Barring wrote:
>    Does the problem persist? if so, please mail all details to
> Castor.Support@cern.ch . In particular we would need to know
> exactly what the error messages are. Fons, is this using your
> new ROOT version that calls the CASTOR stager API or is the
> old ROOT that only calls RFIO?
> 
>                Olof
> 
> > -----Original Message-----
> > From: Fons Rademakers 
> > Sent: Tuesday, April 06, 2004 9:32 PM
> > To: lechowsk@lal.in2p3.fr
> > Cc: roottalk (ROOT Talk mailing list); Olof Barring
> > Subject: Re: [ROOT] how to create a file on Castor with v3.10.02
> > 
> > 
> > Hi Matthieu,
> > 
> >   it might be that the afs version was build with a wrong 
> > version of the CASTOR libraries. It also might be a 
> > (temporary) CASTOR problem. Hopefully Olof Barring from the 
> > CASTOR team can give some hints.
> > 
> > Cheers, Fons.
> > 
> > 
> > On Tue, 2004-04-06 at 10:46, Matthieu LECHOWSKI wrote:
> > > Hello,
> > > 
> > > I would like to create a file on castor with ROOT, but my 
> > usual method 
> > > to
> > > do that does not work anymore with the version 3.10.02 of 
> > ROOT (on lxplus, 
> > > my ROOTSYS is /afs/cern.ch/sw/root/v3.10.02/rh73_gcc2952/root ).
> > > 
> > > below a simple example :
> > > 
> > > void start()
> > > {
> > >   TFile 
> > > *F=TFile::Open("rfio:/castor/cern.ch/user/l/lechowsk/test.root",
> > > "RECREATE");
> > >   TH1F *H=new TH1F("h","h",100,-5,5);
> > >   H->FillRandom("gaus",10000);
> > >   H->Write();
> > >   F->Close();
> > > }
> > > 
> > > With 3.5.05 this works, but with 3.10.02 I have the message "
> > > stage_updc_filcp " several times. The file has been created 
> > on castor (the 
> > > Open works), but has 0 octets (the Close doesn't work).
> > > 
> > > Do you know something about that ? Has something changed ?
> > > I see that now there is TCastorFile, I tried it but ROOT 
> > doesn't know 
> > > it :
> > > Error: Symbol TCastorFile is not defined in current scope
> > > How could I use it ?
> > > 
> > > Thank you.
> > > 
> > > Matthieu Lechowski.
> > -- 
> > Org:    CERN, European Laboratory for Particle Physics.
> > Mail:   1211 Geneve 23, Switzerland
> > E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> > WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
> > 
> > 
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET