I am not able to run PROOF

Hi all,

I am currently doing some analysis in ROOT v.6.08.02 and I am not able to run PROOF properly. I get the following problem: (please see attached files)

Also I tried running Ganis’s tutorials “https://root.cern.ch/doc/master/runProof_8C.html” using the “event” selector I get this error, i dont know if both are related or what:

root [3] runProof(“event”)
runProof: creating the temporary directory for the tutorial (/tmp/perez/.proof-tutorial) …
tutorial dir: /tmp/perez/.proof-tutorial
getProof: working area (tutorial dir): /tmp/perez/.proof-tutorial
SysError in TUnixSystem::UnixTcpConnect: connect (localhost:40000) (Connection refused)
getProof: xproofd not found: please check the environment!
runProof: could not start/attach a PROOF session

I have tried a lot of things and also no one in my lab knows how to help me as they do not use PROOF :confused: so I am kind of stuck…

Thank you in advance,

Ricardo
crash.txt (6.55 KB)
FillHistoPbgamma.C (24.8 KB)
FillHistoPbgamma.h (61.3 KB)
RunFillHistoPbgamma.C (1.58 KB)

Dear Ricardo,

By default runProof tries to start an xproofd daemon, which is what is needed to run proof across machines.
To run locally on your machine you do not need that. Please try with

root [3] runProof("event", "lite://")

and let me know.

G Ganis

I get these messages:

root [2] runProof(“event”,“lite://”)
tutorial dir: /tmp/perez/.proof-tutorial
getProof: trying to open a PROOF-Lite session with workers
+++ Starting PROOF-Lite with 8 workers +++
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
sh: /tmp/perez/.proof-tutorial/data128-ricardo-PROOF: No such file or directory
Error in TSlaveLite::Init: an error occured while executing 'proofserv’
Opening connections to workers: OK (8 workers)
PROOF set to sequential mode
runProof: event: ACLiC mode: '+'
Collection name=‘TList’, class=‘TList’, size=2
Collection name=‘FeedbackList’, class=‘TList’, size=0
TParameter PROOF_UseParallelUnzip = 0
runProof: event: par file not found (tried /usr/local/root/6.08.02/tutorials/proof/event.par)

Dear Ricardo,

I see that you have a central installation under /usr/local .
For the running the tutorials, the $ROOTSYS/test and $ROOTSYS/tutorials have to be writable.
Usualy it is advised to copy them somewhere else. e.g. your $HOME or your $TMPDIR and run from there.

Also, can you say a bit more about your ROOT installation? Did you install it yourself?
Also on which platform are your running?

Does the directory

exist?
If not, does

exists? Does it contain anything?

G Ganis

Dear Gerardo,

Thank you for the answer. Now I see what you mean. Indeed ROOT is not installed locally (in my computer), it is installed by the IT team and we load it by using, for instance, the command: “module load root/6.08.02”. I have changed the path to where I have saved the “ProofEvent.C and .h” and I am still missing the “event.par”, which I don’t find in the Web neither:

root [1] runProof(“event”,“lite://”)
tutorial dir: /tmp/perez/.proof-tutorial
getProof: trying to open a PROOF-Lite session with workers
+++ Starting PROOF-Lite with 8 workers +++
Opening connections to workers: OK (8 workers)
Setting up worker servers: OK (8 workers)
PROOF set to parallel mode (8 workers)
runProof: event: ACLiC mode: '+'
Collection name=‘TList’, class=‘TList’, size=2
Collection name=‘FeedbackList’, class=‘TList’, size=0
TParameter PROOF_UseParallelUnzip = 0
runProof: event: par file not found (tried /data128/ricardo/PROOF/proof/event.par)

Anyway this is the tutorial, which is a code way too complicated for my ROOT knowledge… Could you give me a hint on why my own programmes crash? Without launching PROOF they ran perfectly well.

Thank you in advance,

Ricardo

I have already solved it myself.

Dear Ricardo,

Sorry for not being able to process your request earlier.
I guess the problem was that the cuts were defined on the workers, right?
Or was it something else?

Two additional comments:

  • to slim your selector you may be interested in considering TTreeReader to access the branches and leaves.
    See examples under tutorials/tree (e.g. h1analysisTreeReader). Also, TTree::MakeSelector creates by default a TTreeReader based selector.
  • If you have a large number of histograms, or in general a large output, it may be better to merge via file.
    See root.cern.ch/handling-outputs#clientside .

G Ganis

Dear Gerardo,

Thank you for the answer in any case. I will have to consider that yes, because when I need to save around 50+ histograms my computer starts lagging. I think I was overloading the memory and it must be for what you say.

Happy holidays,

Ricardo