RE: [fluka-discuss]: Installation hiccup / problem(s)

From: Eugene Galyaev <>
Date: Tue, 11 Mar 2014 11:51:01 -0600

   Dear Vittorio,


Thank you very much for your reply.

Indeed, I did grab the gfortran version at first
(fluka2011.2b-linux-gfor64bitAA.tar.gz), while trying to use g77.


Having said that, I actually did install the compatibility libraries / do
have those installed, got the g77 version.

Cannot compile.

I did install the SL6 devtoolset-2 which would have gfortran I imagine.

Anyway, neither set of permutations and combinations still allows me to
compile Fluka in SL6.

Does anyone have it installed and working in Scientific Linux 6? What steps
should I take to disambiguate this issue?


When I am trying to make it (fluka2011.2b-linuxAA.tar.gz, FLUFOR=g77) with
g77, it tells me that the

/usr/lib64/crt1.o: could not read symbols: File in wrong format et cetera.

When I am trying to make it (fluka2011.2b-linux-gfor64bitAA.tar.gz,
FLUFOR=gfortran) with gfortran, it tell me that

gfortran >= 4.6 is required for running FLUKA!!

. and how am I supposed to get gfortran >= 4.6??? In SL6?



Could someone please help / disambiguate, and tell me how to resolve the

Thank you in advance,






$ gfortran -v

Using built-in specs.

Target: x86_64-redhat-linux

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686

Thread model: posix

gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)


$ g77 -v

Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-languages=c,c++,f77 --disable-libgcj

Thread model: posix

gcc version 3.4.6 20060404 (Red Hat 3.4.6-19.el6)





From: Vittorio Boccone []
Sent: Friday, March 07, 2014 1:15 AM
To: Eugene Galyaev
Subject: Re: [fluka-discuss]: Installation hiccup / problem(s)


Dear Eugene,

 it appears from the log that your system is a bit confused.

Which version are you trying to install? the standard compiler of the SL is
not good enough so you have two options:

get the compatibility libraries and install the g77 version


Or you install another compiler with the devtoolset options of the SL


devtoolset 1.1 is sufficient to compile with gfortran


Please check the installation instruction carefully once you decide which
version you want to install
<> &mm2=3



now linking



tells me you are compiling with g77


But this

/usr/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

cd flutil; FLUPRO=/home/egalyaev/Install/fluka make all; cd ..

make[1]: Entering directory `/home/egalyaev/Install/fluka/flutil'

gfortran -o actdline actdline.o

also tells me that hes tring to compile something with gfortran


In addition this

gcc -lc -lgcc_s_32 -lgcc /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtend.o

/usr/lib64/crt1.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

tells me you are trying have only 64 bit libs installed.



Best V.


On Wed, Mar 5, 2014 at 11:36 PM, Eugene Galyaev <> wrote:

   Dear FLUKA experts,


I am just trying to start up / learn using FLUKA, and immediately have
gotten myself in trouble with inability to install.

The error I get in the execution of make that looks like this (log is


gcc -lc -lgcc_s_32 -lgcc /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtend.o

/usr/lib64/crt1.o: could not read symbols: File in wrong format

collect2: ld returned 1 exit status


lib and lib64 locations have been added to $LIBRARY_PATH etc.

gcc version is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)

I am running CERN Scientific Linux 6.

All of the devel headers have been installed...


Could you please suggest a solution?

Thanks to everyone in the community -




Received on Tue Mar 11 2014 - 19:53:59 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 11 2014 - 19:54:00 CET