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

From: Glenn Rosenthal <glenn.rosenthal_at_nusano.com>
Date: Mon, 24 Jun 2019 13:59:48 -0700

David,

Thanks for the help. Switching from gfortran to gfortran-8 worked. Ran a
number of tests and got expected results.

Regards,

-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 Sun, Jun 23, 2019 at 8:56 AM Glenn Rosenthal <glenn.rosenthal_at_nusano.com>
wrote:

> David,
>
> Thanks. I will try it tonight or tomorrow and let you know.
>
> Regards,
>
> -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 Sun, Jun 23, 2019 at 2:24 AM Horváth Dávid <David.Horvath_at_eli-beams.eu>
> wrote:
>
>> Dear Glenn,
>>
>> The trial version of FLUKA was compiled with gfortran 8. You need to
>> install the gfortran-8 package and set the GFLUFOR=gfortran-8 environment
>> variable.
>>
>> Kind regards,
>> Dávid Horváth
>>
>> Junior Researcher
>> Radiation Protection
>> ELI Beamlines
>>
>> E: david.horvath_at_eli-beams.eu
>> T: +420 266 051 283
>> M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic
>>
>>
>> ________________________________________
>> From: Glenn Rosenthal <glenn.rosenthal_at_nusano.com>
>> Sent: 22 June 2019 23:29:56
>> To: Horváth Dávid
>> Cc: paola.sala_at_mi.infn.it; fluka-discuss_at_fluka.org
>> Subject: Re: [fluka-discuss]: Conversion from Trial version to Full
>> version of FLUKA
>>
>> David,
>>
>> This is running on Windows 10 WSL.
>>
>> Any suggestions on fixing the issue with gfortan?
>>
>> The version I have is:
>> gfortran --version
>> GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
>> Copyright (C) 2017 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> Do you know what specific version of gfortran FLUKA would work with? I
>> can then install that version?
>>
>> Thanks much,
>>
>> -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 Sat, Jun 22, 2019 at 9:21 AM Horváth Dávid <David.Horvath_at_eli-beams.eu
>> <mailto:David.Horvath_at_eli-beams.eu>> wrote:
>> Dear Glenn,
>>
>> this error message suggests that the gfortran was used to compile FLUKA
>> is different than the one available on your system.
>>
>> Running FLUKA under Windows is easily doable.
>> On Windows 10 - the Windows Subsystem for Linux (WSL) works perfectly.
>> On older Windows versions a virtual machine or a docker container can be
>> used.
>>
>> Kind regards,
>> Dávid Horváth
>>
>> Junior Researcher
>> Radiation Protection
>> ELI Beamlines
>>
>> E: david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu>
>> T: +420 266 051 283
>> M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic
>>
>>
>> ________________________________________
>> From: Glenn Rosenthal <glenn.rosenthal_at_nusano.com<mailto:
>> glenn.rosenthal_at_nusano.com>>
>> Sent: 22 June 2019 18:10:20
>> To: Horváth Dávid
>> Cc: paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it>;
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>
>> Subject: Re: [fluka-discuss]: Conversion from Trial version to Full
>> version of FLUKA
>>
>> David,
>>
>> Thanks much. That seams to be the core of the problem. I moved FLUKA
>> into my home directly for now. make ran, it think correctly. Running the
>> test case I got an odd error.
>>
>> $FLUPRO/flutil/rfluka -N0 -M5 example
>> $TARGET_MACHINE = Linux
>> $FLUPRO = /home/grosenthal/fluka
>>
>> Initial seed already existing
>> Running fluka in /home/grosenthal/fluka-results/test2/fluka_1595
>> ================================ Running FLUKA for cycle # 1
>> =============================================
>>
>> It then stops. The contents of example001.log:
>>
>> Fortran runtime error: Incorrect extent in VALUE argument to
>> DATE_AND_TIME intrinsic: is 1, should be >=8
>>
>> Error termination. Backtrace:
>> #0 0x7f60a2e3b31a
>> #1 0x7f60a2e3bec5
>> #2 0x7f60a2e3c1b7
>> #3 0x7f60a2fcafc2
>> #4 0x7f60a3756ceb
>> #5 0x7f60a3602464
>> #6 0x7f60a36022fb
>> #7 0x7f60a2481b96
>> #8 0x7f60a3602339
>> #9 0xffffffffffffffff
>>
>> My original Linux machine died so I am currently running Ubuntu under
>> Windows for this. Is that a viable option?
>>
>> Thanks much for the help,
>>
>> -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 Sat, Jun 22, 2019 at 12:29 AM Horváth Dávid <
>> David.Horvath_at_eli-beams.eu<mailto:David.Horvath_at_eli-beams.eu><mailto:
>> David.Horvath_at_eli-beams.eu<mailto:David.Horvath_at_eli-beams.eu>>> wrote:
>> Hi Glenn,
>>
>> I think I figured out what is the problem.
>>
>> You are using 'sudo make' to compile and the root user has separate
>> environment variables than your user account.
>>
>> To be able to compile as root, you need first get a root prompt with
>> 'sudo su' then set up FLUPRO, FLUFOR and run 'make'.
>>
>> Kind regards,
>> Dávid Horváth
>>
>> Junior Researcher
>> Radiation Protection
>> ELI Beamlines
>>
>> E: david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu><mailto:
>> david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu>>
>> T: +420 266 051 283
>> M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic
>>
>>
>> ________________________________________
>> From: Glenn Rosenthal <glenn.rosenthal_at_nusano.com<mailto:
>> glenn.rosenthal_at_nusano.com><mailto:glenn.rosenthal_at_nusano.com<mailto:
>> glenn.rosenthal_at_nusano.com>>>
>> Sent: 22 June 2019 05:55:56
>> To: Horváth Dávid
>> Cc: paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it><mailto:
>> paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it>>;
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org><mailto:
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
>> Subject: Re: [fluka-discuss]: Conversion from Trial version to Full
>> version of FLUKA
>>
>> David,
>>
>> These were originally set with EXPORT. I moved them into .bashrc so that
>> they will be set all the time.
>>
>> setting with export did not change the results.
>>
>> Regards,
>>
>> -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 9:53 AM Horváth Dávid <David.Horvath_at_eli-beams.eu
>> <mailto:David.Horvath_at_eli-beams.eu><mailto:David.Horvath_at_eli-beams.eu
>> <mailto:David.Horvath_at_eli-beams.eu>><mailto:David.Horvath_at_eli-beams.eu
>> <mailto:David.Horvath_at_eli-beams.eu><mailto:David.Horvath_at_eli-beams.eu
>> <mailto:David.Horvath_at_eli-beams.eu>>>> wrote:
>> Dear Glenn,
>>
>> instead of declare try using the export commands to set up the
>> environment variables:
>>
>> export FLUPRO=/usr/local/fluka
>> export FLUFOR=gfortran
>>
>> Kind regards,
>> Dávid Horváth
>>
>> Junior Researcher
>> Radiation Protection
>> ELI Beamlines
>>
>> E: david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu><mailto:
>> david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu>><mailto:
>> david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu><mailto:
>> david.horvath_at_eli-beams.eu<mailto:david.horvath_at_eli-beams.eu>>>
>> T: +420 266 051 283
>> M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic
>>
>>
>> ________________________________________
>> From: owner-fluka-discuss_at_mi.infn.it<mailto:
>> owner-fluka-discuss_at_mi.infn.it><mailto:owner-fluka-discuss_at_mi.infn.it
>> <mailto:owner-fluka-discuss_at_mi.infn.it>><mailto:
>> owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it
>> ><mailto:owner-fluka-discuss_at_mi.infn.it<mailto:
>> owner-fluka-discuss_at_mi.infn.it>>> <owner-fluka-discuss_at_mi.infn.it<mailto:
>> owner-fluka-discuss_at_mi.infn.it><mailto:owner-fluka-discuss_at_mi.infn.it
>> <mailto:owner-fluka-discuss_at_mi.infn.it>><mailto:
>> owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it
>> ><mailto:owner-fluka-discuss_at_mi.infn.it<mailto:
>> owner-fluka-discuss_at_mi.infn.it>>>> on behalf of Glenn Rosenthal <
>> glenn.rosenthal_at_nusano.com<mailto:glenn.rosenthal_at_nusano.com><mailto:
>> glenn.rosenthal_at_nusano.com<mailto:glenn.rosenthal_at_nusano.com>><mailto:
>> glenn.rosenthal_at_nusano.com<mailto:glenn.rosenthal_at_nusano.com><mailto:
>> glenn.rosenthal_at_nusano.com<mailto:glenn.rosenthal_at_nusano.com>>>>
>> Sent: 21 June 2019 18:00:22
>> To: paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it><mailto:
>> paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it>><mailto:
>> paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it><mailto:
>> paola.sala_at_mi.infn.it<mailto:paola.sala_at_mi.infn.it>>>
>> Cc: fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org><mailto:
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>><mailto:
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org><mailto:
>> fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>>
>> Subject: Re: [fluka-discuss]: Conversion from Trial version to Full
>> version of FLUKA
>>
>> 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<mailto:
>> paola.sala_at_mi.infn.it><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it>><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it>>><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it>><mailto:paola.sala_at_mi.infn.it<mailto:
>> paola.sala_at_mi.infn.it><mailto:paola.sala_at_mi.infn.it<mailto:
>> 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 Tue Jun 25 2019 - 00:31:18 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 25 2019 - 01:13:50 CEST