Re: [fluka-discuss]: Conversion from Trial version to Full version of FLUKA

From: Glenn Rosenthal <glenn.rosenthal_at_nusano.com>
Date: Fri, 21 Jun 2019 09:00:22 -0700

Paola,

The versions are as follows:
Ubuntu 18.04
Gfortran 7.4

$ export
declare -x FLUFOR="gfortran"
declare -x FLUPRO="/usr/local/fluka"

$ sudo make
FLUPRO=/usr/local/fluka flutil/lfluka -o flukahp -m fluka
$FLUPRO = /usr/local/fluka
 now linking
/usr/local/fluka
g77
ar x /usr/local/fluka/libflukahp.a fluka.o
rm: cannot remove 'flukahp.map': No such file or directory
g77 -m32 -mcpu=pentiumpro -O3 -g -fexpensive-optimizations -funroll-loops
-fstrength-reduce -Wall -fno-automatic -fno-silent -ffortran-bounds-check
-I/usr/local/fluka/flukapro -v -o flukahp -Xlinker -Map -Xlinker
flukahp.map fluka.o -L/usr/local/fluka -lflukahp
flutil/lfluka: line 157: g77: command not found
cd flutil; FLUPRO=/usr/local/fluka make all; cd ..
make[1]: Entering directory '/usr/local/fluka/flutil'
gfortran -o actdline actdline.o
/usr/bin/ld: i386 architecture of input file `actdline.o' is incompatible
with i386:x86-64 output
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In
function `_start':
(.text+0x20): undefined reference to `main'
actdline.o: In function `MAIN__':
/usr/local/fluka/flutil/actdline.f:5: undefined reference to `f_open'
/usr/local/fluka/flutil/actdline.f:6: undefined reference to `f_open'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `s_wsfe'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `do_fio'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `e_wsfe'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `s_rsfe'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `do_fio'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `e_rsfe'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `s_wsfe'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `do_fio'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `e_wsfe'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `s_rsfe'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `do_fio'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `e_rsfe'
/usr/local/fluka/flutil/actdline.f:18: undefined reference to `s_wsle'
/usr/local/fluka/flutil/actdline.f:18: undefined reference to `e_wsle'
/usr/local/fluka/flutil/actdline.f:9: undefined reference to `s_rsfe'
/usr/local/fluka/flutil/actdline.f:22: undefined reference to `s_stop'
/usr/local/fluka/flutil/actdline.f:18: undefined reference to `s_wsle'
/usr/local/fluka/flutil/actdline.f:18: undefined reference to `e_wsle'
/usr/local/fluka/flutil/actdline.f:16: undefined reference to `s_rnge'
actdline.o: In function `lstnbl_':
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_cmp'
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_cmp'
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_cmp'
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_cmp'
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_rnge'
/usr/local/fluka/flutil/actdline.f:28: undefined reference to `s_rnge'
collect2: error: ld returned 1 exit status
makefile:61: recipe for target 'actdline' failed
make[1]: *** [actdline] Error 1
make[1]: Leaving directory '/usr/local/fluka/flutil'

The make scrip appears to be trying to use g77 to compile. I actually
found a version of g77 for Ubuntu and installed it and got a different set
of errors. gfortran works correctly with other test programs so I don't
think that is the problem.

In the long run we will probably want to convert to a commercial licence.
I could not find any information on how to do this on line.

Let me now if anythign else would be hlepfule.

Thank you,

-Glenn

Glenn Rosenthal, PhD

Nusano INC

10940 Wilshire Blvd, Suite 150

Los Angeles, CA 90024

Office – 424-270-9600

Fax – 424-233-0910

Conference Bridge: 888-989-2544 PIN:10940150


On Fri, Jun 21, 2019 at 2:28 AM Paola Sala <paola.sala_at_mi.infn.it> wrote:

> Hello
> could you, please, give a bit more information so that we can try to debug
> the problem with the trial version? There should be no difference with
> respect to the standard version, except that the trial version is only
> running under gfortran, not it in g77.
> It would be useful to know which Linux flavor you are using, and what is
> the gfortran version. Next, a silly question: did you set the relevant
> environment variables FLUPRO, FLUFOR (this one only if the directory name
> does not contain the "gfor" string).
> Finally, a screenshot of the error message can help
>
> Converting to the standard version implies acquiring a commercial license.
> In case you are interested, we can discuss this option outside the list
> thread.
> Regards
> Paola
> > Glenn Rosenthal, PhD
> >
> > Nusano INC
> >
> > 10940 Wilshire Blvd, Suite 150
> >
> > Los Angeles, CA 90024
> >
> > Office – 424-270-9600
> >
> > Fax – 424-233-0910
> >
> > Conference Bridge: 888-989-2544 PIN:10940150
> >
> > We have a trial licence for FLUKA, that should enable us to run the trial
> > version. This version has never run. MAKE fails with gfortran or g77.
> > Other user have experienced the same problem and said simply converting
> to
> > the full version solved the problem.
> >
> > Is there a process to convert to the full version?
> >
> > How would we go about this?
> >
> > Thank you,
> >
> > -Glenn
> >
>
>
> Paola Sala
> INFN Milano
> tel. Milano +39-0250317374
> tel. CERN +41-227679148
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Jun 21 2019 - 20:42:06 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 21 2019 - 20:42:08 CEST