Re: [fluka-discuss]: New respin, Fluka2021.2.6, experimental python3 port of flair-2.3 available

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Tue, 7 Jun 2022 07:43:01 +0200

Hello
looks like there is a clash among python versions. Do you have python
pointing to python2?
(ls -l `which python`)
We'll have to protect the makefile, in the meanwhile you can try with
export PYTHON=python3
make PYTHON3=yes

If it works, then the export has to be set every time you run the py3
flair.
Paola


On 6/6/22 20:30, Carl Ross wrote:
> I have tried the Python 3 version of Flair. Flair builds OK but the
> geoviewer make fails as:
>
> geometryobject.cc:40:10: fatal error: Python.h: No such file or directory
>    40 | #include <Python.h>
>
> A portion of the compile instruction shows:
>
> -I/usr/include/tcl8.6 -I-I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7
>
> The equivalent line for python2 (which works for me) is
>
> -I/usr/include/tcl8.6 -I/usr/include/python2.7
>
> Note the double "-I" switch before the reference to python2.7.
>
> Is this a mistake? I don't know my way around the make file well
> enough to fix it.
>
> Thanks,
>
> Carl
>
>
>
>
>
>
>
>
> On Sun, Jun 5, 2022 at 11:16 AM <alfredo.ferrari_at_mi.infn.it> wrote:
>
> ear FLUKA users
>
> Fluka-2021.2.6, a respin of Fluka-2021.2, is now available on the
> Fluka web site (www.fluka.org <http://www.fluka.org>).
>
> An experimental port of flair-2.3 to python3 is also available,
> together
> with the already available python2 version. The python3 compatible
> files
> are called flair...2.3-0bpy3..., see
> www.fluka.org/flair/download.html
> <http://www.fluka.org/flair/download.html>,
> let us know if there are (likely) problems.
>
> The Fluka respin addresses a few issues, among them:
>
> - an issue with scoring K0/K0bar/Kshort/Klong: the USRYIELD estimator
>   when used on a boundary crossing was assuming a 50%-50% split
> into Kshort
>   and Klong which is correct at production (the other use of USRYIELD)
>   but not at boundary crossing. Now the proper mix between Kshort and
>   Klong is used. For the other estimators, USRBDX, USRTRACK, USRBIN,
>   the Kshort, Klong, K0, and K0bar had to be scored separately
> (they kept
>   for scoring their production identity), thus, for example, in
> order to
>   esitmate Kshort one had to add the proper fraction of K0/K0bar,
>   accessing the internal variables giving the Kshort fraction.
>   Now life has been made easier for these estimators as well,
> doing the
>   proper summing internally (thanks to Anna Ferrari for pointing
> out this);
>
> - a rare issue in (anti)hyperon quasielastic scattering (an array
>   out of bound could have occurred);
>
> - an issue with electron-nuclear reactions on heavy nuclei;
>
> - an incorrect exprapolation for the hadron-nucleus elastic cross
> sections at
>   extremely high energies;
>
> - a very rare crash in Dpmjet-3;
>
> - a typo in the pre-computed compounds;
>
> - a general strengthening of many routines with respect to
> rounding issues
>   when run at very high energies;
>
> - a general cleanup and rationalization of several routines/commons;
>
> - the AUXSCORE description on the manual was out-of-sync with the
> current
>   status of the option.
>
>
> All users are urged to update to the latest respin.
>
>      The FLUKA developers
>
> The external data files did not change, see below.
>
> The following Fluka files are available, *PLEASE NOTE
> fluka2021.2-data.tar.gz
> DID NOT CHANGE, HENCE YOU DO NOT NEED TO DOWNLOAD IT AGAIN*
>
>   Rpm's:
>
>     fluka-2021.2-6.x86_64.rpm                  (Linux,
> gfortran-11.3, 64 bit)
>     fluka-2021.2-6.i686.rpm                    (Linux, g77, 32 and
> 64 bit)
>
>   Tar files:
>
>     fluka2021.2-data.tar.gz                    (Data, required by
> all other
>                                                 tar files,
> UNCHANGED wrt
> fluka2021.2.4/5)
>     fluka2021.2-linux-gfor64bitAA.tar.gz       (Linux,
> gfortran-11.3, 64 bit)
>     fluka2021.2-linux-gfor64bit-10.3-AA.tar.gz (Linux,
> gfortran-10.3, 64 bit)
>     fluka2021.2-linux-gfor64bit-9.4-AA.tar.gz  (Linux,
> gfortran-9.4,  64 bit)
>     fluka2021.2-linux-gfor64bit-8.5-AA.tar.gz  (Linux,
> gfortran-8.5,  64 bit)
>     fluka2021.2-linuxAA.tar.gz                 (Linux, g77, 32 and
> 64 bit)
>     fluka2021.2-mac-gfor64bit-10.3-AA.tar.gz   (Mac  ,
> gfortran-10.2, 64 bit)
>     fluka2021.2-mac-gfor64bit-9.4-AA.tar.gz    (Mac  ,
> gfortran-9.4,  64 bit)
>     fluka2021.2-mac-gfor64bit-8.5-AA.tar.gz    (Mac  ,
> gfortran-8.5,  64 bit)
>     fluka2021.2-linux-gfor64bit-9.4-glibc2.17-AA.tar.gz
>                                                (Linux, gfortran-9.4,
>                                                 glibc-2.17, 64 bit)
>
> The gfortran-8 version for MAC is no longer provided, since we suppose
> everybody has moved at least to gfortran-9. If this is a problem
> please let
> us know and we'll try to provide a gfortran-8 version for Mac as well
>
>
>
> __________________________________________________________________________
> 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=acc_info
Received on Tue Jun 07 2022 - 09:08:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 07 2022 - 09:08:15 CEST