Few questions about PROOF

From: Antonio Bulgheroni <antonio.bulgheroni_at_gmail.com>
Date: Thu, 4 Jan 2007 15:58:00 +0100


Dear ROOTers,

      first of all let me wish you all the best for the new year!

      I'm writing you because I'm trying to better understand the way PROOF works since it seems to fit all my requirements for parallel event analysis. I'm collaborating in a pretty big standalone ROOT-based code with some tens of classes for data analysis of pixel detectors (sucimaPix<http://groups-beta.google.com/group/sucimaPix-dev>). Even if it is in principle possible to load sucimaPix shared libraries into a ROOT interactive session and run the analysis job from the command line, we prefer to build some executables running in standalone mode. I'm using ROOT 5-15/01 on a linuxx8664 box with gcc 4.1.1. Here come my questions:

MyTree->Process(MySelector);

In the case I want to run it on PROOF, I added at the beginning a line like this:

TProof::Open("localhost");

(the PROOF server is properly set-up and the two processors of my PC are found)

But, first of all, I wasn't able to compile/link my code using the standard `root-config --cflags --libs` command because it was complaining that the library containing Proof was missing.
Using the trial and error approach, I managed to have it working adding the following libs

-lProof -lThread -lTreePlayer

Is that correct? is there a smarter way? Is it possible to use PROOF from outside an interactive ROOT session? Is it enough to add the TProof::Open() statement to have the Process() worked out by the cluster? or should I do something more?

Thank you very much for your precious help!

Best regards,

-- 
Antonio Bulgheroni, PhD
INFN - Sez. Roma III
Received on Thu Jan 04 2007 - 15:58:23 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 04 2007 - 17:50:01 CET