VOXEL geometry

From: Lior Cahana <cahana_at_bgu.ac.il>
Date: Sun, 8 Jan 2012 14:55:25 +0100

Hello,
I've been trying to use voxel geometry in FLUKA. I've tried using the example from the
course (attached) it compiles ok but I get an error during the "build" process: "Error linking executable"
bellow is the flair output.
thank you
Lior Cahana

The flair output:
Compiling: /home/lior/FLUKA/flutil/fff -b -N writect.f

/home/lior/FLUKA/flutil/fff: 118: [[: not found
writect:

  Linking: /home/lior/FLUKA/flutil/lfluka -o ct -m fluka writect.o
$FLUPRO = /home/lior/FLUKA
  now linking

/home/lior/FLUKA
g77
ar x /home/lior/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/lior/FLUKA/flukapro -v -o ct -Xlinker -Map -Xlinker ct.map fluka.o writect.o -L/home/lior/FLUKA -lflukahp
Driving: g77 -m32 -O3 -g -fexpensive-optimizations -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent
-ffortran-bounds-check -I/home/lior/FLUKA/flukapro -v -o ct -Xlinker -Map -Xlinker ct.map fluka.o writect.o -L/home/lior/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-6ubuntu5)
  /usr/lib/gcc/i486-linux-gnu/3.4.6/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o ct
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/crt1.o /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/crti.o
/usr/lib/gcc/i486-linux-gnu/3.4.6/crtbegin.o -L/home/lior/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 ct.map fluka.o writect.o -lflukahp -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
/usr/lib/gcc/i486-linux-gnu/3.4.6/crtend.o /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/crtn.o
writect.o: In function `MAIN__':
/home/lior/inp/vxl/writect.f:1: multiple definition of `MAIN__'
fluka.o:/home/alfredo/flupro/mainmvax/fluka.f:6: first defined here
collect2: ld returned 1 exit status

Received on Sun Jan 08 2012 - 15:32:20 CET

This archive was generated by hypermail 2.2.0 : Sun Jan 08 2012 - 15:32:31 CET