Re: [fluka-discuss]: python3 version of flair AND update of flair-py3

From: Mikhail Polkovnikov <pmk_at_ihep.ru>
Date: Mon, 20 Jun 2022 11:53:03 +0300

Dear Paola,

I've fixed my issues. The inconsistency was because of symlinks. When i
set up a direct name of the FLUKA directory, the user routines compiled
and ran successfully.

echo $FLUPRO
/usr/local/fluka2021.2


Thank you.


On 19.06.2022 17:53, Paola Sala wrote:
> Dear Mikhail, dear Carl
> thank you both for testing!
> Mikhail, you are  right, the flair file should call python3.
> For Carl: this might be the cause of your problem, could you please
> try to substitute the "flair" file as sent by Mikhail? ( I attach here
> again)
> For Mikhail and the the compilation: From your log, it looks more like
> an installation problem, not a flair one. Flair correctly calls the
> linking script, which apparently cannot find the fluka library
> (libfukahp.a)
> In the log, the line
> ar x fluka.o
> should be instead
> ar x /usr/local/fluka/libflukahp.a fluka.o
>
> Could you please check that the fluka library exists in  $FLUPRO?, and
> that $FLUPRO points to the correct path?
> I see an inconsistency: in your log, the gfortran compiler is called.
> However, the gfortran rpm version of fluka is installed in
> /usr/local/flukagfor,
> while it seems that your $FLUPRO variable points to /usr/local/fluka
> Regards
> Paola
>
>
> On 6/17/22 13:01, Mikhail Polkovnikov wrote:
>> Dear developers,
>>
>>
>> I have issues with the flair and python3.
>>
>> 1) In the flair file it may be better to use python3 explicitly,
>> instead of just python (by default python in the linux distribution
>> that i'm using is the python2).
>>
>> 2) I can't compile and link user routines from flair:
>>
>> Part of the log from flair:
>>
>> Started 2022.06.17 13:55:05
>>
>> >>> Linking: /usr/local/fluka/flutil/ldpmqmd -o fluka_mod -m fluka
>> $FLUPRO = /usr/local/fluka
>>  now linking
>> /usr/local/fluka
>> gfortran
>> tmpo/dpmjex.o
>> tmpo/evdini.o
>> tmpo/eventd.o
>> tmpo/eveout.o
>> tmpo/eveqmd.o
>> tmpo/evqmdi.o
>> tmpo/idd2f.o
>> tmpo/idf2d.o
>> tmpo/rqm2pr.o
>> tmpo/rqmdex.o
>> tmpo/zrdpcm.o
>> tmpo/zrrqcm.o
>> ar x fluka.o
>> ar: fluka.o: No such file or directory
>>
>> ....
>>
>> And in the end it can't link an absent "fluka.o" file.
>>
>>
>> Best regards,
>>
>> Mikhail
>>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Jun 20 2022 - 12:11:07 CEST

This archive was generated by hypermail 2.3.0 : Mon Jun 20 2022 - 12:27:10 CEST