Installation check error

Hello,
I’ve recently updated FLUKA and flair and when running the check_fluka.py I get the following error -

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0 0x7f6a34223ad0 in ???
#1 0x7f6a34222c35 in ???
#2 0x7f6a33e4251f in ???
at ./signal/…/sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#3 0x7f6a33e96a7c in __pthread_kill_implementation
at ./nptl/pthread_kill.c:44
#4 0x7f6a33e96a7c in __pthread_kill_internal
at ./nptl/pthread_kill.c:78
#5 0x7f6a33e96a7c in __GI___pthread_kill
at ./nptl/pthread_kill.c:89
#6 0x7f6a33e42475 in __GI_raise
at …/sysdeps/posix/raise.c:26
#7 0x7f6a33e287f2 in __GI_abort
at ./stdlib/abort.c:79
#8 0x7f6a34221335 in ???
#9 0x55f88ebdd886 in ???
#10 0x55f88eac5150 in ???
#11 0x55f88eac3a30 in ???
#12 0x7f6a33e29d8f in __libc_start_call_main
at …/sysdeps/nptl/libc_start_call_main.h:58
#13 0x7f6a33e29e3f in __libc_start_main_impl
at …/csu/libc-start.c:392
#14 0x55f88eac5044 in ???
#15 0xffffffffffffffff in ???
Aborted (core dumped)
Traceback (most recent call last):
File “/home/check_fluka.py”, line 712, in
with open(“fort.11”,“r”) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘fort.11’

All other checks passed successfully: python, python tkinter module, tk library, python imaging, gnuplot, memory, CPU, X11, flair, flair-geoviewer, gfortran (version 11.3.0) and FLUKA
Running on Ubuntu 22.04
Thank you
Lior

Hi Lior,

I was not able to reproduce the error on my system, but looking at the log it seems the problem is not related to FLUKA directly.

Can you run FLUKA from Flair or the command line otherwise?

Cheers,
David

Dear @lior.epstein

the error appears when the script tries to built a custom fluka executable named testfluka and run an input that contains only a STOP card inside.

It seems that the testfluka is generated but for some reason it cannot run. To verify the problem can you manually execute the following instructions ($FLUKA is the path where fluka is installed)

${FLUKA}/bin/lfluka -o testfluka
echo "STOP" > test.inp
${FLUKA}/bin/rfluka -M1 -e testfluka test.inp

you should get a test001.out that will end with a banner like

 * ========================================================================== *
 * ======        End of FLUKA v4 run (Copyright (C) 2020 CERN)         ====== *
 * ========================================================================== *

and an empty test001.log file

Thank you David and Vasilis
Following Vasilis suggestion I received the following message:

Error: Incompatible gfortran version!
System gfortran version: 11
FLUKA package version: 7

And after downloading and installing the correct FLUKA version for Fortran 9 it was fixed.

  • FLUKA and flair did work with the incompatible version but crashed occasionally.
    Thank you for all your help
    Lior