GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] error in running runLumiSim.C
[FIXED] error in running runLumiSim.C [message #10675] Mon, 17 May 2010 08:22 Go to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.19.static-mumbai.vsnl.net.in
Hello all ,

I installed pandaroot trunk in my system, after running pandaroot/macro/lumi/runLumiSim.C I faced following error

..............................
dlopen error: /home/manoj/panda/pandaroot/buildPanda/lib/libPid.so: undefined symbol: _ZN20PndVtxFitterParticleD1Ev
Load Error: Failed to load Dynamic link library /home/manoj/panda/pandaroot/buildPanda/lib/libPid.so
..............................

please give me any idea to fix this error.


with regards,


Manoj Jadhav
I.I.T.Bombay
Mumbai

[Updated on: Wed, 19 May 2010 09:25] by Moderator

Report message to a moderator

Re: error in running runLumiSim.C [message #10679 is a reply to message #10675] Tue, 18 May 2010 08:59 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
I have tried but I could not get your error (apart the error connected to the private folder).
Are you sure you are using the original code in svn? Maybe you have an old rootlogon.C-
Re: error in running runLumiSim.C [message #10680 is a reply to message #10679] Tue, 18 May 2010 09:10 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: 203.78.217*
Hi,

Yes , I checked out that probability also by updating pandaroot but it still giving same error.


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: error in running runLumiSim.C [message #10682 is a reply to message #10680] Tue, 18 May 2010 09:19 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
What happens if you type "root" in the same folder, without running the runSimLumi.C?
Re: error in running runLumiSim.C [message #10683 is a reply to message #10682] Tue, 18 May 2010 09:32 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: 203.78.217*
Hi,
It run fine,entered in root


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: error in running runLumiSim.C [message #10693 is a reply to message #10683] Tue, 18 May 2010 18:01 Go to previous messageGo to next message
David Pohl is currently offline  David Pohl
Messages: 18
Registered: October 2009
Location: FZ Juelich
occasional visitor

From: *ext.kfa-juelich.de
This is at the moment a general issue due to the fact that the PndVtxFitterParticle class is not included and linked correctly. I have already posted a ticket about this last wednesday.

Solution to the problem:

add following lines at l.78 resp. l.102:
${CMAKE_SOURCE_DIR}/PndTools/AnalysisTools/Fitter/PndVtxFitterParticle.c xx

and
${CMAKE_SOURCE_DIR}/PndTools/AnalysisTools/Fitter/PndVtxFitterParticle.h

in pid/CMakeLists.txt

and also
#pragma link C++ class PndVtxFitterParticle+;

in pid/PidLinkDef.h

I hope I was able to help, greetings
David

p.s.: if you do not need the libpid a faster work around is to erase the line with libPid in gconfig/rootlogon

Re: error in running runLumiSim.C [message #10694 is a reply to message #10693] Tue, 18 May 2010 18:08 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Can I know why PndVtxFitterParticle should be included inside pid package?
Re: error in running runLumiSim.C [message #10695 is a reply to message #10694] Tue, 18 May 2010 18:14 Go to previous messageGo to next message
David Pohl is currently offline  David Pohl
Messages: 18
Registered: October 2009
Location: FZ Juelich
occasional visitor

From: *ikp.kfa-juelich.de
It is not my code and so I do not know why. But I can say that the class:

pid/PndPidTrackInfo.cxx

uses it.

best regards
david
Re: error in running runLumiSim.C [message #10696 is a reply to message #10695] Tue, 18 May 2010 18:17 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
I have checked the code but there is no PndVtxFitterParticle inside... are you sure you are using the svn code and not including some private modification?
Re: error in running runLumiSim.C [message #10697 is a reply to message #10696] Tue, 18 May 2010 18:48 Go to previous messageGo to next message
David Pohl is currently offline  David Pohl
Messages: 18
Registered: October 2009
Location: FZ Juelich
occasional visitor

From: *ikp.kfa-juelich.de
Yes I am sure:

https://subversion.gsi.de/trac/fairroot/browser/pandaroot/trunk/pid/PidC orr/PndPidTrackInfo.cxx line 22 Very Happy

checked in 6 days ago.

[Updated on: Tue, 18 May 2010 18:49]

Report message to a moderator

Re: error in running runLumiSim.C [message #10698 is a reply to message #10697] Tue, 18 May 2010 20:15 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *9-87-r.retail.telecomitalia.it
I was not informed that my code was changed without notice...

However, try to edit your gconfig/rootlogon.C and invert the two lines:

if(isLibrary("libPid"))gSystem->Load("libPid");
if(isLibrary("libAnalysisTools"))gSystem->Load("libAnalysisTools");


in

if(isLibrary("libAnalysisTools"))gSystem->Load("libAnalysisTools");
if(isLibrary("libPid"))gSystem->Load("libPid");


and tell me if it works. If it does, tomorrow I will commit the change in the code...
Re: error in running runLumiSim.C [message #10699 is a reply to message #10698] Wed, 19 May 2010 08:05 Go to previous messageGo to next message
manoj.jadhav is currently offline  manoj.jadhav
Messages: 41
Registered: February 2010
Location: Mumbai, India
continuous participant
From: *162.23.19.static-mumbai.vsnl.net.in
Hello Stefano,
I checked the macro runLumiSim.C by inverting the order of libpid & libAnalysisTools in rootlogon.C & it is working now. Thanks for the help.

With Regards,


Manoj Jadhav
I.I.T.Bombay
Mumbai
Re: error in running runLumiSim.C [message #10700 is a reply to message #10699] Wed, 19 May 2010 09:23 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Now it is fixed in svn.
Could you please add " [FIXED] " to the title of your first message? Many thanks
Previous Topic: Next release pandaroot
Next Topic: Mvd code update
Goto Forum:
  


Current Time: Thu Apr 18 03:53:16 CEST 2024

Total time taken to generate the page: 0.01181 seconds