From 94ae506310982400b4c8b0739a3fa6cec89c9527 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Mon, 9 Dec 2024 14:20:57 +0100 Subject: [PATCH] fix: Workaround Pythia8 race condition in ttbar physmon (#3965) Until https://github.com/acts-project/acts/issues/3963 is fixed we have to stick to single threaded processing with ttbar ## Summary by CodeRabbit - **Bug Fixes** - Adjusted threading configuration to single-threaded execution to enhance stability and prevent race conditions during simulations. --- CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py b/CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py index de4021a5055..d26e5e78873 100755 --- a/CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py +++ b/CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py @@ -35,9 +35,10 @@ with tempfile.TemporaryDirectory() as temp: + # Running with a single thread to avoid rance conditions with Pythia8, see https://github.com/acts-project/acts/issues/3963 s = acts.examples.Sequencer( events=3, - numThreads=-1, + numThreads=1, # run with single thread logLevel=acts.logging.INFO, )