Re: [fluka-discuss]: Error during "make" in SLC6 x86_64 with gfortran 4.9.3

From: Alfredo Ferrari <alfredo.ferrari_at_cern.ch>
Date: Mon, 27 Feb 2017 16:48:25 +0100

Hi Alberto

fluka-2011.2c is compiled under gfortran-6.3. One needs gfortran 6.x and
binutils 2.26 to link successfully. There are known compilation issues
with gfortran-4.x, surely for x < 8 but there are suspicions for
all 4.something versions. I strongly advice to use a recent gfortran
version, I know SLC is horribly old in compiler versions, but 5.x
(and now 6.x) are out since a few years, we do not have (yet) evidence
of miscompilations on them, and (6.x) they are also producing
30% faster executables for Fluka...

                     Ciao
                    Alfredo

+----------------------------------------------------------------------+
| Alfredo Ferrari || Tel.: +41.22.76.76119 |
| CERN-EN/STI || Fax.: +41.22.76.69474 |
| 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
| Switzerland || |
+----------------------------------------------------------------------+

On Mon, 27 Feb 2017, Alberto Ribon wrote:

> Hello,
>
> I have downloaded the tar-ball:
>
> fluka2011.2c-linux-gfor64bitAA.tar.gz
>
> in my machine (SLC6, x86_64, with gfortran 4.9.3) but I got the
> following linking error message during "make":
>
> /usr/bin/ld: BFD version 2.20.51.0.2-5.44.el6 20100205 internal error,
> aborting at reloc.c line 443 in bfd_get_reloc_size
>
> I see also some warnings of this type:
>
> Warning: Possible change of value in conversion from REAL(8) to REAL(4) at
> ...
>
> I have included in attachment the full output of "make".
>
> I suspect that I need to build Fluka from source code,
> but I am not sure and I can't try it.
>
> Thanks in advance for your help!
>
> Regards,
>                 Alberto
>
>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Feb 27 2017 - 18:05:37 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 27 2017 - 18:05:39 CET