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

From: Andrea Salomone <andrea.salomone_at_mail.polimi.it>
Date: Sun, 19 Jun 2022 16:57:51 +0000

Hi all

I really don’t know why I’m receiving this emails, I just downloaded Fluka one year ago for my university studies and since then I’m receiving emails from you all.
please remove me from your Cc

Thx

Andrea

Da: Paola Sala<mailto:paola.sala_at_mi.infn.it>
Inviato: Sunday, June 19, 2022 18:13
A: Mikhail Polkovnikov<mailto:pmk_at_ihep.ru>; fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>; Carl Ross<mailto:carlkross_at_gmail.com>
Oggetto: Re: [fluka-discuss]: python3 version of flair AND update of flair-py3

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 - 20:14:42 CEST

This archive was generated by hypermail 2.3.0 : Sun Jun 19 2022 - 20:14:44 CEST