Re: [fluka-discuss]: Floating point exception(core dumped)

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Wed, 23 Jan 2019 11:18:24 +0100 (CET)

A second thought: also this could be useful, to intercept any error:

"make >output.txt 2>error.txt"

Andrea

> Dear Andrea,
>
> I checked again the variables $FLUPRO and $FLUFOR and they seemed
> correctly defined. The /pathto/ was a short notation. I attach the .log
> file. No .out and .err files were generated.
>
> I tried to check with the gdb debugger as indicated in the course
> lecture, and I attach the screeshot of the result.
>
> Thank you.
>
> Kind regards,
> Maria
>
> Am 22.01.2019 um 17:29 schrieb Andrea Fontana:
>> Dear Maria,
>> the configuration seems to be correct and I can just think about
>> checking the bash configuration. Are the variables $FLUPRO and $FLUFOR
>> correctly defined? I am a bit puzzled by the "/pathto..." in your
>> output, because usually the output points to the complete Fluka
>> installation path (for example /usr/local/bin/fluka/flutil/rfluka...),
>> but maybe it was just a short notation.
>>
>> Can you also send me the .log, .out and .err files created by Fluka
>> in the run subdirectory?
>>
>> Some other checks that you can do are indicated in the course
>> lecture, for example at:
>> https://indico.cern.ch/event/442634/contributions/1096522/attachments/1186818/1721029/19_Errors_and_Crashes_2015.pdf
>>
>>
>> Let me know,
>> Andrea
>> /
>> ///
>> On 22/01/2019 14:16, Maria Gonzalez Torres wrote:
>>> Dear Andrea,
>>>
>>> I answer in each question. Thank you in advance.
>>>
>>> Kind regards,
>>> Maria
>>>
>>> Am 21.01.2019 um 19:53 schrieb Andrea Fontana:
>>>> Dear Maria,
>>>> this example usually runs smoothly and there must be a problem in
>>>> your installation. It is hard to tell without seeing it, but perhaps
>>>> I can list a few things you can check:
>>>>
>>>> - what linux are you running? Ubuntu, Fedora...?Is it a 64 bit system?
>>>> You can type "uname -a" to verify this.
>>> Red Hat Enterprise Linux 7, version 7.4
>>> x86_64
>>>> - which gfortran compiler version is installed?Type: "gfortran
>>>> --version"
>>> gfortran 8.2.0
>>>> - make sure you are using the latest Fluka version (2011.2x-4) which
>>>> runs with gfortran 8.2 and that this matches with your system;
>>> Yes, I downloaded yesterday the new fluka version
>>> (fluka2011.2x-linux-gfor64bitAA.tar.gz)
>>>> - did you install Fluka from the tar.gz file using the provided
>>>> makefile
>>>> (as in the manual at pag. 35-36)? or from the rpm file?
>>>> It would be useful to see the output of the installation process.
>>> Yes, I did.
>>>>
>>>> Just a few checks to start with... let me know.
>>>> Kind regards,
>>>> Andrea
>>>>
>>>> On 21/01/2019 16:32, Maria Gonzalez Torres wrote:
>>>>> Dear fluka experts,
>>>>>
>>>>> I am running the ex1.inp from the Basic FLUKA Course to test the
>>>>> installation of fluka (fluka2011.2x-linux-gfor64bitAA.tar) in my
>>>>> /home directory from a cluster, but I got the next error message:
>>>>>
>>>>> /pathto/fluka/flutil/rfluka: line 3 61: 18954 Floating point
>>>>> exception(core dumped) ${EXE} 2> $LOGF > $LOGF
>>>>>
>>>>> and in the log file:
>>>>>
>>>>> Program received signal SIGFPE: Floating-point exception -
>>>>> erroneous arithmetic operation.
>>>>>
>>>>> Backtrace for this error:
>>>>> #0 0x7fc34eabf26f in ???
>>>>> #1 0x4d1195 in ampart_
>>>>> at /home/alfredo/fluprogfor/eventvmvax/ampart.f:199
>>>>> #2 0x43464d in ???
>>>>> #3 0x40224e in flukam_
>>>>> at /home/alfredo/fluprogfor/mainmvax/flukam.f:1172
>>>>> #4 0x4020db in fluka
>>>>> at /home/alfredo/fluprogfor/mainmvax/fluka.f:307
>>>>> #5 0x4020db in main
>>>>> at /home/alfredo/fluprogfor/mainmvax/fluka.f:310
>>>>>
>>>>> Do you know what it could be? Thank you in advance.
>>>>>
>>>>> Kind regards,
>>>>> Maria
>>>>>
>>>>> __________________________________________________________________________
>>>>>
>>>>> You can manage unsubscription from this mailing list at
>>>>> https://www.fluka.org/fluka.php?id=acc_info
>>>>>
>>>>
>>>
>>
>
> --
>
> M.Sc. Maria Jose Gonzalez Torres
> Technische Universität Dresden
> Institut für Kern- und Teilchenphysik
> AG Strahlungsphysik
> Email: gonzalez_at_asp.tu-dresden.de
> Tel.: +49 351 463 33165
>
>


-- 
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it
Via Bassi 6                           web   : www.pv.infn.it/~fontana
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Jan 23 2019 - 12:30:18 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 23 2019 - 12:30:22 CET