acts-project / acts-project/acts

`Pythia8Generator` produces different results with multi-threading

Aperta
#3,963 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Stale
Lingua principale
C++
Stelle
131
Fork
276
Merge medio
3g 13h
PR unite (30g)
112

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.