Re: [fluka-discuss]: Problem building Fluka2011.2c.6

From: paola sala <paola.sala_at_cern.ch>
Date: Thu, 8 Jun 2017 12:19:40 +0200

Hello Mina
You are right, the website needs to be updated.
gfortran<4.8 has been found to mis-compile the code, that's why it is no
longer accepted.
The distributed version has been compiled with gfortran 6.3.1, new linux
distributions already ship gfortran 7.0,
... update if you can!

Regards
Paola

On 06/08/2017 01:21 AM, Mina Nozar wrote:
>
> I have not been able to build Fluka2011.2c.6 either with gcc version 4.7.3
>
> Since when gfortran >= 4.8 is required to build/run fluka? Website
> says: version >= 4.5 is sufficient.
>
>
> *GNU/Linux (x86_64)* beta version, requires gcc/gfortran (version >=
> 4.5)
>
> Thank you,
>
> Mina
>
>
> [trsim_at_litai05:~/install]$ mv fluka2011.2c.6-linux-gfor64bitAA.tar.gz
> fluka2011.2c-6-linux-gfor64bitAA.tar.gz
> [trsim_at_litai05:~/install]$ ~/scripts/installFluka.py -l
> fluka2011.2c-6-linux-gfor64bitAA.tar.gz fluka2011.2c-6
> Prepping install directory /home/trsim/install/fluka2011.2c-6...
> Untarring FLUKA source...
> Building FLUKA to /home/trsim/install/fluka2011.2c-6...
> FLUPRO=/g01/home/trsim/install/fluka2011.2c-6 flutil/lfluka -o flukahp
> -m fluka
> $FLUPRO = /g01/home/trsim/install/fluka2011.2c-6
> gfortran >= 4.8 is required for running FLUKA!!
> cd flutil; FLUPRO=/g01/home/trsim/install/fluka2011.2c-6 make all; cd ..
> make[1]: Entering directory
> `/g01/home/trsim/install/fluka2011.2c-6/flutil'
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N actdline.f
> gfortran >= 4.8 is required for running FLUKA!!
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N hpadd.f
> gfortran >= 4.8 is required for running FLUKA!!
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N hpc.f
> gfortran >= 4.8 is required for running FLUKA!!
> /g01/home/trsim/install/fluka2011.2c-6/flutil/fff -N hpfor.f
> gfortran >= 4.8 is required for running FLUKA!!
> gfortran -o actdline actdline.o
> gfortran: error: actdline.o: No such file or directory
> make[1]: *** [actdline] Error 1
> make[1]: Leaving directory `/g01/home/trsim/install/fluka2011.2c-6/flutil'
> Copying FLUKA build to /home/trsim/build/fluka/fluka2011.2c-6...
> Setting permissions...
> Setting default FLUKA build to /home/trsim/build/fluka/fluka2011.2c-6...
>
>
>
>
> On 2017-06-07 07:06 AM, Hans Beijers wrote:
>> Dear Fluka experts,
>>
>> Unfortunately there is a problem building the latest Fluka2011.2c.6 version, the error meassage is this:
>>
>> /usr/bin/ld: /home/<username>/Apps/fluka/libflukahp.a(flukam.o):
>> unrecognized relocation (0x2a) in section `.text'
>> /usr/bin/ld: final link failed: Bad value
>> collect2: error: ld returned 1 exit status
>>
>> It looks as if my linux version (Ubuntu 14) has a problem with the binutils package, but I have not found a newer package that works with Ubuntu 14. Other relevant information is given below:
>>
>> Ubuntu 14.04
>> kernel: 4.4.0-78-generic
>> libstdc++6: 6.2.0-3ubuntu11~14.04
>> gfortran: 6.2.0-3ubuntu11~14.04
>>
>> Any help is greatly appreciated, thanks a lot.
>>
>> All the best,
>>
>> Hans
>



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Jun 08 2017 - 13:28:55 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 08 2017 - 13:28:56 CEST