Re: FLUKA2011.2.10 64 bit installation.

From: Giuseppe Battistoni <Giuseppe.Battistoni_at_mi.infn.it>
Date: Fri, 03 Feb 2012 08:55:05 +0100

Dear Mina
Unfortunately, as previously reported in our discussion list in the last 2 o 3 months,
we have the gfortran version of FLUKA only for gfortran versions 4.5 or 4.6
(fluka2011.2-linux-gfor64bit-gcc451-AA and fluka2011.2-linux-gfor64bitAA respectively)

We found that the us of gfortran compiler in version 4.4 (or earlier) gives rise to
important bugs.

For unknown reasons gfortran developers decided to change a lot of internal names
in recent versions, and that is the reason of those error messages.

Therefore, either you upgrade to gcc4.5 (or better gcc4.6) or you stick to the old good
32-bit g77 version.

        Giuseppe Battistoni

On 2/2/2012 9:24 PM, Mina Nozar wrote:
> Hi all,
>
> I was able to install fluka2011.2.10 and flair-0.9-7 with no problems.
>
> I am now trying to build the 64 bit fluka2011.2.10 binaries using fluka2011.2-linux-gfor64bitAA.tar.gz and am seeing a
> lot of error messages of the sort:
>
> /NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64/libflukahp.a(nunki1.o): In function `nunki1_':
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:232: undefined reference to `_gfortran_transfer_integer_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:224: undefined reference to `_gfortran_transfer_character_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:224: undefined reference to `_gfortran_transfer_integer_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:224: undefined reference to `_gfortran_transfer_character_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:224: undefined reference to `_gfortran_transfer_integer_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:225: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:225: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:225: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:225: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki1.f:226: undefined reference to `_gfortran_transfer_real_write'
> /NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64/libflukahp.a(nunki1.o):/home/alfredo/fluprogfor/nundismvax/nunki1.f:226:
> more undefined references to `_gfortran_transfer_real_write' follow
> /NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64/libflukahp.a(nunki2.o): In function `nunki2_':
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:824: undefined reference to `_gfortran_transfer_character_write'
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:825: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:825: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:825: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:825: undefined reference to `_gfortran_transfer_real_write'
> /home/alfredo/fluprogfor/nundismvax/nunki2.f:825: undefined reference to `_gfortran_transfer_real_write'
> ...
> ...
> ...
> /NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64/libflukahp.a(nunhqk.o): In function `nunhqk_':
> /home/alfredo/fluprogfor/nundismvax/nunhqk.f:120: undefined reference to `_gfortran_transfer_character_write'
> collect2: ld returned 1 exit status
> make[1]: Leaving directory `/NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64/flutil'
>
>
> Any ideas as to what could be wrong?
> We have gcc4.4 installed on our 64 bit machine and I have set environment variables
> FLUFOR to gfortran
> and
> FLUPRO to /NOT_BACKED_UP/home/nozarm/fluka/2011.2.10-64
>
> gcc -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=http://bugzilla.redhat.com/bugzilla --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-1.5.0.0/jre --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 --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
>
>
> Thanks in advance,
> Mina

-- 
Director INFN Milano
via Celoria 16, 20133 Milano, Italy
tel +39 02 50317649
fax +39 02 70601811
Received on Fri Feb 03 2012 - 09:23:34 CET

This archive was generated by hypermail 2.2.0 : Fri Feb 03 2012 - 09:23:35 CET