acts-project / acts-project/acts
`Pythia8Generator` produces different results with multi-threading
未关闭
Stale
- 主要语言
- C++
- 星标
- 131
- 派生
- 276
- 平均合并
- 3 天 13 小时
- 30 天内合并 PR
- 112
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。