GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: problem in running demo/runMC.C
items: Re: problem in running demo/runMC.C

problem in running demo/runMC.C
type: item
description: Hi all, I was trying to run recotasks/demo/runMC.C and runDemo.C for my vertex fitter. It was running during KVI workshop and after that also. But last Friday runDemo.C didn't run anymore but runMC.C was running. Today I tried with the latest version of PANDAROOT (version: 2319), but today even runMC.C didn't run. Could you please let me what is the problem or I have to make some changes somewhere? Best Regards, Dipak ------ I got the following errors: root [1] .x recotasks/demo/runMC.C ============== CbmRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created -I- CbmGeoMedia Read media Loading Geant4 granular libraries ... dlopen error: /misc/cbmsoft/Debian3.1/new/transport/geant4/lib/Linux-g++/libG4detutils .so: undefined symbol: _ZN18G4VPrimitiveScorer8GetIndexEP6G4Step Load Error: Failed to load Dynamic link library /misc/cbmsoft/Debian3.1/new/transport/geant4/lib/Linux-g++/libG4detutils .so (int)(-1) *** Interpreter error recovered *** Error: Symbol TG4RunConfiguration is not defined in current scope /d/panda02/dipak/pandaroot0308/pandaroot/gconfig/g4Config.C:29: Error: Symbol TG4RunConfiguration is not defined in current scope /d/panda02/dipak/pandaroot0308/pandaroot/gconfig/g4Config.C:29: Error: type TG4RunConfiguration not defined FILE:/d/panda02/dipak/pandaroot0308/pandaroot/gconfig/g4Config.C LINE:29 Warning: Automatic variable TG4RunConfiguration* runConfiguration is allocated /d/panda02/dipak/pandaroot0308/pandaroot/gconfig/g4Config.C:29: Error: Undeclared variable TG4RunConfiguration* runConfiguration /d/panda02/dipak/pandaroot0308/pandaroot/gconfig/g4Config.C:29: *** Interpreter error recovered *** *** Break *** segmentation violation Using host libthread_db library "/lib/libthread_db.so.1". Attaching to program: /proc/22283/exe, process 22283 Failed to read a valid object file image from memory. done. done. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 22283)] …
date: 2008-03-17T14:42:14-00:00

Re: problem in running demo/runMC.C
type: item
description: Hallo Dipak, This is because of the changes in Geant4.9.1 which is now in the new external packages! any way at the GSI the new packages are already installed, just set your SIMPATH to /misc/cbmsoft/Debian3.1/mar08/fairsoft/ and run cmake again in a clean (new) build directory ! Mohammad
creator: Mohammad Al-Turany
date: 2008-03-17T14:54:07-00:00

Re: problem in running demo/runMC.C
type: item
description: Hi Mohammad, I changed the SIMPATH as you suggested but still the reciotasks/demo/runMC.C doesn't run for GEANT4 case. But it is running for GEANT3. If I put the option fRun->SetName("TGeant4"); Then I got the following errors: ============== CbmRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created -I- CbmGeoMedia Read media Loading Geant4 granular libraries ... Error in <TUnixSystem::DynamicPathName>: libG4OpenGL[.so | .sl | .dl | .a | .dll] does not exist in .:/misc/cbmsoft/Debian3.1/mar08/fairsoft/tools/root/lib::/misc/cbmsoft/D ebian3.1/mar08/fairsoft/tools/root/lib:/usr/lib:/usr/X11R6/lib:/d/panda0 2/dipak/pndroot0308/build/lib:/usr/lib:/usr/X11R6/lib:/misc/cbmsoft/Debi an3.1/mar08/fairsoft/tools/root/lib:/misc/cbmsoft/Debian3.1/mar08/fairso ft/generators/lib:/misc/cbmsoft/Debian3.1/mar08/fairsoft/generators/lib: /misc/cbmsoft/Debian3.1/mar08/fairsoft/transport/geant3/lib/tgt_linux:/m isc/cbmsoft/Debian3.1/mar08/fairsoft/transport/geant4/lib/Linux-g++:/mis c/cbmsoft/Debian3.1/mar08/fairsoft/transport/geant4_vmc/lib/tgt_linux:/m isc/cbmsoft/Debian3.1/mar08/fairsoft/transport/vgm/lib:/misc/cbmsoft/Deb ian3.1/mar08/fairsoft/cern/clhep/lib Loading VGM libraries ... Loading libraries ... finished Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave --- Building TPC Geometry --- Material silicon is not defined Create Medium silicon Material carbon is not defined Create Medium carbon Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes... Info in <TGeoManager::CheckGeometry>: ...Nothing to fix Info in <TGeoManager::CloseGeometry>: Counting nodes... Info in <TGeoManager::Voxelize>: Voxelizing... Info in <TGeoManager::CloseGeometry>: Building cache... Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100 Info in <TGeoManager::CloseGeometry>: 9410 nodes/ 122 volume UID's in CBM geometry Info in <TGeoManager::CloseGeometry>: ----------------modeler…
date: 2008-03-18T10:13:26-00:00

Re: problem in running demo/runMC.C
type: item
description: Hallo Dipak, just remove the optical list in your g4Config.C and it should work, I just test it on the GSI cluster now! i.e: Quote: TG4RunConfiguration* runConfiguration = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV"); regards Mohammad
creator: Mohammad Al-Turany
date: 2008-03-18T11:34:37-00:00