acts-project / acts-project/acts
`Pythia8Generator` produces different results with multi-threading
Offen
Stale
- Vorherrschende Sprache
- C++
- Sterne
- 131
- Forks
- 276
- Ø Merge
- 3 T. 13 Std.
- Gemergte PRs (30 T.)
- 112
Beschreibung
I experimented with this a bit and it seems like as soon as we use a single `Pythia8Generator` instance twice, which happens with `nhard > 1` or `npileup > 1` with `addPythia8`, the output will be randomly different.
My best guess is that Pythia8 has some internal state and starts to cross-talk over events if one generator is called from multiple threads.
This would also mean that skipping events will not produce the same results as actually processing the events.
Until this is fixed we should stick to single threading and not skip events if reproducibility is important.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.