Discussion:
Using TDSet in ProofLite
Manoj Kumar Jha
2014-10-21 21:56:31 UTC
Permalink
Hello,
I generated an input root file from $ROOTSYS/test/Event executable.
I used MakeSelector utility to generate the analysis code so that it can
be run using PROOF. I am using TDSet as input file collection.
Somehow, my code is crashing while reading entries from the input file.

How to reproduce it ?

"""
cp -r /afs/cern.ch/user/j/jha/public/CMS/Proof/Try .

cd Try
[***@hep Try]$ root -b -q Analysis.C
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.34/18 14 March 2014 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************

ROOT 5.34/18 (heads/v5-34-00-***@v5-34-17-156-g60f5d99, Aug 08 2014,
11:38:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Welcome to my rootlogon.C
root [0]
Processing Analysis.C...
+++ Starting PROOF-Lite with 1 workers +++
Opening connections to workers: OK (1 workers)
Setting up worker servers: OK (1 workers)
PROOF set to parallel mode (1 worker)
OBJ: TDSet type TDSet:T T in TTree elements 1
TDSetElement
file="/home/jha2/Work/PROOF/SecondAttempt/ProofTutorial/Try/Event.root"
dir="/" obj="T" first=0 num=-1 msd=""

Info in <TProofLite::SetQueryRunning>: starting query: 1
Info in <TProofQueryResult::SetRunning>: nwrks: 1
Looking up for exact location of files: OK (1 files)
Looking up for exact location of files: OK (1 files)
Info in <TPacketizerAdaptive::TPacketizerAdaptive>: Setting max number
of workers per node to 1
Validating files: OK (1 files)
Info in <TPacketizerAdaptive::InitStats>: fraction of remote files 0.000000
0.0: caught exception triggered by signal '1' while processing
dset:'TDSet:T',
file:'/home/jha2/Work/PROOF/SecondAttempt/ProofTutorial/Try/Event.root'
- check logs for possible stacktrace - last event: 0
Info in <TProofLite::MarkBad>:
+++ Message from master at hep.rcac.purdue.edu : marking
hep.rcac.purdue.edu:-1 (0.0) as bad
+++ Reason: undefined message in TProof::CollectInputFrom(...)

+++ Message from master at hep.rcac.purdue.edu : marking
hep.rcac.purdue.edu:-1 (0.0) as bad
+++ Reason: undefined message in TProof::CollectInputFrom(...)

+++ Most likely your code crashed
+++ Please check the session logs for error messages either using
+++ the 'Show logs' button or executing
+++
+++ root []
TProof::Mgr("hep.rcac.purdue.edu")->GetSessionLogs()->Display("*")


entries: 400 (400)
Error in <TPacketizerAdaptive::SplitPerHost>: Error removing a missing file
Info in <TPacketizerAdaptive::InitStats>: fraction of remote files 0.000000
Lite-0: all output objects have been merged
Begin time = Tue Oct 21 17:52:27 2014
End time = Tue Oct 21 17:52:30 2014

Time elapsed from time_t = 3
Time elapsed from stop watch = 3.35042
Time amount of data read from proof = 0 MB

(int)0
[***@hep Try]$


"""

Could you please look into it ?

Thanks,
Manoj
ganis
2014-10-22 15:25:21 UTC
Permalink
Hi Manoj,

I am not able to reproduce your problem using the AFS installation of ROOT 5.34/18. See attachment.
Is there a way I can try in your exact environment?

Gerri
Manoj Kumar Jha
2014-10-22 17:04:05 UTC
Permalink
Hi Gerri,
Thanks for your help. I am using root from CMS software release.
Please see the attached file for how to reproduce the error. Is it
possible to use root installation in AFS from CVMFS area ?

Regards.
Manoj
Post by ganis
Hi Manoj,
I am not able to reproduce your problem using the AFS installation
of ROOT 5.34/18. See attachment.
Is there a way I can try in your exact environment?
Gerri
Post by Manoj Kumar Jha
Hello,
I generated an input root file from $ROOTSYS/test/Event
executable. I used MakeSelector utility to generate the analysis code
so that it can be run using PROOF. I am using TDSet as input file
collection. Somehow, my code is crashing while reading entries from
the input file.
Post by Manoj Kumar Jha
How to reproduce it ?
"""
cp -r /afs/cern.ch/user/j/jha/public/CMS/Proof/Try .
cd Try
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.34/18 14 March 2014 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
2014, 11:38:00 on linuxx8664gcc)
Post by Manoj Kumar Jha
CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Welcome to my rootlogon.C
root [0]
Processing Analysis.C...
+++ Starting PROOF-Lite with 1 workers +++
Opening connections to workers: OK (1 workers)
Setting up worker servers: OK (1 workers)
PROOF set to parallel mode (1 worker)
OBJ: TDSet type TDSet:T T in TTree elements 1
TDSetElement
file="/home/jha2/Work/PROOF/SecondAttempt/ProofTutorial/Try/Event.root" dir="/"
obj="T" first=0 num=-1 msd=""
Post by Manoj Kumar Jha
Info in <TProofLite::SetQueryRunning>: starting query: 1
Info in <TProofQueryResult::SetRunning>: nwrks: 1
Looking up for exact location of files: OK (1 files)
Looking up for exact location of files: OK (1 files)
Info in <TPacketizerAdaptive::TPacketizerAdaptive>: Setting max
number of workers per node to 1
Post by Manoj Kumar Jha
Validating files: OK (1 files)
Info in <TPacketizerAdaptive::InitStats>: fraction of remote files
0.000000
Post by Manoj Kumar Jha
0.0: caught exception triggered by signal '1' while processing
dset:'TDSet:T',
file:'/home/jha2/Work/PROOF/SecondAttempt/ProofTutorial/Try/Event.root' -
check logs for possible stacktrace - last event: 0
Post by Manoj Kumar Jha
+++ Message from master at hep.rcac.purdue.edu : marking
hep.rcac.purdue.edu:-1 (0.0) as bad
Post by Manoj Kumar Jha
+++ Reason: undefined message in TProof::CollectInputFrom(...)
+++ Message from master at hep.rcac.purdue.edu : marking
hep.rcac.purdue.edu:-1 (0.0) as bad
Post by Manoj Kumar Jha
+++ Reason: undefined message in TProof::CollectInputFrom(...)
+++ Most likely your code crashed
+++ Please check the session logs for error messages either using
+++ the 'Show logs' button or executing
+++
+++ root []
TProof::Mgr("hep.rcac.purdue.edu")->GetSessionLogs()->Display("*")
Post by Manoj Kumar Jha
entries: 400 (400)
Error in <TPacketizerAdaptive::SplitPerHost>: Error removing a
missing file
Post by Manoj Kumar Jha
Info in <TPacketizerAdaptive::InitStats>: fraction of remote files
0.000000
Post by Manoj Kumar Jha
Lite-0: all output objects have been merged
Begin time = Tue Oct 21 17:52:27 2014
End time = Tue Oct 21 17:52:30 2014
Time elapsed from time_t = 3
Time elapsed from stop watch = 3.35042
Time amount of data read from proof = 0 MB
(int)0
"""
Could you please look into it ?
Thanks,
Manoj
--
------------------------------------------------------------------
Manoj Kumar Jha Department of Physics
***@purdue.edu Purdue University
(765) 494-5987 W. Lafayette, IN 47907-2036, USA
-------------------------------------------------------------------
Loading...