GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems running Geant under Debian Etch
Problems running Geant under Debian Etch [message #5635] Wed, 16 January 2008 10:43 Go to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi!

I am trying to install PandaROOT under Debian Etch. Everything seems to work "mothership" installation tells no errors. ROOT is running most scripts run. But as soon as I try to use Geant I get problems. For example running the genift demo (which uses GEANE):

Loading Geant3 libraries ...
Loading Geant3 libraries ... finished
Error: Symbol TGeant3TGeo is not defined in current scope  /afs/e18/user/sneubert/scratch/PANDA/FAIRRoot/pandarootDev/gconfig/Geane.C:7:
Error: type TGeant3TGeo not defined FILE:/afs/e18/user/sneubert/scratch/PANDA/FAIRRoot/pandarootDev/gconfig/Geane.C LINE:7
Warning: Automatic variable gMC3 is allocated /afs/e18/user/sneubert/scratch/PANDA/FAIRRoot/pandarootDev/gconfig/Geane.C:7:
Error: Undeclared variable gMC3 /afs/e18/user/sneubert/scratch/PANDA/FAIRRoot/pandarootDev/gconfig/Geane.C:7:
*** Interpreter error recovered ***

 *** Break *** segmentation violation


The same script runs under Debian Sarge.

Any experiences?
Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Re: Problems running Geant under Debian Etch [message #5636 is a reply to message #5635] Wed, 16 January 2008 10:51 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

Can you check if your LD_LIBRARY_PATH has the right place where libgeant321.so is located! your Etch system, is it a 64 bit system? if yes, could you check that in geant3 directory a lib/tgt_linux exist or at least as a symbolic link to the lib/tgt_linux64.

regards

Mohammad
Re: Problems running Geant under Debian Etch [message #5637 is a reply to message #5636] Wed, 16 January 2008 10:58 Go to previous messageGo to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
sneubert@dimbula:~/scratch/PANDA/FAIRRoot$ echo $LD_LIBRARY_PATH
/usr/lib:/usr/X11R6/lib:/afs/e18/user/sneubert/scratch/PANDA/FAIRRoot/cbuildDevNew/lib
:/afs/e18/panda/SIM/FAIRRoot/cbmsoft_etch/cbmsoft/tools/root/lib:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/generators/lib:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/generators/lib:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/geant3/lib/tgt_linux:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/geant4/lib/Linux-g++:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/geant4_vmc/lib/tgt_linux:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/vgm/lib/Linux-g++:
/afs/e18/panda/SIM/FAIRRoot/cbmsoft/cern/clhep/lib

sneubert@dimbula:~/scratch/PANDA/FAIRRoot$ ls  /afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/geant3/lib/tgt_linux
libgeant321.so



Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592

[Updated on: Wed, 16 January 2008 11:05]

Report message to a moderator

Re: Problems running Geant under Debian Etch [message #5638 is a reply to message #5637] Wed, 16 January 2008 11:01 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Quote:

afs/e18/panda/SIM/FAIRRoot/cbmsoft/transport/geant3/lib/tgt_linux



is fine, does it also exist?
Re: Problems running Geant under Debian Etch [message #5639 is a reply to message #5638] Wed, 16 January 2008 11:05 Go to previous messageGo to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
yes. see modification above.

Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Re: Problems running Geant under Debian Etch [message #6289 is a reply to message #5639] Tue, 08 April 2008 10:07 Go to previous message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi!

The problem here was, that /usr/lib was at the beginning of my LD_LIBRARY_PATH and under etch we have a libgeant321 there. So this Version of the library was taken which had been built without VMC.

Florian, could you arrange, that the /usr/lib entry is moved to the end of the list?

Cheers! Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Previous Topic: Program received signal SIGFPE, Arithmetic exception
Next Topic: TPC parameters from the tpc directory
Goto Forum:
  


Current Time: Thu Jul 07 09:56:22 CEST 2022

Total time taken to generate the page: 0.01045 seconds