Ruben, Did you install Root from source? I see that your versions of Root have different build dates. In case you installed Root from source, make sure that you use the right shift library (from /usr/local and not from libpacklib). see: http://root.cern.ch/root/Install.html Rene Brun Ruben Shahoyan wrote: > > Hello, > we have the followoing problem: when we try to open the root file (on > Castor) via rfio. When we try to do this from local cern PC (having done > klog) it fails, while from lxplus it works. Does anybody have experience > with such operations? What can be the problem? > Below are the screenshots of failed (on local pc) and successful (lxplus) > trials. > > Bets regards, > Ruben Shahoyan > > offline@na60farm1:~ klog -principal na60cdr > Password: > offline@na60farm1:~ klist > Ticket file: /tmp/tkt21591 > Principal: na60cdr@CERN.CH > > Issued Expires Principal > Dec 8 18:07:45 Dec 9 19:34:06 krbtgt.CERN.CH@CERN.CH > Dec 8 18:07:45 Dec 9 19:34:06 afs@CERN.CH > offline@na60farm1:~ nstouch /castor/cern.ch/na60/test/a.root > /castor/cern.ch/na60/test/a.root: Permission denied > offline@na60farm1:~ root -b > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 3.05/07 6 October 2003 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > Compiled for linux with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.94, June 30 2003 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] TFile *f ; f = File::Open("rfio:/castor/cern.ch/na60/test/a.root","") > SysError in <TRFIOFile::TRFIOFile>: file /castor/cern.ch/na60/test/a.root an not be opened for reading (Success) > (class TFile*)0x0 > root [1] > > ====== > VERSUS > ====== > > [lxplus081] /afs/cern.ch/user/n/na60cdr > klist > Ticket file: /tmp/tktp1104032764 > Principal: na60cdr@CERN.CH > > Issued Expires Principal > Dec 8 15:52:31 Dec 9 17:18:52 krbtgt.CERN.CH@CERN.CH > Dec 8 15:52:31 Dec 9 17:18:52 afs@CERN.CH > [lxplus081] /afs/cern.ch/user/n/na60cdr > nstouch /castor/cern.ch/na60/test/a.root > [lxplus081] /afs/cern.ch/user/n/na60cdr > root -b > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 3.05/07 27 July 2003 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > Compiled for linux with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.94, June 30 2003 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] TFile *f ; f = TFile::Open("rfio:/castor/cern.ch/na60/test/a.root","") > (class TFile*)0x86893e0 > root [1] f->ls() > TRFIOFile** rfio:/castor/cern.ch/na60/test/a.root > TRFIOFile* rfio:/castor/cern.ch/na60/test/a.root > KEY: TObject TObject;1 Basic ROOT object > root [2] > > André David > ---------------------------------- > The NA60 Experiment at CERN
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET