Re: [fluka-discuss]: Installing, g77 , lfluka command not found

From: Anna Ferrari <a.ferrari_at_hzdr.de>
Date: Mon, 04 Nov 2013 14:12:03 +0100

Dear Lee,

as you can read your problem is the fortran compiler.
You have installed gfortran but I guess you did not set the environment
variable FLUFOR. Please *read carefully the manual instructions* about this in
the installation FLUKA web page. If you have downloaded the 64 bit package
then simply do:
> export FLUFOR=gfortran on bash
or
> setenv FLUFOR gfortran on csh/tcsh

Take care, if you downloaded the 32 bit package then you have to compile it at
32 bits with g77.

Last: in case you can also find useful suggestions about the g77 installation
with Ubuntu if you go through the discussion list...

Regards,
Anna



Am Mon, 4 Nov 2013 15:40:03 +0800 schrieb Chenyen Lee <chenyenlee_at_gmail.com>:
> Dear Forum :
>
> Thank you for your assistance.
> I installed fluka in home directory successfully,
> but still hung up with problems.
>
> lee_at_lee-X402CA:~/fluka$ make
>FLUPRO=/home/lee/fluka flutil/lfluka -o flukahp -m fluka
> $FLUPRO = /home/lee/fluka
> now linking
> /home/lee/fluka
> g77
> ar x /home/lee/fluka/libflukahp.a fluka.o
> g77 -m32 -mcpu=pentiumpro -O3 -g -fexpensive-optimizations -funroll-loops
> -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check
> -I/home/lee/fluka/flukapro -v -o flukahp fluka.o -L/home/lee/fluka -lflukahp
> flutil/lfluka: 161: flutil/lfluka: g77: not found
> cd flutil; FLUPRO=/home/lee/fluka make all; cd ..
> make[1]: Entering directory `/home/lee/fluka/flutil'
> /home/lee/fluka/flutil/fff -N actdline.f
> /home/lee/fluka/flutil/fff: 109: /home/lee/fluka/flutil/fff: [[: not found
> /home/lee/fluka/flutil/fff: 121: /home/lee/fluka/flutil/fff: g77: not found
> /home/lee/fluka/flutil/fff -N hpadd.f
> /home/lee/fluka/flutil/fff: 109: /home/lee/fluka/flutil/fff: [[: not found
> /home/lee/fluka/flutil/fff: 121: /home/lee/fluka/flutil/fff: g77: not found
> /home/lee/fluka/flutil/fff -N hpc.f
> /home/lee/fluka/flutil/fff: 109: /home/lee/fluka/flutil/fff: [[: not found
> /home/lee/fluka/flutil/fff: 121: /home/lee/fluka/flutil/fff: g77: not found
> /home/lee/fluka/flutil/fff -N hpfor.f
> /home/lee/fluka/flutil/fff: 109: /home/lee/fluka/flutil/fff: [[: not found
> /home/lee/fluka/flutil/fff: 121: /home/lee/fluka/flutil/fff: g77: not found
> gfortran -o actdline actdline.o
> gfortran: error: actdline.o: 沒有此一檔案或目錄
> make[1]: *** [actdline] Error 1
> make[1]: Leaving directory `/home/lee/fluka/flutil'
> lee_at_lee-X402CA:~/fluka$ cd flutil
> lee_at_lee-X402CA:~/fluka/flutil$ ./lfluka -m fluka
> $FLUPRO = /home/lee/fluka
> now linking
> /home/lee/fluka
> g77
> ar x /home/lee/fluka/libflukahp.a fluka.o
> g77 -m32 -mcpu=pentiumpro -O3 -g -fexpensive-optimizations -funroll-loops
> -fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check
> -I/home/lee/fluka/flukapro -v -o flukahp fluka.o -L/home/lee/fluka -lflukahp
> ./lfluka: 161: ./lfluka: g77: not found
>
>
> The laptop asus 402c ,ubuntu 13.10 are 64 bits.
> I think I've installed gfortran.
>
> Please advise me.
> Thanks in advance.
>
> Lee
>
>
> Chenyen Lee
>
> Department of Nuclear Medicine
> Chang Gang Memorial Hospital
> Linko,Taiwan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Anna Ferrari
Institute of Radiation Physics
Helmholtz-Zentrum Dresden-Rossendorf e.V.
Bautzner Landstraße 400
D - 01328 Dresden (Germany)
Tel. +49 351 260 2872
Received on Mon Nov 04 2013 - 14:57:26 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 04 2013 - 14:57:27 CET