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

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Sun, 19 Jun 2022 16:53:50 +0200

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 Sun Jun 19 2022 - 18:28:43 CEST

This archive was generated by hypermail 2.3.0 : Sun Jun 19 2022 - 18:29:01 CEST