FairRootGroup / FairSoft

Repository for installation routines of the external software required by FairRoot
GNU Lesser General Public License v3.0
16 stars 61 forks source link

Problems with libgeant4vmc.so in combination with FairRoot and PandaRoot #122

Closed JennyPuetz closed 5 years ago

JennyPuetz commented 5 years ago

Dear developers,

I am running the may18 FairSoft version on my Linux machine (openSUSE Leap 42.3). I tried to do a simulation with PandaRoot (dev) using also FairRoot v18.0.4. My simulation crashes right after starting it with the following error message:

Processing /home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C(10,"./decayFiles/all_mychannel.dec",4.6,"XiRes_newRelease",2704)...
cling::DynamicLibraryManager::loadLibrary(): /home/ikp1/puetz/panda/PandaSoftware/FairSoft/may18/build/lib/libgeant4vmc.so: undefined symbol: _ZN4ROOT14DefineBehaviorEPvS0_
Error in <TInterpreter::TCling::AutoLoad>: failure loading library Master.so for PndMasterRunSim
In file included from input_line_10:1:
/home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C:34:3: error: unknown type name 'PndMasterRunSim'
  PndMasterRunSim *fRun = new PndMasterRunSim();
  ^
/home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C:34:31: error: unknown type name 'PndMasterRunSim'
  PndMasterRunSim *fRun = new PndMasterRunSim();

The installation of FairSoft went smooth without any error. I re-did the full installation chain to make sure, that everything is set properly. But the error is still there.

I would be glad, if someone of you could help me.

Best regards, Jenny Puetz

MohammadAlTurany commented 5 years ago

Dear Jenny, Could you check which version of ROOT you have in FairSoft? best, Mohammad

JennyPuetz commented 5 years ago

Dear Mohammad,

the ROOT version in FairSoft is ROOT 6.12/06 .

Best wishes, Jenny

MohammadAlTurany commented 5 years ago

Thanks! I just wanted to be sure that you used the FairSoft release and not the dev of the last week.

Just to be sure that the problem in FairSoft or FairRoot could you try to run the FairRoot tests? in FairRoot build directory please run "make test" you can also send the results to our Dashboard by running the dart.sh in your FairRoot source directory.

best, Mohammad

JennyPuetz commented 5 years ago

Dear Mohammad,

the results should be uploaded to the Dashboard.

Cheers, Jenny

MohammadAlTurany commented 5 years ago

As I can see from the cdash all tests crashes with the same error, such error usually shows up if you compile root and FairRoot with different compilers so I am not sure if this is the case here and if the same compiler was used for both FairSoft and FairRoot. Another reason would be if you switch between release and dev and have partial builds of ROOT from different versions.

My suggestion for now (as I could not reproduce this error here) is to call the "make_clean.sh" script in FairSoft for ROOT:

./make_clean.sh root true

Then manually remove the directory "FairSoft/tools/root" and then run the configure script again. after successful build remove the build directory of FairRoot and rebuild it again.

MohammadAlTurany commented 5 years ago

Is this problem still there? could you please give some feedback?

JennyPuetz commented 5 years ago

Dear Mohammad,

yes, the problem is still there. I don't see what is causing the problem, since it seems to show up only on my working station.

Best regards, Jenny


Von: Mohammad Al-Turany [notifications@github.com] Gesendet: Dienstag, 22. Januar 2019 14:21 An: FairRootGroup/FairSoft Cc: Pütz, Jennifer; Author Betreff: Re: [FairRootGroup/FairSoft] Problems with libgeant4vmc.so in combination with FairRoot and PandaRoot (#122)

Is this problem still there? could you please give some feedback?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FairRootGroup/FairSoft/issues/122#issuecomment-456396736, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhcQSJYI92farIVj4uja6AbDfcQqn5_Tks5vFxA9gaJpZM4ZYDaq.



Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt


spflueger commented 5 years ago

Hi, I just stumbled across this. I'm not sure if this problem still exists. In case it does, you can get such errors if you install fairsoft and have another version of ROOT already installed and active. So make sure when you install fairsoft that no other active ROOT installation is in your environment.