Re: Problem in installing Fluka on UBUNTU 10.04

From: Jean-Emmanuel Groetz <jegroetz_at_univ-fcomte.fr>
Date: Thu, 08 Jul 2010 16:02:59 +0200

Prasanta,

Two things to check before installing Fluka on Ubuntu Lucid:
- open the Fluka directory and subdirectories (flutil,flukapro...) with
the chmod command (chmod -R a+w+r+x *)
- check that the libc6-dev-i386 is installed on your PC.

Hope this helps.
Jean-Emmanuel

Le jeudi 08 juillet 2010 Ă 17:43 +0530, Prasanta Kumar Sahani a Ă©crit :
> Dear Fluka users,
> I want to use FLUKA code on UBUNTU 10.04. I have installed g77 in my PC
> and it is working perfectly. when I tried to install FLUKA, it is
> showing the following message.
> -----------------------------------------------------------
> pksahani_at_pksahani-desktop:~/flukacode$ ls
> 12cqmd.inp FM.pdf neuxsc-ind_260.bin
> 12ctst.inp grv98lof.grid neuxsc-ind_72.bin
> brems_fin.bin grv98lo.grid nuclear.bin
> CERN-2005-10.pdf grv98nld.grid nunstab.data
> cmpdop.dat grv98nlf.grid random.dat
> cohff.bin grv98nlm.grid README
> dpmjet gxsect.bin RELEASE-NOTES.fluka2008.3c
> e6r1nds3.fyi interface sidae.dat
> elasct.bin jef2.fyi sidan.dat
> example.inp jendl3.fyi sidap.dat
> exfixed.inp latestRQMD sidapi.dat
> exmixed.inp libdpmmvax.a sigmapi.bin
> fluka2008.3c-linuxAA.tar.gz libflukahp.a usermvax
> fluka2008.manual librqmdmvax.a Version.tag
> flukapro LICENSE.fluka2008.3c xnloan.dat
> fluodt.dat makefile
> flutil makeflags
> pksahani_at_pksahani-desktop:~/flukacode$ pwd
> /home/pksahani/flukacode
> pksahani_at_pksahani-desktop:~/flukacode$ export FLUPRO=/home/pksahani/flukacode
> pksahani_at_pksahani-desktop:~/flukacode$ make
> FLUPRO=/home/pksahani/flukacode flutil/lfluka -o flukahp -m fluka
> $FLUPRO = /home/pksahani/flukacode
> ar x /home/pksahani/flukacode/libflukahp.a fluka.o
> rm: cannot remove `flukahp.map': No such file or directory
> g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations -funroll-loops
> -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro -v -o flukahp
> -Xlinker -Map -Xlinker flukahp.map fluka.o -L/home/pksahani/flukacode
> -lflukahp
> Driving: g77 -O3 -g -mcpu=pentiumpro -fexpensive-optimizations
> -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro -v -o flukahp
> -Xlinker -Map -Xlinker flukahp.map fluka.o -L/home/pksahani/flukacode
> -lflukahp -lfrtbegin -lg2c -lm -shared-libgcc
> Reading specs from /usr/lib/gcc/x86_64-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 x86_64-linux-gnu
> Thread model: posix
> gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/collect2 --eh-frame-hdr -m elf_i386
> -dynamic-linker /lib/ld-linux.so.2 -o flukahp
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../crt1.o
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../crti.o
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/32/crtbegin.o
> -L/home/pksahani/flukacode -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/32
> -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6
> -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/32
> -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6
> -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib32
> -L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../.. -L/lib/../lib32
> -L/usr/lib/../lib32 -Map flukahp.map fluka.o -lflukahp -lfrtbegin -lg2c
> -lm -lgcc_s_32 -lgcc -lc -lgcc_s_32 -lgcc
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/32/crtend.o
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../crtn.o
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../libm.so when searching for
> -lm
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../libm.a when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> cd flutil; FLUPRO=/home/pksahani/flukacode make all; cd ..
> make[1]: Entering directory `/home/pksahani/flukacode/flutil'
> /home/pksahani/flukacode/flutil/fff -N actdline.f
> -e g77 -o actdline.o -c -O3 -g -mcpu=pentiumpro -fexpensive-optimizations
> -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro actdline.f
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> actdline:
> lstnbl:
> /home/pksahani/flukacode/flutil/fff -N hpadd.f
> -e g77 -o hpadd.o -c -O3 -g -mcpu=pentiumpro -fexpensive-optimizations
> -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro hpadd.f
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> hpadd:
> lstnbl:
> /home/pksahani/flukacode/flutil/fff -N hpc.f
> -e g77 -o hpc.o -c -O3 -g -mcpu=pentiumpro -fexpensive-optimizations
> -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro hpc.f
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> hpc:
> hpc.f: In program `hpc':
> In file included from hpc.f:0:
> hpc.f:5: warning: unused variable 'chlc'
> hpc.f:5: warning: unused variable 'chuc'
> lstnbl:
> uctolc:
> lctouc:
> /home/pksahani/flukacode/flutil/fff -N hpfor.f
> -e g77 -o hpfor.o -c -O3 -g -mcpu=pentiumpro -fexpensive-optimizations
> -funroll-loops -fstrength-reduce -Wall -fno-automatic -fno-silent -m32
> -ffortran-bounds-check -I/home/pksahani/flukacode/flukapro hpfor.f
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> hpfor:
> hpfor.f: In program `hpfor':
> In file included from hpfor.f:0:
> hpfor.f:5: warning: unused variable 'chlc'
> hpfor.f:5: warning: unused variable 'chuc'
> lstnbl:
> uctolc:
> lctouc:
> f77 -m32 -o actdline actdline.o
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../libm.so when searching for
> -lm
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../libm.a when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
> /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> make[1]: *** [actdline] Error 1
> make[1]: Leaving directory `/home/pksahani/flukacode/flutil'
> pksahani_at_pksahani-desktop:~/flukacode$
> -----------------------------------------------------------------------------------------------------------------------------
> I am not able to find out the problem. So kindly help me.
>
> With regards
> Prasanta Kumar Sahani
>
>
>
>
>

-- 
________________________________________________________________
Jean-Emmanuel Groetz
Université de Franche-Comté
Laboratoire de Chimie Physique et Rayonnements Alain Chambaudet
UMR CEA E4
16, route de Gray
25030 Besançon Cedex
France
mailto : jegroetz_at_univ-fcomte.fr
tel : +33 (0) 3 81 66 65 07
fax : +33 (0) 3 81 66 65 22
________________________________________________________________
Received on Thu Jul 08 2010 - 18:59:07 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 08 2010 - 18:59:07 CEST