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

From: Maria Gonzalez Torres <gonzalez_at_pssrs1.phy.tu-dresden.de>
Date: Mon, 4 Feb 2019 16:58:23 +0100

Hi,

I could not try "scl" because it is not available on the cluster
machine. I attach the output and error file. I tried "example.inp" and
the problem persist. The linux is Red Hat Enterprise v7.4 x86_64.

Cheers,
Maria

Am 23.01.2019 um 11:55 schrieb amucha_at_agh.edu.pl:
> Hi,
> I had the same error, it is due to the different compilators used. The
> magic line:
> scl enable devtoolset-7 bash
> helped. You need to set it before starting flair and before any
> fortran compilation. Try it in a new window to be sure you have no
> other settings left.
> Maybe it will help you too.
> Cheers,
> Agnieszka
>
>
> W dniu 2019-01-23 10:50, Andrea Fontana napisał(a):
>> Hello Maria,
>> thank you for the gdb information. The ampart.f function calculates
>> the mass distribution for resonances of a given width and I think from
>> previous cases that the origin of the problem is not there, but in a
>> linux/gfortran configuration issue.
>>
>> We can try the following other checks:
>>
>> - just in case, try to run another simple example to see if the
>> problem persists (take example.inp in the $FLUPRO directory)
>>
>> - could you please try to re-install Fluka from scratch and send
>> me the output in a file? Type "make >output.txt"
>>
>> - which linux do you have? There are subtle differences in some
>> system utilities like awk, gawk, ld and others: a few are known,
>> but others maybe not yet... Try to see these other threads:
>>
>> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5339.html
>> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/6448.html
>> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/10716.html
>>
>> Hope this helps...
>> Andrea
>>
>> PS
>> We keep the messages in the discuss-list
>>
>>
>>
>>
>> On 22/01/2019 18:17, Maria Gonzalez Torres wrote:
>>> 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




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Mon Feb 04 2019 - 18:27:27 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 04 2019 - 18:27:30 CET