[ROOT] reading files stored in shift

From: Daniele Cesini-OPAL-CMS (Daniele.Cesini@bo.infn.it)
Date: Mon Feb 25 2002 - 17:12:06 MET


Hi, I'm working in lxplus at cern and I'm trying to read files that are
stored in shift machines.
In my source code I use the line:

TFile f1("shift19:/shift/shift19/...path.../filename");

then I compile and link with the shift library using the following
command:

g++ -O filename.o
-L/afs/cern.ch/na49/library.4/ROOT/pro/i386_redhat60/root/lib -lCore
-lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix
-lPhysics -lm -ldl -lpthread -lshift -rdynamic -o outname

I get no error message during linking but at esecution time the file
cannot be found:

Error in <TFile::TFile>: file shift19:/shift/shift19/..path../filename
does not exist

Typing the same commmand in the interactive root mode I get the same
error, while using the rfdir command from shell I can see the file I have
to read.
I hope someone can help me. Thanks in advance,

    Daniele Cesini.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET