GSI Helmholtzzentrum für Schwerionenforschung
Program received signal SIGFPE, Arithmetic exception
Hi I have a problem with macros: macro/run/run_sim.C and and identical with run_sim1.C I am using: 1. /misc/cbmsoft/Debian3.1/fairsoft 2. pandaroot rev. 2351 3. lxi003.gsi.de In both macros if I change geant version from geant3 to geant4 I will get identical errors. After run in gdb debugger I got: ----------------------------------------------- -I CbmPrimaryGenerator: 10 primary tracks from vertex (0, 0, 0) >>> Event 0 tof volume 14 2212 Hit in fullname /cave_0/tofB01_0/tof02_0/tof07_0/ Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 16384 (LWP 8631)] 0x473d461c in G4VProcess::AtRestGPIL (this=0xcf5c588, track=@0xe1588e0, condition=0xb225c40) at G4VProcess.hh:434 434 return thePILfactor*value; Current language: auto; currently c++ ------------------------------------------- Any idea what can be wrong? Cheers Arek
Re: Program received signal SIGFPE, Arithmetic exception
Hi Arek, I tried macro/run/run_sim.C macro and it is working for me with the same pandaroot rev. 2351 version which you have tried. I think you should set the SIMPATH as: export SIMPATH=/misc/cbmsoft/Debian3.1/mar08/fairsoft/ then recompile and run. Best regards, Dipak
Hi Dipak, With SIMPATH=/misc/cbmsoft/Debian3.1/mar08/fairsoft clean pandaroot revision 2351, I still have the same problem. I download fairsoft.tar.gz from web page and compiled on openSuse10.2. And I'm facing also the same problem.
Dear all, I can confirm Arek's message. For the new fairsoft package with Pandaroot rev.2360, I get the following on a Debian etch machine, 32 bit (vmware, gcc 4.1.2, run_sim1.C with TGeant4): ------------------------------------------------------ Index : 23 used in the geometry : Yes recalculation needed : No Material : DCHmixture Range cuts : gamma 1 mm e- 1 mm e+ 1 mm Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV Region(s) which use this couple : DefaultRegionForTheWorld ==================================================================== ### Run 0 start. >>>>>>>>>>>>>>>>>>>>new event -I CbmPrimaryGenerator: 10 primary tracks from vertex (0, 0, 0) >>> Event 0 tof volume 14 2212 Hit in fullname /cave_0/tofB01_0/tof02_0/tof07_0/ *** Break *** floating point exception Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". Attaching to program: /proc/9002/exe, process 9002 [Thread debugging using libthread_db enabled] [New Thread -1223895360 (LWP 9002)] Failed to read a valid object file image from memory. 0xb7f1d410 in ?? () #1 0x00000001 in ?? () #2 0x00000000 in ?? () Root > --------------------------------------------------- It works however on a 64 bit configuration (same machine, same gcc compiler). Furthermore, 64-bit MAC OS X 10.5 also works fine.... So, it looks to me like a problem related to 32-bit machines?!? Johan.
Dear Arek , have you tried to remove the optical physics option from gconfig/G4Config.C you should have only "QGSP_BERT_EMV option TG4RunConfiguration* runConfiguration = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV"); instead of = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV+optical"); let me know if it works. cheers ALicia.