acts-project / acts-project/acts

`Pythia8Generator` produces different results with multi-threading

未关闭
#3,963 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。