Problem 731 - Geant4 crashes durring simulation using QRNG
Summary: Geant4 crashes durring simulation using QRNG
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: track (show other problems)
Version: 7.0
Hardware: PC Linux
: P2 normal
Assignee: kurasige
URL:
Depends on:
Blocks:
 
Reported: 2005-03-22 03:13 CET by romain.reuillon
Modified: 2005-07-28 08:57 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description romain.reuillon 2005-03-22 03:13:41 CET
I have modified Geant4 to use a quasi random number generator instead of the
classical James Random pseudo random generator. This quasi random number
generator generates numbers between 0 and 1, like the classical generator. When
I am launching a particular GATE simualtion the following exceptions are thrown
after a bit of a while.

  G4ParticleChange::CheckIt    : the global time goes back  !!
  Difference:  8501.7019[ns]
 G4ParticleChange::CheckIt
      -----------------------------------------------
        G4ParticleChange Information
      -----------------------------------------------
        # of 2ndaries       :                    0
      -----------------------------------------------
        Energy Deposit (MeV):                    0
        Track Status        :                Alive
        True Path Length (mm) :            -2.55e+06
        Stepping Control     :                    0

        Mass (GeV)   :                    0
        Charge (eplus)   :                    0
        Position - x (mm)   :             4.01e+05
        Position - y (mm)   :            -4.43e+05
        Position - z (mm)   :             2.48e+06
        Time (ns)           :             1.88e+08
        Proper Time (ns)    :                    0
        Momentum Direct - x :               -0.157
        Momentum Direct - y :                0.174
        Momentum Direct - z :               -0.972
        Kinetic Energy (MeV):                 0.14
        Polarization - x    :                    0
        Polarization - y    :                    0
        Polarization - z    :                    0
        Track Weight      :                    0
        Touchable (pointer) :            0x17f7930

*** G4Exception : 200
      issued by : G4ParticleChange::CheckIt
momentum, energy, and/or time was illegal
*** Event Must Be Aborted
  G4VParticleChange::CheckIt    : the true step length is negative  !!
  Difference:  2.55e+06[MeV]
 G4VParticleChange::CheckIt
      -----------------------------------------------
        G4ParticleChange Information
      -----------------------------------------------
        # of 2ndaries       :                    0
      -----------------------------------------------
        Energy Deposit (MeV):                    0
        Track Status        :  KillTrackAndSecondaries
        True Path Length (mm) :            -2.55e+06
        Stepping Control     :                    0

        Mass (GeV)   :                    0
        Charge (eplus)   :                    0
        Position - x (mm)   :             4.01e+05
        Position - y (mm)   :            -4.43e+05
        Position - z (mm)   :             2.48e+06
        Time (ns)           :             1.88e+08
        Proper Time (ns)    :                    0
        Momentum Direct - x :                0.157
        Momentum Direct - y :               -0.174
        Momentum Direct - z :                0.972
        Kinetic Energy (MeV):                 0.14
        Polarization - x    :                    0
        Polarization - y    :                    0
        Polarization - z    :                    0
        Track Weight      :                    1

*** G4Exception : 100
      issued by : G4VParticleChange::CheckIt
step length and/or energy deposit was  illegal
*** Event Must Be Aborted
Comment 1 romain.reuillon 2005-03-22 07:34:59 CET
The QRNG has been added to CLHEP. The QRNG algorithm used is Sobol and is
implemented in the GSL (GNU scientific librairy)
Comment 2 kurasige 2005-03-22 17:22:59 CET
The exception indicates that some process propose "negative" step length.
The problem may be caused by a bug in the proces or modification in random
number genereation. But, no further information can be obtained by this report
and I can not investigate this problem.
Comment 3 John Apostolakis 2005-06-21 10:15:59 CEST
Could you please provide more information about the problem, to enable us to
reproduce it ?

Best regards,
JOhn Apostolakis
Comment 4 Gabriele Cosmo 2005-07-28 08:57:59 CEST
No more info about this. Ticket being closed.