RE: problem with proof tutorial

From: Ijaz Ahmed <Ijaz.Ahmed_at_cern.ch>
Date: Sat, 16 Jul 2011 05:46:08 +0000


Dear Aamer,

TFileCollection TFileCollection(const char* name = 0, const char* title = 0, const char* file = 0, Int_t nfiles = -1, Int_t firstfile = 1)

ijaz



From: owner-roottalk_at_root.cern.ch [owner-roottalk_at_root.cern.ch] on behalf of Aamer Wali Rauf [aamer.wali.rauf_at_cern.ch] Sent: 15 July 2011 20:43
To: roottalk_at_root.cern.ch
Subject: [ROOT] problem with proof tutorial

Dear ROOTers,

I was going through PROOF tutorial on Mac OS X (10.6.8). My root version is v5-28-00e

http://root.cern.ch/drupal/sites/default/files/Tutorial-Proof-1d.pdf

which went okay till page 30. The I started running into problems (I had the same problems on lxplus.cern.ch):

problem 1:

root [0] TProof *p = TProof::Open("localhost")   Starting master: opening connection ... Starting master: OK
Opening connections to workers: OK (4 workers) Setting up worker servers: OK (4 workers) PROOF set to parallel mode (4 workers)
root [1] TFileCollection *h1fc = new TFileCollection("",""); root [2] h1fc->Add("http://root.cern.ch/files/h1/dstarmb.root"); Error in <TFileCollection::Add>: directory http://root.cern.ch/files/h1 cannot be opened

problem 2:

I don't seem to have macro CreateFileCollection.C in $ROOTSYS and the subdirectories.

problem 3:

root [0] TProof *p = TProof::Open("localhost") Starting master: opening connection ...
Starting master: OK
Opening connections to workers: OK (4 workers) Setting up worker servers: OK (4 workers) PROOF set to parallel mode (4 workers)
root [1] p->ClearPackages()
(Int_t)0

root [2] p->UploadPackage("event.par")
(Int_t)0

root [3] p->EnablePackage("event")

....
... long error message
....

make: *** [EventDict.o] Error 1
event-SETUP: PROOF client
Error in <TUnixSystem::DynamicPathName>: libEvent[.so | .sl | .dl | .a | .dll] does not exist in
/opt/alice/root/v5-28-00e/lib:/opt/alice/alien/api/lib:/opt/alice/aliroot/v4-21-28-AN/build/lib/tgt_macosx64:/opt/alice/alien/api/lib:/opt/alice/root/v5-28-00e/lib:/opt/alice/aliroot/v4-21-28-AN/build/lib/tgt_macosx64:/opt/alice/geant3/v1-11/lib/tgt_macosx64:.:/opt/alice/root/v5-28-00e/lib::/opt/alice/root/v5-28-00e/cint/cint/stl Error in <TProof::LoadPackageOnClient>: loading package event on client failed
(Int_t)(-1)

problem 4:

Could not find loadPackage.C or LoadPackage.C anywhere in $ROOTSYS

problem 5:

and no ../par/pythia8.par

I think I am badly messed up. Help needed.

Thanks,
Aamer Received on Sat Jul 16 2011 - 07:46:14 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 18 2011 - 11:50:02 CEST