GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Problem with G4.9.1 compatibility fix
items: Re: Problem with G4.9.1 compatibility fix

Problem with G4.9.1 compatibility fix
type: item
description: Hi, I suppose this goes to Mohammed. When I checked out rev. 2104 I was not able to run the G4 simulation any more. When reverting these changes it worked again. Here the error output: Toggle Spoiler ============== CbmRunSim: Initialising simulation run ============== Info in <TGeoManager::TGeoManager>: Geometry CBMGeom, CBM geometry created -I- CbmGeoMedia Read media Loading Geant4 granular libraries ... dlopen error: /data_hilbert/Software/fairroot/cbmsoft/transport/geant4/lib/Linux-g++/l ibG4detutils.so: undefined symbol: _ZN18G4VPrimitiveScorer8GetIndexEP6G4Step Load Error: Failed to load Dynamic link library /data_hilbert/Software/fairroot/cbmsoft/transport/geant4/lib/Linux-g++/l ibG4detutils.so (int)(-1) *** Interpreter error recovered *** Error: Symbol TG4RunConfiguration is not defined in current scope /home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C:29: Error: Symbol TG4RunConfiguration is not defined in current scope /home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C:29: Error: type TG4RunConfiguration not defined FILE:/home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C LINE:29 Warning: Automatic variable TG4RunConfiguration* runConfiguration is allocated /home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C:29: Error: Undeclared variable TG4RunConfiguration* runConfiguration /home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C:29: *** Interpreter error recovered *** Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1226106080 (LWP 30897)] 0xb30379a9 in CbmMCApplication::InitMC (this=0x850caa0, setup=0x855f898 "/home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C") at /home/ralfk/Pandaroot/pandaroot/base/CbmMCApplication.cxx:165 165 fStack = (CbmGenericStack*) gMC->GetStack(); And the gdb backtrace gives: Toggle Spoiler (gdb) bt #0 0xb30379a9 in CbmMCApplication::InitMC (this=0x850caa0, setup=0x855f898 "/home/ralfk/Pandaroot/pandaroot/gconfig/g4Config.C") at /home/ralfk/Pandaroot/pandaroot/base/CbmMCApplication.cxx:165 #1 0xb3049572 in C…
creator: Ralf Kliemt
date: 2008-01-30T13:24:29-00:00

Re: Problem with G4.9.1 compatibility fix
type: item
description: Hi Ralf, Yes it is my mistake! in Geant4.9.1 they move some functions from the libdetector to libG4detutils, So it seems that the if-statment I put before this library does not work, so I have to look inside this again. Any way I comment this line out for now, so it should work again with Geant4.9.0 Mohammad
creator: Mohammad Al-Turany
date: 2008-01-30T14:03:58-00:00