# Different results from same input on 2 computers

**URL:** <https://fluka-forum.web.cern.ch/t/different-results-from-same-input-on-2-computers/2733>\
**Category:** Scoring\
**Created:** [2 February 2022 14:18 UTC](https://fluka-forum.web.cern.ch/t/different-results-from-same-input-on-2-computers/2733 "2022-02-02T14:18:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Missaglia](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@Andrea\_Missaglia](https://fluka-forum.web.cern.ch/u/Andrea_Missaglia)\
**Post date:** [2 February 2022 14:18 UTC](https://fluka-forum.web.cern.ch/t/different-results-from-same-input-on-2-computers/2733/1 "2022-02-02T14:18:24Z")

</div>

Dear FLUKA experts,  
I ran the same simulation (same input and flair files) on 2 different PCs: proton irradiation of a TISSUEIC target, sorrounded by a LYSO detector, so that the chosen scoring card is DETECT.  
The results are the following:

 ![Schermata 2022-02-02 alle 15.01.47](https://fluka-forum.web.cern.ch/uploads/default/original/2X/0/076d931eb492629901dc451cf8a01fc57100e5a8.png)

Unfortunately, the 2 spectra are quite different, with an average relative error between the 2 results of 20%. The error was computed through MATLAB as:

![Schermata 2022-02-02 alle 15.15.28](https://fluka-forum.web.cern.ch/uploads/default/original/2X/f/fcea672a16dba6bb81a0b3a5ddb78d1017b5b948.png)

where counts\_PC\_i with i=1,2 is the third column of the DETECT output.

I wonder if it is just a matter of FLUKA version, which is different for the 2 computers, as one can see below:

1. PC 1  
 ![Version PC 1](https://fluka-forum.web.cern.ch/uploads/default/original/2X/3/302c6737316e003ab6fe0085426f561bb865f5fa.png)

2. PC 2  
 ![Version PC 2](https://fluka-forum.web.cern.ch/uploads/default/original/2X/6/693bf2f4368285ebecd1deef84059e1eb0ac7e36.png)

Anyway, if it is not the case, what could the be the source of this discrepancy?

Thanks in advance and have a nice day,  
Andrea

Input and flair files of the simulation:

- Input:  
[prova\_simple\_f.inp](https://fluka-forum.web.cern.ch/uploads/short-url/sKB7srXyaFseH0YRPobx8SqX7Zj.inp) (1.7 KB)
- Flair:  
[prova\_simple\_f.flair](https://fluka-forum.web.cern.ch/uploads/short-url/fGt02BltLmOwlbvB42SqbV3ND6P.flair) (2.6 KB)

---

<div class="post-metadata">

**Author:** ![cesc](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/c/5f8ce5/32.png) [@cesc](https://fluka-forum.web.cern.ch/u/cesc)\
**Post date:** [9 February 2022 18:42 UTC](https://fluka-forum.web.cern.ch/t/different-results-from-same-input-on-2-computers/2733/3 "2022-02-09T18:42:49Z")

</div>

Dear Andrea,

Thanks for reporting this unexpected behavior.

We have looked in detail at the issue and indeed spotted a spurious setting in the pre-equilibrium stage of FLUKA’s nuclear inelastic interaction model. In your particular case, this produced a visible effect in the DETECT spectrum due to a moderate increase in the natO(p,g) yield with respect to version 4-1.1.

The fix for this bug will be shipped with an upcoming minor release (4-2.2). Note that with the latter you will get closer to the 4-1.1 result, but not exactly overlapping, due to an additional model refinement that will be indicated in the RELEASE-NOTES.

With kind regards,

Cesc

PS: in your problem (150 MeV p on water) it may make sense to pass a PHYSICS card with SDUM=COALESCE.

---

<div class="post-metadata">

**Author:** ![rversaci](https://fluka-forum.web.cern.ch/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rversaci](https://fluka-forum.web.cern.ch/u/rversaci)\
**Post date:** [14 March 2022 07:12 UTC](https://fluka-forum.web.cern.ch/t/different-results-from-same-input-on-2-computers/2733/4 "2022-03-14T07:12:37Z")

</div>

Closed on 14 March 2022 07:12 UTC


