| 
		
			| Program received signal SIGFPE, Arithmetic exception [message #6125] | Thu, 20 March 2008 10:39  |  
			| 
				
				
					|  Arkadiusz Bubak Messages: 5
 Registered: September 2004
 Location: Groningen
 | occasional visitor |  From: *KVI.nl
 
 |  |  
	| 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
 [Updated on: Thu, 20 March 2008 10:40] Report message to a moderator |  
	|  |  | 
	| 
		
			| Re: Program received signal SIGFPE, Arithmetic exception [message #6126 is a reply to message #6125] | Thu, 20 March 2008 10:49   |  
			| 
				
				
					| Anonymous Poster |  | From: *gsi.de 
 |  |  
	| 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
 |  
	|  |  | 
	|  | 
	| 
		
			| Re: Program received signal SIGFPE, Arithmetic exception [message #6137 is a reply to message #6125] | Fri, 21 March 2008 00:03   |  
			| 
				
				
					|  Johan Messchendorp Messages: 693
 Registered: April 2007
 Location: University of Groningen
 | first-grade participant |  From: *xs4all.nl
 
 |  |  
	| 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.
 
 
 
 Johan Messchendorp
 University of Groningen/KVI
 Zernikelaan 25
 NL-9747 AA Groningen
 The Netherlands
 tel. +31-503633558
 fax +31-503634003
 [Updated on: Fri, 21 March 2008 00:13] Report message to a moderator |  
	|  |  | 
	| 
		
			| Re: Program received signal SIGFPE, Arithmetic exception [message #6207 is a reply to message #6137] | Thu, 03 April 2008 12:31  |  
			| 
				
				
					|  asanchez Messages: 350
 Registered: March 2006
 | first-grade participant | From: *gsi.de 
 |  |  
	| 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.
 |  
	|  |  |