RootTalk


ROOT Discussion Forums

CheckDuplicateName issue when running with PoD (lite is OK)

Discuss PROOF, the Parallel ROOT Facility, here.

Moderator: rootdev

CheckDuplicateName issue when running with PoD (lite is OK)

Postby tmf » Tue Jan 20, 2015 17:01

Dear Experts,

I'm running with head version of RooUnfold (rev 349), while the stable version does not provide Merge functions (so its not usable in proof). In my proof analyzer (written in python) I fill out RooUnfoldResponse objects. Everything seems to run fine, when I do this using proof-Lite. When I switch to a proof session created with ProofOnDemand on a local cluster, calculation ends with following error messages:

Code: Select all
Error in <TSelectorList::CheckDuplicateName>: an object with the same name: response_jecDown_jet15 is already in the list

After this printout my output file gets saved, contains objects with names I was using for response objects (e.g. response_jecDown_jet15) but being of TNamed type (and not RooUnfoldResponse as expected). For objects of different then RooUnfoldResponse type (e.g. root histos) I dont get any complains.

Any idea what's happening/how can I debug this? The root version I'm using is 5.34.10-cms (obviously taken from CMS software :) )

Cheers,
Tomasz
tmf
 
Posts: 7
Joined: Mon Aug 01, 2011 15:06

Re: CheckDuplicateName issue when running with PoD (lite is

Postby ganis » Tue Jan 20, 2015 17:54

Hi,

Is there any unusual message in the worker logs?
The fact that you find objects with the same name but of different Type (TNamed, parent class of RooUnfoldResponse) makes me think that the library defining RooUnfoldResponse does not get loaded on the workers?

G. Ganis
ganis
 
Posts: 831
Joined: Tue Sep 02, 2003 10:18
Location: CERN

Re: CheckDuplicateName issue when running with PoD (lite is

Postby tmf » Wed Jan 21, 2015 9:49

Hi,

thanks for a prompt reply. In logs I don't see anything suspicious. I have added also a type check for the problematic objects inside the worker code, its ROOT.RooUnfoldResponse (so the library seems to get correctly loaded on the slaves). In the Terminate method (after checkDuplicateName messages) those objects are visible as TNamed. Any other ideas?

Thanks,
Tomasz
tmf
 
Posts: 7
Joined: Mon Aug 01, 2011 15:06

Re: CheckDuplicateName issue when running with PoD (lite is

Postby ganis » Wed Jan 21, 2015 10:45

Hi,

Terminate is run locally. How do you load/make available the libraries to the workers? Is this a PAR file or are you loading explicitly by-hand?

G
ganis
 
Posts: 831
Joined: Tue Sep 02, 2003 10:18
Location: CERN

Re: CheckDuplicateName issue when running with PoD (lite is

Postby tmf » Wed Jan 21, 2015 11:00

This is done by hand - ROOT.gSystem.Load("libRooUnfold.so") just after the "import ROOT" statement.

Edit: I have tried also to add
Code: Select all
            proof.Exec("gSystem->Load(\"libRooUnfold.so\")")

(just after connecting to proof), but it doesnt help.

Thanks,
Tomasz
tmf
 
Posts: 7
Joined: Mon Aug 01, 2011 15:06


Return to PROOF Support

Who is online

Users browsing this forum: No registered users and 1 guest