Re: Flugg with Geant4 9.5

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Thu, 8 Mar 2012 08:13:12 +0100 (CET)

Hello Ercan
This time I cannot reproduce your crash. Could you plese help in debugging?
If you have time:
go to the FLUGG/source subdir, and
make clean

then set two environmental var:

export G4GEOMETRY_DEBUG=1
export G4DEBUG=1

make

then go to the AlAuAl subdir and make.

In this way, you should get more debugging information in the .log file,
and more access from gdb

sorry for this, but I cannot do it myself since the code does not crash on
my PC
Ciao
Paola

> hello Mrs. Paola
> i have geant4.9.5 installed with clhep-2.1.1.0.
> i tried AlAuAl example, but it crashed.
> i attached log and gdb messages.
> thanks
> e.
>
>
>
>
> On Wed, Mar 7, 2012 at 11:41 AM, paola sala <paola.sala_at_cern.ch> wrote:
>> Dear Users
>> The FLUGG interface (Fluka to geant4 Geometry)
>> works without modifications with the latest geant4 release
>> Geant4 9.5
>> Some caveats:
>>
>> The embedded CLHEP classes - available in  Geant4 9.5- are NOT used,
>> flugg users  have to install the CLHEP package as before.
>>
>> The "parallel layered mass geometry" feature is NOT supported in flugg
>>
>> At present, the interface is available only at 32 bits with g77.
>>
>> Please report any error/crash you may encounter.
>> Ciao
>> Paola
>>
>>
>> On 02/27/2012 07:21 PM, Ercan Pilicer wrote:
>>> Â Dear Paola,
>>> Â Thanks indeed for your response
>>> Â Then, I presume it would be better to wait for Geant4 9.5
>>> Â Ciao
>>> Â e.
>>>
>>>
>>>
>>>
>>> Â On Mon, Feb 27, 2012 at 7:42 PM, paola sala<paola.sala_at_cern.ch> Â
>>> Â wrote:
>>>> Â 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
>>>>> Â =====================================
>>>>
>>>
>>>
>>
>>
>> --------------020103070501000805030907
>> Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
>> Â name="Attached Message Part"
>> Content-Transfer-Encoding: base64
>> Content-Disposition: attachment;
>> Â filename="Attached Message Part"
>>
>>
>> --------------020103070501000805030907--
>>
>
>
>
> --
> =====================================
> Â Ercan Pilicer
> Â Uludag University
> Â High Energy Physics Department
> Â 16059 Bursa, TURKEY
> =====================================
>

Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148
Received on Thu Mar 08 2012 - 10:33:31 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 08 2012 - 10:34:02 CET