Re: FLUGG crash

From: paola sala <paola.sala_at_cern.ch>
Date: Mon, 27 Feb 2012 18:42:07 +0100

Hi Ercan
the problem is in one of the G4 classes, the G4Pow, that causes an
overflow by calculationg a huge factorial.

The error has been corrected in Geant4 9.5 : from the release notes :

"Added protection in G4Pow::powN() method for high exponent values.
Reduced vector for factorial from 512 to 170 (result should be below
"DBL_MAX). Fixed computation of log(factorial)"

Solutions:
- wait a few days so that I check that flugg works with Geant4 9.5
- downgrade to Geant4 9.4.p03 where G4Pow was not used
- comment out one line in
   FLUGG/source/global/management/src/G4Pow.cc :
   it is enough to comment the line
        f *= x;

Ciao
Paola

On Sat, 2012-02-18 at 10:13 +0200, Ercan Pilicer wrote:
> dear all
>
> i want to run FLUGG (flugg_2009_4.tar.gz), but the program crashes
> when i run alaual.inp example.
>
> i attach the followings in a compressed file (files.tar.gz):
> - configure.sh
> - Install.log
> - make.log
> - geant4_commpile.log
> - fluka_cash.log
> - ranalaual001
>
> my system is
>
> /> uname -a
> Linux shqiptare-laptop 2.6.38-13-generic #55-Ubuntu SMP Tue Jan 24
> 14:27:59 UTC 2012 i686 i686 i386 GNU/Linux
>
> /> cat /proc/version
> Linux version 2.6.38-13-generic (buildd_at_palmer) (gcc version 4.5.2
> (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #55-Ubuntu SMP Tue Jan 24 14:27:59
> UTC 2012
>
> /> gcc --version
> gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> any help would be appreciated.
> e.
>
>
>
>
> =====================================
> Ercan Pilicer
> Uludag University
> High Energy Physics Department
> 16059 Bursa, TURKEY
> =====================================
Received on Tue Feb 28 2012 - 09:14:07 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 28 2012 - 09:14:08 CET