RE: [fluka-discuss]: Error compiling in flair

From: Francesca Fiorini <francesca.fiorini_at_oncology.ox.ac.uk>
Date: Wed, 8 Jul 2015 12:13:47 +0000

Thank you really much Sandipan, your suggestion fixed the problem and now I can compile in Flair too.

Best
Francesca

Francesca Fiorini, PhD
CRUK and MRC Oxford Institute for Radiation Oncology
Old Road Campus Research Building
Off Roosevelt Drive
University of Oxford
Oxford, OX3 7DQ
UK
________________________________________
From: sandipan_at_barc.gov.in [sandipan_at_barc.gov.in]
Sent: 08 July 2015 13:04
To: Roberto Versaci
Cc: Francesca Fiorini; fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]: Error compiling in flair

Dear Sir

Recently I also faced the same problem while compiling source.f in flair.
I made the following changes in the 64 bit version

I added

    FLUFOR="gfortran"

    FLUARCH="64"

right before this line:

  # echo \$FLUARCH = $FLUARCH

in the futil/ffluka.sh script.

 And now its working well.

Regards
Sandipan






> Dear Francesca,
>
> fff gets the compiler to be used at line 10, via ffluka.sh. This gets the
> compiler according to the FLUFOR variable definition. It seems that for
> some reason you FLUFOR=gfortran assignment is not working. You should
> focus your investigation on this.
>
> Your second error is most likely due to the first one. It seems that
> an object corresponding to your source is present, this is strange because
> of the previous error. Anyway, this object file has been assigned
> time=zero (Jan 1st, 1970 is the "time=zero" for unix systems), which is
> very fish.
> I guess once the first error will be fixed, the second will disappear as
> well.
>
> Cheers,
>
> Roberto
>
>
>
>
>
> On Wed, 8 Jul 2015, Francesca Fiorini wrote:
>
>> Dear Vasilis and fluka/flair users,
>>
>> I am experiencing a weird error that I've never seen before. While
>> compiling a source.f in flair I receive the following error message:
>>
>> Started 2015.07.08 10:53:26
>>>>> Compiling: /home/francesca/Programs/fluka/fluka_2011-2c/flutil/fff -b
>>>>> -N source_knoxville_final_14feb.f
>> /home/francesca/Programs/fluka/fluka_2011-2c/flutil/fff: line 121: g77:
>> command not found
>> Ended: 2015.07.08 10:53:26
>> Error compiling
>> Error: file source_knoxville_final_14feb.f time: 2015.06.03 14:32:57
>> is newer than the object 1970.01.01 01:00:00
>>
>> So there seems to be 2 errors? the first is that the program doesn't
>> find g77, which is correct because I am using gfortran which is
>> correctly defined in my .bash and in the flair config dialog (but maybe
>> this is not an error but just a proof of the fact that gfortran has been
>> used), and the second somehow regards the time of some object set on
>> January the 1th of 1970?
>>
>> Do you have any idea about what the problem could be and how to solve
>> it?
>>
>> Until a few days ago both flair and fluka worked fine, then I had the
>> same problem with the licence as other users had (even if I was using
>> the latest fluka release), so I had to re-download and re-compile fluka
>> and I did the same with flair just to be sure. Then this problem
>> appeared.
>>
>> Many thanks in advance
>> Francesca
>>
>> Francesca Fiorini, PhD
>> CRUK and MRC Oxford Institute for Radiation Oncology
>> Old Road Campus Research Building
>> Off Roosevelt Drive
>> University of Oxford
>> Oxford, OX3 7DQ
>> UK
>> __________________________________________________________________________
>> You can manage unsubscription from this mailing list at
>> https://www.fluka.org/fluka.php?id?c_info
>>
>>
>
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id¬c_info
Received on Wed Jul 08 2015 - 15:29:42 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 08 2015 - 15:29:43 CEST