Re: [fluka-discuss]: Error Running Example

From: <luisgona_at_alumni.uv.es>
Date: Tue, 19 Feb 2019 18:44:32 +0100 (CET)

Hi,

I understand now. I didn't know it had to be treated as text.

Sorry for causing you so much trouble.

Best wishes from Spain,

Luis

> Hi Luis,
>
> no problem at all, I'm glad it's working now.
>
> The quotation marks just explicitly indicate that it should be treated as text. By default it wouldn't matter, but on your machine - for some reason - it returned a full path. Maybe an alias is set up for gfortran, but I couldn't reproduce this behavior.
>
> 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: luisgona_at_alumni.uv.es <luisgona_at_alumni.uv.es>
> Sent: 19 February 2019 18:04:15
> To: Horváth Dávid; Horváth Dávid; fluka-discuss_at_flukaorg
> Subject: Re: [fluka-discuss]: Error Running Example
>
> Dear David,
>
> I am happy to say that FLUKA its working and I have been able of running an example. I wanted to thank you for your help and attention. If you don't mind, could you tell me what is the difference between adding quotation marks or not to (that way I will be a little less dumb).
>
> Thanks a lot,
> Luis
>
> > Hi Luis,
> >
> > unfortunately that is not correct. You should get only "gfortran", not the path to gfortran.
> >
> > Try using:
> > export FLUFOR="gfortran"
> >
> > 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: luisgona_at_alumni.uv.es <luisgona_at_alumni.uv.es>
> > Sent: 19 February 2019 16:56:10
> > To: Horváth Dávid
> > Cc: fluka-discuss_at_fluka.org
> > Subject: Re: [fluka-discuss]: Error Running Example
> >
> > Hello David,
> >
> > Firsty, I am sorry for not keeping fluka-discuss in CC.
> >
> > On the other hand, when I type echo $FLUFOR, I get "/Users/luisgonam/.././usr/local/bin/gfortran". Moreover, when I do "$FLUFOR --version", I get "GNU Fortran (Homebrew GCC 8.2.0) 8.2.0". This is what I should get, isn't it?
> >
> > Regards,
> > Luis
> >
> > > Hi Luis,
> > >
> > > the problem seems to be with the command "export FLUFOR=gfortran"
> > > Please, make sure it is set correctly with "echo $FLUFOR", and check for possible typos.
> > >
> > > Also, please keep the Fluka discussion list in CC.
> > >
> > > 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: luisgona_at_alumni.uv.es <luisgona_at_alumni.uv.es>
> > > Sent: 19 February 2019 16:05
> > > To: Horváth Dávid
> > > Subject: Re: [fluka-discuss]: Error Running Example
> > >
> > > Dear David,
> > >
> > > I have done what you advised me. I removed all the FLUKA files and tried to do all the steps again. However when I type "make" now I find this error:
> > >
> > > No valid compiler found
> > > make: *** [flukahp] Error 1
> > >
> > > With the aim of solving this as soon as possible, I will tell you all the steps I made.
> > > 1-I remove all the FLUKA files I had
> > > 2-I reinstalled gcc "brew reinstall gcc", so now I have in "/usr/local/bin" two files called "gfortran" and "gfortran-8"
> > > 3-I downloaded and moved the "fluka2011.2x-mac-gfor64bit-8.2-AA.tar" package to a folder called FLUKA.
> > > 4-I typed the commands "export FLUFOR=gfortran" and
> > > "export FLUPRO=~/Desktop/FISICA/MASTER/TFM/FLUKA/".
> > > 5-cd $FLUPRO and "tar -xvf fluka2011.2x-mac-gfor64bit-8.2-AA.tar"
> > > 6-make
> > > And then I get this error message
> > >
> > > Best regards,
> > > Luis
> > > PD:I also tried "export GFORFLU=gfortran" and "export GFORFLU=gfortran-8" with identical result
> > >
> > > > Dear Luis,
> > > >
> > > > the error message suggest a mismatch between the version of gfortran on your system and the one used for compiling the FLUKA package.
> > > >
> > > > I tested the fluka2011.2x-mac-gfor64bitAA.tar.gz package with a fresh installation of macOS and gcc (homebrew), and it was working.
> > > >
> > > > You could try to reinstall gcc and redownload/recompile FLUKA again .
> > > > Please check that after download you get the fluka2011.2x-mac-gfor64bit-82-AA.tar in you download folder.
> > > >
> > > > 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: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of luisgona_at_alumni.uv.es <luisgona_at_alumni.uv.es>
> > > > Sent: 17 February 2019 20:10:55
> > > > To: fluka-discuss_at_fluka.org
> > > > Subject: [fluka-discuss]: Error Running Example
> > > >
> > > > Dear fluka experts/users,
> > > >
> > > > I recently installed fluka for mac and now I am trying unsuccessfully to run an example. However, I keep finding the next error:
> > > >
> > > > Fortran runtime error: Incorrect extent in VALUE argument to DATE_AND_TIME intrinsic: is 1, should be >=8
> > > >
> > > > Error termination. Backtrace:
> > > > #0 0x1355f71ac
> > > > #1 0x1355f7e45
> > > > #2 0x1355f811a
> > > > #3 0x1357d9a12
> > > > #4 0x104a6c2d9
> > > > #5 0x10478b475
> > > > #6 0x104a6e5cb
> > > >
> > > > Regards,
> > > > Luis
> > > > PD: I have read that this is related with the compiler. I have used FLUFOR=gfortran, which is the one I used to install FLUKA. Also when I type "gfortran --version" I get "GNU Fortran (GCC) 8.2.0", so I installed the following pack "fluka2011.2x-mac-gfor64bitAA.tar.gz"(In case this helps)
> > > >
> > > > Regards,
> > > >
> > > > Luis
> > > >
> > > >
> > > > __________________________________________________________________________
> > > > You can manage unsubscription from this mailing list at https://wwwflukaorg/fluka.php?id=acc_info
> > > >
> > > >
> > >
> > >
> >
> >
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Feb 19 2019 - 19:56:07 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 19 2019 - 19:56:09 CET