RE: No flukahp file

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Fri, 16 Nov 2012 13:17:08 +0000

Hi Phil,

you have the g77 compiler but
you are missing the gcc compatibility libraries and the linker is failing
I've copied the deb package on the following location
http://pceet075.cern.ch/bnv/
Install the libg2c0-dev and re-compile fluka

Cheers
Vasilis
________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Phil Loscoe [phil_at_q1techserv.com]
Sent: 15 November 2012 22:26
To: fluka-discuss_at_fluka.org
Subject: No flukahp file

Dear Fluka Experts
I just attempted to install Fluka using the latest respin (fluka2011.2-linuxAA.tar.gz, 27Oct2012) on a PC running Ubuntu 11.10. I followed the installation instructions as given in the 2012 Fluka Beginner's Course, supplemented by the Fluka on-line manual. Installation seemed to go OK, but when I attempted to run an example problem (Ex1 files downloaded from the 2012 Fluka Beginner's Course) the log file contained only a single line: “/home/pgl/FLUKA/flutil/rfluka: 358: /home/pgl/FLUKA/flukahp: not found”.

The only flukahp file I could find in my FLUKA folder is flukahp.map

Although I had run the “make” command, I next ran the command “$FLUPRO/flutil/lfluka -m fluka “ as described in the manual to generate (or regenerate?) the missing flkahp file, with the following results:

pgl_at_ubuntu-q1ts:~$ cd $FLUPRO
pgl_at_ubuntu-q1ts:~/FLUKA$ $FLUPRO/flutil/lfluka -m fluka
$FLUPRO = /home/pgl/FLUKA
  now linking
/home/pgl/FLUKA
g77
ar x /home/pgl/FLUKA/libflukahp.a fluka.o
g77 -m32 -O3 -g -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check -I/home/pgl/FLUKA/flukapro -v -o flukahp -Xlinker -Map -Xlinker flukahp.map fluka.o -L/home/pgl/FLUKA -lflukahp
Driving: g77 -m32 -O3 -g -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check -I/home/pgl/FLUKA/flukapro -v -o flukahp -Xlinker -Map -Xlinker flukahp.map fluka.o -L/home/pgl/FLUKA -lflukahp -lfrtbegin -lg2c -lm -shared-libgcc
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=pentium4 i486-linux-gnu
Thread model: posix
gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu3)
  /usr/lib/gcc/i486-linux-gnu/3.4.6/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flukahp crt1.o crti.o /usr/lib/gcc/i486-linux-gnu/3.4.6/crtbegin.o -L/home/pgl/FLUKA -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -Map flukahp.map fluka.o -lflukahp -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/i486-linux-gnu/3.4.6/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

I then re-ran the Ex1 problem with exactly the same result: “/home/pgl/FLUKA/flutil/rfluka: 358: /home/pgl/FLUKA/flukahp: not found”.

Any suggestions would be greatly appreciated.

Respectfully, Phil
Received on Sat Nov 17 2012 - 11:27:25 CET

This archive was generated by hypermail 2.2.0 : Sat Nov 17 2012 - 11:27:56 CET