Again Floating-point exception - erroneous arithmetic operation.

From: <francesca.belloni_at_libero.it>
Date: Mon, 10 Jun 2013 12:37:39 +0200 (CEST)

Dear fluka developers,
           I downloaded fluka2011.2b-linux-gfor64bitAA.tar.gz on a 64 bits
system
(Linux dapint 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 06:46:41 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux) and
in my .tcshrc set

setenv FLUPRO /home/gpfs/manip/mnt23/mnm/ntof/fbelloni/FLUKA_2011
setenv FLUFOR gfortran
setenv GFORFLU my-gfortran

with

[11:52][dapint:~] > my-gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --
prefix=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr --enable-languages=c,c++,
fortran --with-gmp=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --with-
mpfr=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --with-
mpc=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --program-prefix=my-
Thread model: posix
gcc version 4.4.0 (GCC)

After digiting make > & my.txt FLUKA is compiled, though some warnings are
given (my.txt).
But when I run my simulation (in attachment: files
FluLib.cpp
Makefile
mgdraw.f
PXMG.inp
source.f
usrout.f)

I still obtain the same mistake
(PXMG001.err
PXMG001.log
ranPXMG002
)




Since at https://www.fluka.org/fluka.php?id=secured_intro is written that

"This version of the code should be run on the platforms for which it has been
released, which are:
GNU/Linux (i686 and x86_64) requires gcc/g77 (version >= 3.4)
GNU/Linux (x86_64) beta version, requires gcc/gfortran (version >= 4.5) "

I tried to compile fluka against gfortran 4.5.1 by setting

setenv FLUPRO /home/gpfs/manip/mnt23/mnm/ntof/fbelloni/FLUKA_2011
setenv FLUFOR gfortran
setenv GFORFLU mio-gfortran

with

[12:03][dapint:~] > mio-gfortran -v
Using built-in specs.
COLLECT_GCC=mio-gfortran

COLLECT_LTO_WRAPPER=/home/gpfs/manip/mnt23/mnm/ntof/fbelloni/Programs/libexec/gcc/x86_64-
unknown-linux-gnu/4.5.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --
prefix=/home/gpfs/manip/mnt23/mnm/ntof/fbelloni/Programs/ --enable-languages=c,
c++,fortran --with-gmp=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --with-
mpfr=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --with-
mpc=/home/gpfs/manip/mnt23/mnm/ntof/programs/usr/ --program-prefix=mio-
Thread model: posix
gcc version 4.5.1 (GCC)


but in this case the compilation, though finishes, gives more errors (see mio.
txt) and
when I try to run the simulation (with mio-gfortran instead of my-gfortran in
my Makefile), the compilation crashes
(see mio-crash.txt).


Could you please tell me what I am doing wrong?

Thank you.
Best regards,
Francesca




Received on Mon Jun 10 2013 - 16:51:12 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 10 2013 - 16:51:15 CEST