acts-project / acts-project/acts
`Pythia8Generator` produces different results with multi-threading
Abierto
Stale
- Lenguaje dominante
- C++
- Estrellas
- 131
- Forks
- 276
- Merge medio
- 3 d 13 h
- PR fusionados (30 d)
- 112
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.