Message: Re: "Segmentation fault" on medical linac example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: "Segmentation fault" on medical linac example 

Forum: Documentation and Examples
Re: Question "Segmentation fault" on Medical_Linac Advanced Example (Antonio De Simone)
Re: None Re: (G.A.P.Cirrone)
Date: 03 Jun, 2009
From: Antonio De Simone <Antonio De Simone>

My setup is the following: intel Core 2 Duo E7400, RAM 4Gb, S.O. SL 5.3 64bit with Geant4.9.1p3 and CLHEP 2.0.4.2.
My compiler is gcc/g++ and the version is 4.1.2 for both.
Everything is compiled without problem but when i execute the following macro:

/Phantom/dimension 15. cm
/Phantom/Nvoxels 150
/Phantom/maxStep 0.2 mm

/run/initialize
/run/verbose 2
/tracking/storeTrajectory 1

/PhantomSD/dimension 15. cm
/PhantomSD/Nvoxels 150

/Jaws/X1/DistanceFromAxis -5.0 cm
/Jaws/X2/DistanceFromAxis 5.0 cm
/Jaws/Y1/DistanceFromAxis -5.0 cm
/Jaws/Y2/DistanceFromAxis 5.0 cm
/Jaws/update

/energy 6.2 MeV
/sourceType 0.186 MeV
/run/beamOn 10

the output is always: Segmentation fault!
I think that the problem should be from /Jaws/update -- /run/beamOn.
Anyone have experienced the same?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re:   (Eleni - 31 Jan, 2011)
 Add Message Add Message
to: "Re: "Segmentation fault" on medical linac example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]