Re: [fluka-discuss]: Error building fluka 2011,2c-5 on Debian 8

From: Flaks, Leonid <flaks_at_bnl.gov>
Date: Sat, 31 Dec 2016 21:22:39 +0000

Thank you Luigi, that was it!

Leon

Sent from my iPhone

On Dec 31, 2016, at 10:31 AM, Luigi Salvatore Esposito <luigi.salvatore.esposito_at_cern.ch<mailto:luigi.salvatore.esposito_at_cern.ch>> wrote:

Dear Leonid,
Actually your problem is related to the FLUKA package you have downloaded. For gfortran 4.9 (as on your PC), you should use the FLUKA package precompiled with gfortran-5.

More details in this thread
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/9754.html

Cheers, luigi


On Dec 30, 2016 21:19, Luigi Salvatore Esposito <luigi.salvatore.esposito_at_cern.ch<mailto:luigi.salvatore.esposito_at_cern.ch>> wrote:
Dear Leonid,
Have you given a look at these threads on the list?
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/9583.html
http://www.fluka.org/web_archive/earchive/new-fluka-discuss/9617.html

I think they can give you some guidance to fix your problem.
Best, luigi

On Dec 30, 2016 17:12, "Flaks, Leonid" <flaks_at_bnl.gov<mailto:flaks_at_bnl.gov>> wrote:
Hi!
I am trying to install the latest version of fluke on Debian 8.
Downloaded fluka2011.2c-linux-gfor64bitAA.tar.gz file, extracted into target directory, set FLUPRO variable and FLUFOR is set to gfortran.
The version of gfortran is 4.9.2.
When I try to run make I don’t get flukahp built. I see one error during the build process:

 /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccntdRQm.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o gplevbin /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o -L/GPFS/CENTRAL/APCluster/fluka-2011.2c-5 -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. gplevbin.o -lflukahp -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o
/usr/bin/ld: /GPFS/CENTRAL/APCluster/fluka-2011.2c-5/libflukahp.a(dortno.o): unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

Am I doing something wrong here?
Thanks,
Leon(�Ƨ��ځ맲��r���*'~�&������x%��Z�m���� ����?~[�j�i�֜r)



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sun Jan 01 2017 - 00:13:49 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 01 2017 - 00:13:50 CET