Versions
Please provide the used software versions.
FLUKA: 4-5.2
Flair: 3.4-5.4
Operating system: Fedora 44
Compiler: GNU Fortran 16.1.1
Description
Please describe the issue. In case of reporting a bug, please provide step-by-step instructions for reproducing the error.
I am working on setting up a new computer for work, and as part of my testing process for installing FLUKA I usually compare results of a test case (attached, fgbasic.inp). Normally, I get agreement of the results (an energy deposition scoring) and the RNG seed advances the same way. It is my understanding (and in my experience) that if it is the same FLUKA version and neutron libraries, the same input file should advance the RNG the exact same way (and produce an identical result). I have compared this with WSL ubuntu installations and FLUKA compiled in AlmaLinux on a cluster and saw that they agreed exactly, so let me know if I am mistaken about this, but it seems consistent across OSes and machines, until now.
Anyways, the issue is that on my new installation (Fedora 44) I get different results and a different RNG seed advancement for my usual test case. When I compare with a known good FLUKA 4-5.2 install, I see that the RNG seeds are identical up until about the 50th history in the first cycle, but then they suddenly differ, and I don’t know why. The only anomaly I saw in my installation with the RPM file was that I had to ignore that there is no digest / verification for the FLUKA rpm files to actually do the installation.
Furthermore, on this same computer, I previously was testing out Arch Linux and installed FLUKA, and saw the same RNG advancement as I currently have. So between Arch and Fedora on this new machine, it is consistent and reproducible on the same actual machine.
So, my question is: is this actually pathological behavior? And if so, how to remedy it? Or am I mistaken about the determinism of this test case? Any help is greatly appreciated.
Input files
Please upload all relevant files. (FLUKA input file, Flair project file, user routines, and data files)
The command issued to do this test case across all devices was:
rfluka -M 5 fgbasic.inp
And the RNG seed advancement I got for the new / questionable machine, reported in cycle 1’s .err file is, around the 50th primary:
NEXT SEEDS: 778DCD6 0 0 0 0 0 181CD 3039 0 0
48 52 52 2.7100646E-01 1.0000000E+30 568
NEXT SEEDS: 79A6B76 0 0 0 0 0 181CD 3039 0 0
50 50 50 3.2422988E-01 1.0000000E+30 617
NEXT SEEDS: 95DDD46 0 0 0 0 0 181CD 3039 0 0
51 49 49 3.3504193E-01 1.0000000E+30 633
NEXT SEEDS: 9BB5BDF 0 0 0 0 0 181CD 3039 0 0
Whereas the expected seed advancement for my previous installs is:
NEXT SEEDS: 778DCD6 0 0 0 0 0 181CD 3039
48 52 52 1.9633746E-0
NEXT SEEDS: 79A6B76 0 0 0 0 0 181CD 3039
50 50 50 2.2796804E-0
NEXT SEEDS: 945410A 0 0 0 0 0 181CD 3039
51 49 49 2.2858111E-0
NEXT SEEDS: 97BE91F 0 0 0 0 0 181CD 3039
fgbasic.inp (1.1 KB)