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